Hi Yvan,
Have you tried with a smaller Pull-up resistor on the Reset PIN like 4.7k ?
I also think about faster decoupling of the supply pins very close to the MCU to absorb noise in the tracks.
Alvin.
Alvin,
I've even tried a 680 ohm pull up...
The 3 100nF capa are soldered closest as possible (less than 2mm, below the 9S08).
Yvan
[EnglishAccent Mode]
Shocking !
[/EnglishAccent Mode]
Do you only have the reset when the BDM is on, or even when the MCU is alone in its applications.
If it's the former, the interface may generate a reset when it receives the noise. Grounded kitchen foil around the purple box ? I know it looks like cooking... but it should improve EMI immunity of the BDM interface.
If the latter, can you capture/observe spikes on any particular pin ? This would allow to isolate source and then treat it...
You probably have better experience than me on this, but a new light can always be beneficial .
Alvin.