I'm not sure if this question can be answered without intimate knowledge of our hardware circuitry, but I'll try anyway.
I am flashing the chip using CodeWarrior 4.6 (i.e. Hiwave) via a P&E USB BDM device. We have a watchdog circuit on the board that is connected to the RESET pin on the chip. When software is running it toggles the watchdog circuit to prevent a reset.
Whenever I attempt to flash, hiwave stops execution of the running application on the device, and so the watchdog circuit eventually resets the device before we can transfer the entire code image. This causes an error in hiwave, the hiwave app locks up, and the image transfer fails.
Is there any way the BDM interface can take control over the RESET pin to prevent a reset during flashing?