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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

233件の閲覧回数
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 返答(返信)