Skip to main content
Visitor II
March 5, 2013
Question

How to change __iar_program_start address

  • March 5, 2013
  • 1 reply
  • 939 views
Posted on March 05, 2013 at 08:10

Dear all,

i want to set '' __iar_program_start ''  in the absolute address(ex:0x9100).

so, i am setting override default program entry and entry symbol is '' iar_reset ''.

and program is:

#pragma location = ''.CallBack_Reset_func.text''

void iar_reset(void)

{

    main();

}

but it's not work and debug log show :

'' Failed to read memory at 0x20: SWIM error [30004]: Comm timeout ''

how can i to do?

thx

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 9, 2013
    Posted on May 09, 2013 at 07:43

    try:

    at 0x9100 void iar_reset(void)

    {

         main();

    }