cancel
Showing results for 
Search instead for 
Did you mean: 

How to change __iar_program_start address

ellisshz
Associate II
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

1 REPLY 1
drebbe
Associate II
Posted on May 09, 2013 at 07:43

try:

at 0x9100 void iar_reset(void)

{

     main();

}