This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SEND TEXT file with serial port

Dear All,

How do I send file on serial port?

Thanks in advance

Michele

Parents
  • 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)

Reply
  • 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)

Children
  • 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...