Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. TFTP and RS232 Communications

TFTP and RS232 Communications

Scheduled Pinned Locked Moved C / C++ / MFC
hardware
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SanShou
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • S 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

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      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'

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups