I’ve hooked up the AK-SDFS-UART to a Z80 based system via a 16550 UART. It mostly works, but I get regular errors - maybe 1 in 5 requests. In most cases I can handle this by resending the request. It will succeed after a retry (or 2).
However, trying to get a directory listing is proving to be problematic. I can get the first few results passed back, then I get an error. The only response I think I have is to retry the whole request - ie, reset the directory request, then loop requests for each entry. However, with directories containing more than 10 (ish) items, I rarely get a successful completion.
Is there any command that just asks the AK-SDFS-UART to resend the last message?
I imagine this could be useful for file reading too. Assuming I’m reading a large file, and a chunk fails, the recovery from that seems to be a seek command and retry the read.
(I’ve implemented a similar system for a USB Serial connection, and a ‘RESEND’ command has been really useful)