AnsweredAssumed Answered

HCS08 SH8 MCU works only correctly in debug mode

Question asked by Ingo Kauf on Jun 1, 2010
Latest reply on Jun 4, 2010 by bigmac

Hello @ll!

 

I use an 10Mhz external crystal source, 5Mhz Busclock. All works fine during debugging my target under CW 6.3 Special edition. My program is written in assembler and prints a serial ASCII string out for test purposes. My OS is Win XP SP3 and I have a quad core computer.

 

But after powering up the target MCU again the SCI module prints a lot of trash out. Not my ASCII string. During debugging all was fine.

I also programmed a small delay after initialization of the external crystal source. Cause it could be a problem, the crystal need some time for starting oscillating. I also checked the waveform from the crystal on my scope during debugging and after a power on. Both cases look the same. 

 

Any ideas?

 

Best regards,

 

Ingo-Michael

Outcomes