This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129EXL launchpad sending files over ethenet.

Hi, I am trying to design a IOT board which can update the firmware of another circuit board with SPI, right now I could send chars over SPI from a launchpad to another launchpad, I could send Ethernet socket char data over the ethernet from a launchpad to the computer using socket programming.

so I am trying to start to next step which sending files instead of char, I check online, this would related to some data flow control, file system, and other RTOS knowledge, which is really blur for me.

So can anyone give me more clue about what should I do next?

Shan

  • Hi Shan,

    I'm not sure I fully understand your use case, but if you use TI-RTOS in your application it offers examples to use a filesystem(FATFS) in addition to SPI and Ethernet examples. Also located in the installation is documentation about these drivers in addition to the kernel itself. This wiki page can get you started.

    processors.wiki.ti.com/.../TI-RTOS

    Best.
    Alexander
  • Hi, Alex, I draw a flow chart here. Right now, I have successfully done this, sending data from launchpad 1 to launchpad 2 via ethernet and send the data back to launchpad 1 via SPI.  next step I am trying to send a ROM file instead of pure char, it will related to file system and how to control the transmission and ensure the rom file is valid after the data was sent, I need some example of how to use file system and how to check the data using CRC? how to control the data flow so that the file is sent piece by piece.

    Thanks

    Shan

  • Hi Shan,

    So after talking with some of the people who have worked with Ethernet on this device, it seems that we don't currently support a FATFS filesystem layer that supports Ethernet like we do for example with SPI. (SDSPI Driver)

    Best,
    Alexander