the link i gave was actually to the original author that started things before me, ive just picked up things with zero documentation and then had to make sense of it all!I'll keep wresting with it! Thanks again (and I can appreciate the frustration of your code comments
https://github.com/librerpi/lk-overlay/ ... #L206-L222
this is where ive copied everything, and ive also added my own attempts to run at 50mhz 4bit mode, but i forget how effective it was
ive also been confused as to why only the open firmware has to do thatSince my driver is based on the linux source code, I'm trying to figure out how they deal with this as I don't immediately see any logic to purge the FIFO before or after the call to bcm2835_sdhost_read_block_pio()
and this hint might help, i need to log what the previous command was, and if it ate data or not, and what junk is left in the buffer!but not the response to my second call to CMD6 to set high speed. So the second response was still sitting in the FIFO!
Statistics: Posted by cleverca22 — Fri Oct 11, 2024 3:41 am