I need to transfer 10k of data from PC to XMega. I cannot send all of the data as one packet, as I have run out of ram.
The data is a structure, with sub structures. I am now going to send each sub structure as a data packet. Each packet will be a different size.
Looking for ideas how to do this. I was thinking of a start charachter followed by 16 bit packet size and 32bit checksum on the end. Then read the 2nd and 3rd byte to know where is the end of the packet. Is there a better way ?