What is the best protocol to use to send a file thru RS232. It is gonna be a 256Kbyte of data.
It depends on what you want from this protocol. If you don't need error detection or stuff like that, you could just send the whole file byte-by-byte in one big chunk of raw binary data.
Just one big chunk of binary file...do I use the Z-modem protocol or is there a better one? Also, how would I set it up in my C-code for the 8051? Is it just the same as reading from RS232 thru hyperterminal?
Are you talking about uC to uC, PC to uC, modem or what ? Erik
PC to uC...thru RS232
"raw binary data" be careful that your PC is set up to allow raw binary data - ie, no software flow control, etc! This is the very reason that Intel Hex format was developed (and other similar schemes like the Motorola S-Records, and UU-Encode)