TWR K60 HVAC web demo

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

TWR K60 HVAC web demo

跳至解决方案
1,518 次查看
UniversalTroope
Contributor III

I'm trying to run the HVAC webenabled demo on a TWR K60, using MQX 3.6.2 and IAR embedded workbench. The demo stops with "Waiting for ethernet cable plug in ...".

 

I have connected a cable, and the ethernet port LED's are lit. TWR-SER mode is RMII, 50MHz clock routed out, and TWR-K60 set to use that clock.

 

Any ideas?

标签 (1)
标记 (1)
0 项奖励
1 解答
795 次查看
anthony_huereca
NXP Employee
NXP Employee

Try putting the board in MII mode. The MCF52259 BSP is expecting that, not RMII. It would be the original jumper locations on the TWR-SER, which you can find in the TWR-SER user manual: http://cache.freescale.com/files/microcontrollers/doc/user_guide/TWRSERUM.pdf

在原帖中查看解决方案

0 项奖励
4 回复数
795 次查看
UniversalTroope
Contributor III

It seems this doesn't work:

 

ipcfg_get_link_active(IPCFG_default_enet_device)

 

If I disable this check, the demo works fine. Any tips on how to get the cable check working?

0 项奖励
795 次查看
PetrM
Senior Contributor I

Please make sure you have the switches on serial and processor boards set according to getting started manual.

It works for me.

 

PetrM

 

0 项奖励
795 次查看
UniversalTroope
Contributor III

Sorry, it was the security demo that stops on that cable check, but the hvac demo also doesn't correctly detect the link state.

0 项奖励
796 次查看
anthony_huereca
NXP Employee
NXP Employee

Try putting the board in MII mode. The MCF52259 BSP is expecting that, not RMII. It would be the original jumper locations on the TWR-SER, which you can find in the TWR-SER user manual: http://cache.freescale.com/files/microcontrollers/doc/user_guide/TWRSERUM.pdf

0 项奖励