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.
Serial selects a serial connection. These options are not available in the file transfer tools PSCP and PSFTP (which only work with the SSH protocol). These options are equivalent to the protocol selection buttons in the Session panel of the PuTTY configuration box (see.
A.2.10 Will you write an SSH server for the PuTTY suite, to go with the client? A.2.11 Can PSCP or PSFTP transfer files in ASCII mode? A.3 Ports to other operating systems. A.3.1 What ports of PuTTY exist? A.3.2 Is there a port to Unix? A.3.3 What's the point of the Unix port? Unix has OpenSSH. Using PSCP to transfer files securely. PSFTP does not in general work with SSH- 1 servers, however. This means that you cannot just double- click on its icon to run it and instead you have to bring up a console window. Putty is an application designed to control remotely one or multiple servers.
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. PuTTY works well as a general terminal emulator but for work with embedded systems I prefer 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: 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 and it works.
Is a fork of PuTTY that adds XMODEM and a few other file transfer protocols.
Xmodem - xmodem1K integration With connection types • Ssh • Raw • Rlogin • Telnet • Serial From --Send File -- Launch rx binary lua_senddata('rx -X u-boot.bin',true); -- Upload file lua_xmodem_snd('D: 00_Share u-boot.bin'); -- or with xmodem 1K lua_xmodem1K_snd('D: 00_Share u-boot.bin'); --------------------- --Receive File -- Launch sb binary lua_senddata('sb -x u-boot.bin',true); -- Download file in folder 'D: 00_Share ' lua_xmodem_rcv('D: 00_Share '); --or -- Download file in putty folder lua_xmodem_rcv(nil); From putty menu.