Ethernet Communication using TFTP protocol

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Ethernet Communication using TFTP protocol

749 次查看
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 项奖励
回复
1 回复

565 次查看
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!
-----------------------------------------------------------------------------------------------------------------------