Since I've used 9S08GB32 and the P&E BDM pod, I've seen the same big problem : in debug mode (with pod plugged and in step by step debug for example), if I light a little lamp near my system, the pod generate a RESET to the 9S08 and come back to the start of the startup.c in STOP mode.
The problem is seen with any electric consumer (PC monitor, soldering iron...).
Actually, I'm developping a product with a motor control (H bridge with MOSFET) and it's of course impossible to use the debug mode for this reason
I must remove the BDM cable to avoid these reboot.
Can I disable the RESET pin on 9S08 ? I have looking for this option, but I'd find nothing.
Any ideas ?