Skip to main content
Visitor II
October 22, 2007
Question

How to modify address of code start in RIDE

  • October 22, 2007
  • 2 replies
  • 790 views
Posted on October 22, 2007 at 08:32

How to modify address of code start in RIDE

    This topic has been closed for replies.

    2 replies

    Visitor II
    October 22, 2007
    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.

    Visitor II
    October 22, 2007
    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