MQX FTP server lockup

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX FTP server lockup

ソリューションへジャンプ
3,216件の閲覧回数
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,415件の閲覧回数
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,414件の閲覧回数
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,415件の閲覧回数
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,415件の閲覧回数
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,416件の閲覧回数
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,415件の閲覧回数
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 件の賞賛
返信