cancel
Showing results for 
Search instead for 
Did you mean: 

Manually changing reset address

alessandro2
Associate III
Posted on June 12, 2017 at 16:30

Hello everyone, 

I am working with SPC56EL60 and SPC5Studio v5.0.

I'd like to know how to edit the code to change the _reset_address value (without having to generate the application).

I need to change my application reset address to make it begin from flash sector 1, instead of  flash sector2.

I see the

_reset_address is defined in linker file (user.ld), but 

I can't find where the _reset_address is defined.

Thank you.

Regards

Alessandro

3 REPLIES 3
alessandro2
Associate III
Posted on June 12, 2017 at 17:13

Ok, I've also tried changing the settings from the SpcStudio GUI.

In Spc5Studio, I got this:

0690X00000607JnQAI.png

Generating the application I got the linker ld file updated with the new settings:

0690X00000607JxQAI.png

When I run the application in debug, though, I still se the application starting from sector 2..

0690X00000607FrQAI.png

I was expecting the application to start from 0x00004008..

Can anyone explain this behavior?

Thank you.

Regards

Alessandro

Posted on June 13, 2017 at 11:05

Hello Alessandro ,

I am checking your issue.

Have you generated correctly your source code from SPC5Studio GUI ?

Could you confirm your version used ?

HAL or RLA ?

    Best regards

                    Erwan

Posted on June 13, 2017 at 14:09

Hello Alessandro ,

No problem is noticed

(Cf Screenshot)

0690X00000607K7QAI.png

      Best regards

                 Erwan