I managed to get the SAM4e xplained pro demo working with some mods.
Mostly works ok, server works fine, no issue here.
When I try to read a large file, approx 397k from SD card, it hangs in the hsmic_wait_end_of_read_blocks() function. Files up to 250k seem to be ok.
Looks like it’s getting a timeout, overrun is set and the txdone bit is never getting set.
I tried bumping up the timeout bits by 1 but it had no effect.
Any idea what could be causing this or how I can debug it? Not out of memory so that does not appear to be the issue.