I'm trying to implement a way for my device to "self program" in the field. I want to download the new binary image onto the SD card, increment the version in EEPROM and issue a reset command. The boot loader will see the new version, and program the flash. It's close to working (if I put the image on the sd card manually)- but my download is having some issues.
Has anyone been able to implement hardware flow control for the uarts. I'm receiving large amounts of data and need some way to tell the sender (rn-171) to hold on a bit while I write the data to the sd drive.
option 2 - can writing with spi be done in DMA? I get the buffer overflows while I'm writing to an SD card. it is possible to offload this activity onto either the event system or dma?