This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Controller get into Class_B_trap

Hi all!

What standart reason can be for topic trouble in debugger monitor mode?
Some times it goes into STKOF_trap|STKUF_trap.

If I shut down MK completely - monitor & programm loads into RAM without error, start, follow algorithm. But when I try to stop running: it can stop, or can "lost link with monitor", or can just hang.

Next time when I want to start debugging - it can start but halt in progress, can do not start at all, can fill LCD with strange symbols ... many strange things

I added traps for STKOF, STKUF, Class_B_trap - some MK halts result in into its.

some info:
RTX-166 tiny, 4 interrupts, RS485.

If anyone have some information or experience - you are welcome!

Best regards

0