rpi_ws281x: RPi0W: SD card errors while running around 40 LEDs
Rrunning the test sudo ./test -c produces SD card errors in dmesg:
[33490.769029] mmcblk0: error -110 transferring data, sector 137216, nr 16, cmd response 0x900, card status 0xc00
More verbose log here: https://pastebin.com/AZUijQmW
This error will pop up every few minutes if I leave the test running just by itself. With my other processes running (full project: https://github.com/pinheadmz/ClockJr) these errors pop up as frequently as every few seconds.
My project displays the “rainbow wheel” effect for a few seconds then stops and goes blank. A few seconds later I will see this mmcblk0 error in dmesg.
I’ve been through FOUR SD CARDS, all different brands. It’s not the card.
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 18 (13 by maintainers)
Commits related to this issue
- LEDs: Use channel 10 for DMA Switch to use DMA channel 10 for LED control as per issue https://github.com/jgarff/rpi_ws281x/issues/224. — committed to KanoComputing/kano-peripherals by tombettany 6 years ago
- LEDs: Use channel 10 for DMA Switch to use DMA channel 10 for LED control as per issue https://github.com/jgarff/rpi_ws281x/issues/224. — committed to KanoComputing/kano-peripherals by tombettany 6 years ago
- Changed to DMA Channel 10 from Channel 5 due to warning that Channel 5 might corrupt the OS! https://github.com/jgarff/rpi_ws281x/issues/224 — committed to Richard-Kirby/water-softener-minder by Richard-Kirby 3 years ago
Change the dma channel to 10.
The default dma channel 5 now clashes with recent OS versions
phew, so glad I found this thread. was battling to fix this for hours!
yeah, some versions use it, some don’t; it’s pretty much all undocumented, right? The defaults are just kinda shots in the dark so there’s no real point in warning at all; it’s kinda expected to read the readme and stuff.