Access of LPC_CCU1->CLKCCU[CLK_USB1].CFG (0x40051900) crashes RedLink

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

Access of LPC_CCU1->CLKCCU[CLK_USB1].CFG (0x40051900) crashes RedLink

231 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chris_bayley_trimble on Thu Dec 18 19:10:41 MST 2014
So further to my 'cannot halt cores' thread I have found the cause is as little as a read access of 0x40051900.

uint32_t*   ptr = &(LPC_CCU1->CLKCCU[CLK_USB1].CFG);
uint32_t    val = *ptr;

Upon stepping through the second line above I loose comms with RedLink. What is going on here ?
I haven't been able to trap any exceptions as comms is already lost.

I want to Disable USB1_CLK so I can enable ULPI.

Cheers,
C
标签 (1)
0 项奖励
回复
0 回复数