when i try to start debugging with lexide-u16 on the ml62q1000 series, ice error: 6603h occurs and i cannot debug.since i have confirmed the following phenomenon, it does not seem to be a connection failure between the on-chip emulator and the microcontroller as described in faq no:_02130, or a malfunction of the microcontroller.(1) the debugger can be started without an error only once immediately after erasing the target with mwu16.(2) regarding the reference software sample program, after erasing the target with the mwu16, i can debug it repeatedly without any problems.
check the mode setting p0mod0 of the p00/test0 pin in your program. when using the on-chip emulator, use the p00/test0 pin as an input pin for on-chip debugging. if p0mod0 is set to input disabled or output enabled, communication with the on-chip emulator will be disabled, and "ice error: 6603h" will occur, making debugging impossible. set p0mod0 to the initial value 05h.