I am trying to run some MQX example programs on the K70 Tower System. Using CW10.2 MQX 3.8.1
My problem is, every time I load the example, the code hangs in the __pe_initialize_hardware(void)function on the line of code that checks IREFST in MCG_C6 --> while((MCG_S & MCG_S_IREFST_MASK) != 0x00U)
Has anyone else had this problem and resolved it?
Thank you.
已解决! 转到解答。
The most crazy thing is that the debugger runs ok and flashes the MCU but the MCU does not run as expected and so the system hangs. I spent a couple of hours figuring out what the problem is and then by accident noticed that the TWR-SER primary was connected to the secondary elevator :-]
Hey David,
I will have to re-check the jumpers and compare it to the doc but I thought I had the jumper correct because I'm running bare metal code just fine.
The tower board I have has a pk70fn1m
CW10.2 is updated.
Thanks for the help
Cheers,
Tom