Processor: MC9S08EL32CTL
Emulator: PE Microlink USB Interface
I was debugging my device in Code Warrior. Everything was running fine. I was stepping through an analog conversion -- I had done several channels already when a probe slipped and the processor reset. After that the debugging session locked up and I couldn't run or step. I exited the simulator and restarted the debug session, but every time I would get the Power Cycle Dialog that tells me to recycle power to the MCU and then hit okay. I did this several times, and reinserted cables etc. but it always came up with the Power Cycle dialog. over and over. I tried a new board and it does the same thing. The processor seems fine since it runs fine on a power up not in debug mode. I'm thinking something is wrong with the emulator. How can I tell? Both blue and amber LEDs are on. The BGND line is at 0.28V when the dialog comes up, then it goes to 2.78 when I hit okay. I have 4.98V on the 5V line.
Thanks for any help.
Solved! Go to Solution.
What voltage you see on BGND when BDM is disconnected? Maybe EL32 internal weak BGND pullup got damaged. If you don't have any pull up resistor on BGND, then try soldering something like 4.7kOhm between BGND and Vdd. You need that voltage to rise above Vih=0.65*Vdd, which is 3.25V in your case
What voltage you see on BGND when BDM is disconnected? Maybe EL32 internal weak BGND pullup got damaged. If you don't have any pull up resistor on BGND, then try soldering something like 4.7kOhm between BGND and Vdd. You need that voltage to rise above Vih=0.65*Vdd, which is 3.25V in your case