Hi,
Hmmmmm, deep history....zombie question .
You do not need to use serial monitor if you have USB multilink to load the serial monitor to the MCU. Hmm, probably you use it as a bootloader.
(another bootloader...attached)
Do you meet following conditions from AN2548?
During initialization after any cold reset, a long break is transmitted before any other SCI communication takes place. This break is about 30 bit-times to ensure that a Windows-based PC can recognize this as a break. To establish communications with the monitor, the host must send a carriage return ($0D) at the correct baud rate. If the monitor detects some other character, the host baud rate is not correct so it continues to wait in a loop for the $0D character before printing the first prompt sequence. The host must verify the monitor baud rate by initially sending a carriage return at 115.2 kbaud. If this is the correct baud rate, the target MCU will respond with a prompt sequence of $E0, $08, and a “>” prompt character. The prompt sequence is detailed more completely in following sections.
I suppose you have serial cable disconnected for power up reset.
Do you use your own board design or some EVB? If own, may I see schematic for MCU HW environment?
However, I am not absolutely sure I understand your question.
“Hi I use a mc9s12c32 for a project and it work really great except at boot when i power the mcu.”
Does it mean the serial cable is disconnected and you want to run your application code and it does not work after power on?
“All work really well except that I always need to trigger a reset interrupt to initialize the mcu correctly.”
Does it mean the serial cable is connected and you want to initialize serial monitor? In this case I would expect this behavior because there is an initialization sequence – described above.
If the normal mode is expected I would disconnect the cable and check I MODC=1,MODB=MODA=0
Next, I would check all initializations of write once registers in the code whether I do not set them accidentally twice in some approach I am doing.
Best regards,
Ladislav