How to stop the esp8266 cpu/firmware?
Posted: Sat May 23, 2015 5:10 am
Moin,
I am able to send the esp8266 a serial break via serial line and detect it in an interrupt handler.
I don't want to "break" the cpu in this uart interrupt handler but I want it getting stopped
when it returns to user code.
A kind of pending "break" that gets triggered when returning from the interrupt handler.
I could use the stepping support but that feels wrong.
Should I set a breakpoint on the "interrupt return address"?
Or should I "break" in the interrupt code and "return" from that to get into user code using debugger means?
"user code" should mean code executed on int level 0.
I have the feeling that I miss something or that I expect too much support from the cpu.
Any ideas or opinions?
Cal
I am able to send the esp8266 a serial break via serial line and detect it in an interrupt handler.
I don't want to "break" the cpu in this uart interrupt handler but I want it getting stopped
when it returns to user code.
A kind of pending "break" that gets triggered when returning from the interrupt handler.
I could use the stepping support but that feels wrong.
Should I set a breakpoint on the "interrupt return address"?
Or should I "break" in the interrupt code and "return" from that to get into user code using debugger means?
"user code" should mean code executed on int level 0.
I have the feeling that I miss something or that I expect too much support from the cpu.
Any ideas or opinions?
Cal