Electronic – Can Putty be used to send serial data from the PC to the PIC? How

picserial

I am looking for a simple program that can send data down the serial to the PIC. I have used Putty with USB-UART converter on my laptop. I have made the PIC->PC communiation work which is frankly a trivial task.

The question is, how to do the opposite. I can't find any option in Putty to send data down the serial port. What alternative do I have? Is the only option to use custom application written in C++/C#? It is better that I be able to implement flow control (of any kind) so the PC could be told to pause sending the data.

Best Answer

PuTTY works well as a general terminal emulator but for work with embedded systems I prefer Realterm which has a lot of support for working with binary / hex. When sending a file you get the option to set a delay between each character, each line and can send the same file multiple times with a delay between each time:

Realterm send

So using that you could either add delays or implement flow control (which is set on a different tab). Another alternative to using flow control is to implement one of the fairly ancient protocols like XMODEM which are fairly simple and don't consume a lot of code space, if you have a little over 1k of RAM available then I've used this code and it works. ExtraPuTTY is a fork of PuTTY that adds XMODEM and a few other file transfer protocols.