A custom microcontroller-based system built around the ATMega64 processor connects with a smart device via the serial port.
We want to periodically download binary files from the smart device and save them in the system's memory.
The protocol used for download is ZModem.
The system's memory is flash on-board chip, but should be extended to SD-flash.
Before initializing the download, several text-based commands must be sent to the smart device.
- implementation of the ZModem protocol in ANSI C (binary code compatible with ATMega64)
- implementation of the file system handling on the flash memory
- fifo operations on the file system
- serial communication with external devices