cancel
Showing results for 
Search instead for 
Did you mean: 

remapping interrupt vector table STR71x

maria
Associate
Posted on March 11, 2014 at 15:25

Hi all,

Due to product changes, just switched to a new version of IAR. Trying to remap my vector tables, but need help with the startup code - not that great at assembler- and modifying the .icf file. Glad to send the code.

The goal ist to have another interrupt table in ROM. See table below.

SEGMENT              SPACE    START ADDRESS   END ADDRESS     SIZE  TYPE  ALIGN

=======              =====    =============   ===========     ====  ====  =====

INTVEC                             00000000 - 00000627         628   com    2

DATA_I                             20000628 - 20000A87         460   rel    2

DATA_Z                             20000A88 - 20001728         CA1   rel    2

CODE_I                             2000172C - 200017DB          B0   rel    2

CSTACK                             200017DC - 200057DB        4000   rel    2

SVC_STACK                          200057DC - 200059DB         200   rel    2

ABT_STACK                          200059DC - 20005BDB         200   rel    2

UND_STACK                          20005BDC - 20005DDB         200   rel    2

FIQ_STACK                          20005DDC - 20005FDB         200   rel    2

IRQ_STACK                          20005FDC - 20006FDB        1000   rel    2

HEAP                               20006FDC - 20008FDB        2000   rel    2

INTVEC_ROM                         40008000 - 40008627         628   com    2

ICODE                              40008628 - 40008873         24C   rel    2

DIFUNCT                            40008874 - 400088A7          34   rel    2

CODE                               400088A8 - 40037CC7       2F420   rel    2

CODE_ID                            40037CC8 - 40037D77          B0   rel    2

INITTAB                            40037D78 - 40037DA7          30   rel    2

DATA_ID                            40037DA8 - 40038207         460   rel    2

DATA_C                             40038208 - 4003B027        2E20   rel    2

Appriciate all the help!

Best Greetings,

Maria

0 REPLIES 0