MQX FTP server lockup

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

MQX FTP server lockup

跳至解决方案
3,207 次查看
jlevie
Contributor I

Hi,

I have a design using a K60f120 and MQX 4.02 with an FTP server using an MFS mounted SD card as the ftp root directory.

There are two things I have found that cause the ftp server to hang when an ftp 'LIST' command is sent by a client.

#1. Whenever a PASSIVE mode transfer is attempted.

#2. When ever there is not a valid gateway on the network (IE, when the IP address that the gateway is pointed at is not present on the network).

For example, if I am on network 10.0.0.x, with a gateway at 10.0.0.1, client at 10.0.0.200 and the MQX app at 10.0.0.100, everything works fine as long as passive mode is off. Files can be transferred at reasonable rates, all is good. If the gateway machine at 10.0.0.1 is removed from the network, the client can establish a connection with the MQX FTP server and login, but as soon as a LIST command is sent to get a file listing, the server locks up. The unit must be reset to recover.

Has anyone seen this type of behavior?

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
2,406 次查看
DavidS
NXP Employee
NXP Employee

Hi Jeff,

Can you try using MQX4.1 with TWR-K60F120M?

I have tested on this latest MQX version and all is working well.

I'm using FileZilla FTP Client (  FileZilla - The free FTP solution ).

I have attached my modified web_hvac demo.

The SD Card is "a:" in the terminal window.  The USB Stick (should you plug it in) is "c:".

I setup the ftp to connect to the SD Card.

Note the FTP uses username: developer  and passwd: freescale .

Regards,

David

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,405 次查看
DavidS
NXP Employee
NXP Employee

Hi Jeff,

No magic in user_config.h that I can see.

I have attached it anyways.

Regards,

David

0 项奖励
回复
2,406 次查看
abrahamvaldiose
Contributor I

Hi David:

I downloaded your modified web_hvac demo and I made some minimal changes to fit it in a FRDM-K64... IT WORKS GREAT!!! However, when I´m transferring files I have realized that upload speed is considerably higher than download speed.

Do you have any idea what could be the reason???

Thanks for your help

Abraham

0 项奖励
回复
2,406 次查看
jlevie
Contributor I

David,

MQX 4.1 resolves the issues I was seeing. Transfer rates are much higher as well.

Thanks for your help,

Jeff

0 项奖励
回复
2,407 次查看
DavidS
NXP Employee
NXP Employee

Hi Jeff,

Can you try using MQX4.1 with TWR-K60F120M?

I have tested on this latest MQX version and all is working well.

I'm using FileZilla FTP Client (  FileZilla - The free FTP solution ).

I have attached my modified web_hvac demo.

The SD Card is "a:" in the terminal window.  The USB Stick (should you plug it in) is "c:".

I setup the ftp to connect to the SD Card.

Note the FTP uses username: developer  and passwd: freescale .

Regards,

David

0 项奖励
回复
2,406 次查看
jlevie
Contributor I

David,

Thank you for that information. I am in the process of building your project here and will let you know how it, and my end project work under MQX 4.1.

Did you make any changes to the default user_config.h in the K60F120 BSP that I would need to know about?

Regards,

Jeff Levie

0 项奖励
回复