AnsweredAssumed Answered

mc68hc908ap32 Monitor Mode Debugging

Question asked by Timur Kuramshin on Mar 4, 2017

Hello, how i can exit monitor MODE and run code IN user MODE without POR (eq. power-of-reset)?

 

 

I trying save stack&RAM variables which wrote while MCU in monitor mode, and start user code in user mode.

 

I try to create little subroutine for debugging MCU in Monitor mode. I read an2295 but i don't want to use this way because need to re-burn MCU with bootloader.

 

(sorry for my English)

 

I not fully understand what is exactly Monitor mode - this is some special kind of interrupt or subroutine and i can return to user mode with my variables etc. or this is some hardware module, and i can't do any actions (beside hardware) to back in user mode.

Outcomes