This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Program stuck in data abort entry address (0x10) when there is a data abort exception happened in APP FW.

Part Number: RM44L920

Tool/software: Code Composer Studio

Hi,

There is  a bootloader and an APP program in my project , and their interrupt vectors address have been redefined with LINK.CMD file , such as

BOOTLOADER_VECTORS   (X)  : origin=0x00000000 length=0x00000020

 APP_VECTORS    (X)  : origin=0x00010040 length=0x00000020

Now ,  if a data abort exception is triggered when APP FW is debug in CCS , Program always jump to 0x10 , which is the entry address of dataabort exception by default. 

And my question is as the interrupt vector has been remapped by LINK CMD file, why program doesn't jump to 0x010050 the remapping entry address of data abort exception.

On the other hand,  If I reset CPU in CCS debug mode when debugging APP FW ,  program will jump to 0x00 but not 0x0010040 , the APP entry address after reset.

Would you please tell me how to fix it?

Thanks in advance.

Catherine

 

  • Hello Catherine,

    Please modify the sys_intvecs.asm to jump to application exception hander.

    b _c_int00 ;0x00

    b #0x10040 - 0x8

    b #0x10040 - 0x8            ; 0x08, Software interrupt

    #0x10040 - 0x8            ;0x0C, Abort (prefetch)

    #0x10040 - 0x8            ;0x10, Abort (data)

    reservedEntry

    b reservedEntry ;0x14

    ldr pc,[pc, #-0x1b0] ;0x18

    ldr pc,[pc, #-0x1b0] ;0x1C