Dear All,
How do I send file on serial port?
Thanks in advance
Michele
If you want to send a file from your computer to your microcontroller, use for example the HyperTerminal....then select transfer-->send text file This will send the file character by character. You can send any file, I use this to send my *.hex file when using a bootloader.
In the configuration menu, inside ANSI options you can set the delay between characters and between new line. (Usefull when you send a big file and the buffer in the microcontroller is small)
The OP didn't say which direction the "file" was to be sent!
I guess there must be at least a 50% chance that he wanted to send it from the PC to the microcontroller...
In that case, it'd be easier to just do:
COPY file COM1:
"You can send any file"
It would not be a good idea to send anything other than a text file this way...