AnsweredAssumed Answered

CodeWarrior project does not reach main, stuck in hardware initialization

Question asked by Tanmayee Sapre on Apr 17, 2017
Latest reply on Aug 7, 2017 by jjacp

I am trying to get a simple example (update counter value in loop) example working on my TRK-USB-MPC5643L board. I was able to successfully debug this program once, however now I am running into some issues. When running in debug mode the program never enters the main loop, it is stuck in the initialization code. A few things I observed - even though the project is configured for LSM mode, when I step into the code, the branches for DPM  get executed. I tried to use the ICDPPNEXUS tool from PEMIcro but the code seems to enter some kind of an infinite loop in the hardware init phase and there too and the main is never hit. How do I proceed from here?

Outcomes