MC9S08AC96 initialization trouble

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S08AC96 initialization trouble

1,083 Views
kosthala
Contributor I

Hello,

 

This is my first application using the MC9S08AC family. I have write a very simple program for test purposes, where i turn on a simple led.

The program runs fine when i debug it with the usb multilink, but it refuses to start after i program it and remove the multilink.

My previous projects were using the AW family and i have never faced such a problem.

Do you know what maybe the reason for this behavor? 

 

Thanks in advance.

Labels (1)
0 Kudos
Reply
1 Reply

600 Views
J2MEJediMaster
Specialist I

Well the program runs well in the debugger and then does not run at all in stand-alone mode, the culprit is either the interrupt vector table is set up improperly (even if you are not using interrupts, the MCU needs one on reset the find your program), or that there are some processor initializations that you have failed to do that the debugger is doing for you. Since you have worked with a derivative MCU, I would guess that it is an initialization problem. Have you tried downloading an example project and confirmed that it runs in the stand-alone mode? If so, compare the demo program's initialization sequence to that of your program, and see if there are any differences.

 

---Tom

0 Kudos
Reply