Skip to main content
Visitor II
June 30, 2004
Question

Load execution image into flash with ARM RealView

  • June 30, 2004
  • 5 replies
  • 961 views
Posted on June 30, 2004 at 13:30

Load execution image into flash with ARM RealView

    This topic has been closed for replies.

    5 replies

    shinnlinAuthor
    Visitor II
    June 28, 2004
    Posted on June 28, 2004 at 06:57

    Does anyone know how to load execution image into

    STR710's internal flash memory under RealView Debugger ?

    I just got the STR710-EVAL board and STR-RVICE/ME this week.

    And I'm not familiar to RealView.

    Could anyone tell me how to configure the memory location

    under RealView ?

    Btw, does everybody use RealView to develop STR710 ?

    Visitor II
    June 28, 2004
    Posted on June 28, 2004 at 07:09

    Have a look at STR71x SOFTWARE DEVELOPMENT GETTING STARTED on this website -

    http://www.stmcu.com/files/mcu/1080748530.pdf

    There are a lot of other choices for arm compiler, depends how much you want to spend, and the length of the learning curve.

    Arm Realview, Arm ADS, Keil, IAR, Green Hills, Rowley, GCC - just a selection of Arm compilers. My personal favourite is GCC.

    Regards

    sjo
    shinnlinAuthor
    Visitor II
    June 28, 2004
    Posted on June 28, 2004 at 13:07

    I had read the listed documents for related chapters;

    however, I still can't find the way to move a program initially

    mapped on RAM to STR710's internal flash.

    I can change the starting address and size on memory mapping table,

    but how can I asign the mapping address of the program ?

    I also read documents from ARM regarding RealView Debugger..

    No clue..

    shinnlinAuthor
    Visitor II
    June 29, 2004
    Posted on June 30, 2004 at 00:33

    Ya! I got it !

    I worked on the project Example2 of AN1774.zip

    and set the following in project property.

    [Project Properties][Build][Link Advanced]

    ->Ro base = 0x40000000

    ->Rw base = 0x20000000

    ->First = 71x_vect.o

    I think my previous problem was that I didn't put 71x_vect.o to first.

    Visitor II
    June 30, 2004
    Posted on June 30, 2004 at 13:30

    Hello shinn,

    I think also that what you have done in the project proprieties can be done using the scatter file (scat.scf) as following for example .

    Flash 0x40000000 0x10000

    {

    Flash 0x40000000

    {

    71x_vect.o (Vect, +First)

    71x_init.o(Init)

    * (+RO)

    }

    RAM 0x20000000

    {

    * (+RW)

    * (+ZI)

    }

    }