Cgi server: not work when cable is direct

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

Cgi server: not work when cable is direct

ソリューションへジャンプ
1,866件の閲覧回数
arnogir
Senior Contributor II

Hello,

I have a question about a problem discovered on one of our product designed since some year.

It is a based on a K60 with MQX 3.8. It intergrate a Cgi server.

When we make request from a computer linked to the board via a switch, all work correctly.

Now if I link directly (with a direct or crossed cable) the board to the computer, some data are displayed, but not all. We can't do anything on the page. javascript:void(0) is displayed at the bottom of the screen.

We try with IE, firefoxe.. this is the same.

Which could be the reason where cgi server work via a switch and do not on direct link?

0 件の賞賛
返信
1 解決策
1,631件の閲覧回数
arnogir
Senior Contributor II

Hello

I found why I had a problem.

In fact, the problem come when the network was not linked to Internet!

Because people who developed this web server, use external java script:

http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js

I try to import this script and include it in the project, but this script take 273Ko and I have only 118Ko available...

I'm not an expert in java script, I think this is possible to reduce the script to only have the used part, but it is not easy for me to remove some part of this script... :-(


元の投稿で解決策を見る

4 返答(返信)
1,632件の閲覧回数
arnogir
Senior Contributor II

Hello

I found why I had a problem.

In fact, the problem come when the network was not linked to Internet!

Because people who developed this web server, use external java script:

http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js

I try to import this script and include it in the project, but this script take 273Ko and I have only 118Ko available...

I'm not an expert in java script, I think this is possible to reduce the script to only have the used part, but it is not easy for me to remove some part of this script... :-(


1,631件の閲覧回数
arnogir
Senior Contributor II

Hello

Anybody has an idea?:smileycry:

0 件の賞賛
返信
1,631件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Arnaud Girard

I would suggest you check the negotiated speed. I guess it is 10M when you direct connect to PC, and 100M via a switch. Or try another cable.

Regards

Daniel

0 件の賞賛
返信
1,631件の閲覧回数
arnogir
Senior Contributor II

after check, my computer is connected to the switch at 100Mbps.

when I have a direct cable to the board, the computer speed network is at 10Mbps.

I try with many cable with the same result.

0 件の賞賛
返信