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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

213 Views
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
Labels (1)
0 Kudos
0 Replies