AnsweredAssumed Answered

Webserver in MQX4.1.0.1 is not linked - MCF52255

Question asked by Mirko Fortunato on Aug 17, 2014
Latest reply on Aug 20, 2014 by Carlos_Musich

Good morning,

I use MQX4.1 and CW10.4, the microcontroller is MCF52255. I want to port my project from library MQX3.8.1 to library MQX4.1 (patched 1) because the webserver didn't work properly and the technical support suggested to me to do this migration.

I don't use external RAM, it is not present in my project.

I started from the example "web_hvac" where I added my source files and an home page which displayed only "Hello world!!!".

After compiling in debug version, and programmed the microcontroller I connected my board directly to the PC and then I connected my board and the PC through a router: the results are the same.

The setting of the board is:IP=192.168.1.236 - mask=255.255.0.0 - gateway=192.168.1.252.

The setting of the PC is: IP=192.168.1.100 - mask=255.255.0.0 - gateway=192.168.1.252.

I disabled the DHCP.

I tried to communicate by Ethernet but:

- the "ping" command from DOS shell of the PC failed

- the webserver of MCF52255 didn't work, I tried with Mozilla Firefox and with Google Chrome but I didn't get any connection

- the connection by Ethernet didn't work, I have a supervision software which works by Ethernet connection

The initialization of RTCS task is OK, I hadn't any error in the task (viewed by "Task summery" and also by the debugger step by step).

In conclusion the webserver is not working!!!Running the tasks but I can't get any connection. There is no connection by Ethernet.

With the old version, and in the same condition, I got web connection.

You can find attached the source files, configuration files.

 

Can you say me, which is the error?

Thank you

Best Regards

Mirko Fortunato

Original Attachment has been moved to: RTCS.c.zip

Original Attachment has been moved to: user_config.h.zip

Original Attachment has been moved to: vectors.c.zip

Original Attachment has been moved to: small_ram_config.h.zip

Original Attachment has been moved to: eth.h.zip

Original Attachment has been moved to: HVAC_Task.c.zip

Original Attachment has been moved to: Tasks.c.zip

Outcomes