Problems with demo web_hvac

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

Problems with demo web_hvac

跳至解决方案
1,250 次查看
simonepuschmann
Contributor II

I try to run the demo web_hav, but I am not able to see the webpage

I am using

- a TWR-K60D100 Tower Modul

- code warrior 10.3 eva

- MQX 4.0

I import the project

#define DEMOCFG_ENABLE_WEBSERVER       1

#define DEMOCFG_ENABLE_RTCS                      1

When I debugging I can see that in the procedure HVAC_initialize_networking()

- the ipcfg_bind_staticip is ok

- httpd_server_run(server) is ok

I have set the jumper as described in the user manual document.

When I checked the LAN connection in Window 7, I see correct IP address 169.254.3.3

but when I try to see the web page in the browser (firefox) 169.254.0.1 I get an error message.


Has somebody an idea what's going wrong. I try the whole day and could not find the reason.


There is another thing I don't understand.

As soon as I activate the shell, the other tasks are not running. I never reached the breakpoints in the other tasks.

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,046 次查看
simonepuschmann
Contributor II

Dear Martin, thanks for your reply.

I have found the reason for my described problem. The IIS7 webserver was already started and used the same port as the hvac websever. After I had finished the service, the example works fine.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,046 次查看
Martin_
NXP Employee
NXP Employee

I'm looking into HVAC.h and I can see the ENET_IPADDR of the TWR board is set to 169.254.3.3.

Is this the confusion ? You should configure your PC to manual IP 169.254.0.1 and try to open 169.254.3.3 from firefox web browser.

1,047 次查看
simonepuschmann
Contributor II

Dear Martin, thanks for your reply.

I have found the reason for my described problem. The IIS7 webserver was already started and used the same port as the hvac websever. After I had finished the service, the example works fine.

0 项奖励
回复