Cgi server: not work when cable is direct

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

Cgi server: not work when cable is direct

Jump to solution
1,525 Views
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 Kudos
Reply
1 Solution
1,290 Views
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... :-(


View solution in original post

4 Replies
1,291 Views
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,290 Views
arnogir
Senior Contributor II

Hello

Anybody has an idea?:smileycry:

0 Kudos
Reply
1,290 Views
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 Kudos
Reply
1,290 Views
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 Kudos
Reply