Keil Logo

moving code to start address other than 0x00 does not work

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Author
omer Tchernichovsky
Posted
21-Jul-2019 18:21 GMT
Toolset
ARM
New! moving code to start address other than 0x00 does not work

I'm working with Keil uvision version 5.23.
MCU is Atmel SAMC20E18A.
debugger is PE micro Multilink universal.

I'm trying to build a boot-loader for the mcu.
for that i need to "move" my application code for the addresses 0x4000-0x67FC

when i try to set the application code addresses for Target->IROM1 to start from address 0x4000, the code does not run.

when i try it from start address 0x0000 it runs OK.

when i enter debug mode with the debugger, it seems that the debugger is stuck at reset.

i also tried using a scatter file, but it is the same.

my thoughts are that the keil software or the debugger driver forget to configure something related to the Reset address or the Vector Table.

can anyone help?

thanks.
omer

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.