TFTP and RS232 Communications
-
Hey all, I am trying to research the feasability of putting together a TFTP file upload for reprogramming an embedded system. I am writing the PC side. I realize that TFTP is a protocol and I am going to read the RFC tonight, however I was wondering if anyone has seen an article or source code that shows examples of something like this. It needs to be supported over RS232 and IP, which should be possible. The biggest hurdle, I think is that my employer wants instant turn around to get the product out the door. So yes I am looking for examples to reduce turn around, if possible. Thanks, Brian aka SanShou
-
Hey all, I am trying to research the feasability of putting together a TFTP file upload for reprogramming an embedded system. I am writing the PC side. I realize that TFTP is a protocol and I am going to read the RFC tonight, however I was wondering if anyone has seen an article or source code that shows examples of something like this. It needs to be supported over RS232 and IP, which should be possible. The biggest hurdle, I think is that my employer wants instant turn around to get the product out the door. So yes I am looking for examples to reduce turn around, if possible. Thanks, Brian aka SanShou
TFTP servers are pretty easy to write - we've used them for downloading software to embedded systems a few times, usually over a proper TCP/IP stack. To use TFTP over RS232, you're going to have to provide an interface to the RS232 link that effectively emulates what the TCP layer would provide (I think) - no biggy, dial-up modem does that. As to existing software, try looking on a Linux distro - there may be TFTP software on that, with source? Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'