Hi.
startware,startup.c,line87:
static unsigned int const vecTbl[14]=
{
0xE59FF018, /* Opcode for loading PC with the contents of [PC + 0x18] */
0xE59FF018, /* Opcode for loading PC with the contents of [PC + 0x18] */
0xE59FF018, /* Opcode for loading PC with the contents of [PC + 0x18] */
0xE59FF018, /* Opcode for loading PC with the contents of [PC + 0x18] */
0xE59FF014, /* Opcode for loading PC with the contents of [PC + 0x14] */
0xE24FF008, /* Opcode for loading PC with (PC - 8) (eq. to while(1)) */
0xE59FF010, /* Opcode for loading PC with the contents of [PC + 0x10] */
0xE59FF010, /* Opcode for loading PC with the contents of [PC + 0x10] */
(unsigned int)Entry,
(unsigned int)UndefInstHandler,
(unsigned int)SVCHandler,
(unsigned int)AbortHandler,
(unsigned int)IRQHandler,
(unsigned int)FIQHandler
};
AM335xTRM_G,Table 26-3. RAM Exception Vectors :
Address Exception Content
4030CE00h Reserved Reserved
4030CE04h Undefined PC = [4030CE24h]
4030CE08h SWI PC = [4030CE28h]
4030CE0Ch Pre-fetch abort PC = [4030CE2Ch]
4030CE10h Data abort PC = [4030CE30h]
4030CE14h Unused PC = [4030CE34h]
4030CE18h IRQ PC = [4030CE38h]
4030CE1Ch FIQ PC = [4030CE3Ch]
4030CE20h Reserved 20090h
4030CE24h Undefined 20080h
4030CE28h SWI 20084h
4030CE2Ch Pre-fetch abort Address of default pre-fetch abort handler (1)
4030CE30h Data abort Address of default data abort handler (1)
4030CE34h Unused 20090h
4030CE38h IRQ Address of default IRQ handler
4030CE3Ch FIQ 20098h
Yes, startware relocates the base 4030CE00 to 4030FC00,But,what I don't understand why the sequence of vector table is different bewteen startware and the TRM?
Thanks
YanTCK