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

Cortex-M1 Set Initial SP Value and the Reset Value

Hello, I hope someone can help me

I am using a Cortex-M1, and I need to used a external memory from where the program code will be executed. the program code should starts from the address 0xF000 (size 0x8000), and the data will start at 0x20100000 (size 0x8000).

Is it possible to set the Initial SP Value and the Reset Value in ARM assembler at an arbitrary address in memory? When i run the simulation the program is stuck, what i should modified in the startup file ?

Using the dialog for target in Keil 

i got the Scatter file 

Here is the startup file

 

0