cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify address of code start in RIDE

jacky_wang
Associate II
Posted on October 22, 2007 at 08:32

How to modify address of code start in RIDE

2 REPLIES 2
jacky_wang
Associate II
Posted on October 22, 2007 at 02:05

How to modify address of code start in RIDE?

code start of ST7FLIT15B is F000h.

I want to change address of code start from F002H.

Posted on October 22, 2007 at 08:32

Hi Jacky,

Using the Raisonance RCST7 Compiler, you just have to declare main as follows:

at 0xF002 void main(void)

{

...

}

Note however that the Compiler startup code (SCI and global data initialization) will be executefd before your main function.

I hope this helps,

Bruno