Ethernet Communication using TFTP protocol

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet Communication using TFTP protocol

753 Views
utsavikalpesh
Contributor V

Hi,

I am working on CodeWarrior v10.2 and MQX v4.0

In my project I need to send the file say Data.txt from Pc to module(TWR-K60D100M) using TFTP protocol via Ethernet Communication.

Also module will send this file to Pc whenever Pc need it.

I have tried Ethernet Communication using HTTP protocol,but not send the whole file yet using TFTP.

Can anybody tell me How can I do Ethernet Communication to send/receive file using TFTP???

0 Kudos
Reply
1 Reply

569 Views
soledad
NXP Employee
NXP Employee

Hi Utsavi Kalpesh Bharuchwala,

Did you consider using FTP protocol (FTP server) ? There exists already example for this in MQX 4.0:

c:\Freescale\Freescale_MQX_4_0\rtcs\examples\shell\

the demo uses ramdisk at a: as the root directory. You can open an MFS device on SD card driver according to mfs sdcard demo. "ftpd start" command on shell starts the FTP server in the demo.


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------