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

Most upvoted comments

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.