This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AT91M42800 Programm doesnt start...

Hello
After downloading a simple led blink programm into the external flash memory (located at EBI - CS0) and Powering down the EV board, the programm doesn't start at power up!

I'll have to keep the board about 5-10minutes without supply voltage, then the programm will start on power up.
After Pressing reset button, the programm is stopped, but not reloaded.

I think there is some kind of configuration in the startup.s missing, but i can't find the cause for this strange behaviour.
(I think the CPU gets an exception, imediately after the reset, and breaks execution of the startup code)

I've compared the startup.s with the Code Startup Sequence for AT91 (from Atmel) and found that they initialize the AIC before the Memory remap is performed.

Keil's startup.s doesn't initialize the AIC.
Could this be the reason for such strange behaviour?

So has anybody tried to get this work?

0