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.

TMS570LC4357: Bootloader - Application not working with bootloader

Part Number: TMS570LC4357


HI TI,

i am using CAN bootloader and application with safeRTOS. Code is working fine it jumps from bootloader to application and my application is running but when i increase the size of application then it will go into vPrefetchAbort. For reference i am attaching the detail below:-

linker memory section of application:-

VECTORS (X)         : origin=0x00010000 length=0x00000080 vfill = 0xffffffff
KERN_FUNC (RX)  : origin=0x00010080 length=0x0000ff80 vfill = 0xffffffff
FLASH0 (RX)          : origin=0x00020000 length=0x001E0000 vfill = 0xffffffff
FLASH1 (RX)          : origin=0x00200000 length=0x00200000 vfill = 0xffffffff
STACKS (RW)         : origin=0x08000000 length=0x00001800
KERN_DATA (RW)  : origin=0x08001800 length=0x00000800
RAM (RW)               : origin=0x08002000 length=0x0007E000

linker memory section of bootloader:-

VECTORS (X)         : origin=0x00000000 length=0x00000020 vfill = 0xffffffff
FLASH0 (RX)          : origin=0x00000020 length=0x0001FFE0 vfill = 0xffffffff
FLASH1 (RX)          : origin=0x00200000 length=0x00200000 vfill = 0xffffffff
SRAM (RWX)          : origin=0x08002000 length=0x0002D000
STACK (RW)           : origin=0x08000000 length=0x00002000

Bootloader HL_sys_intvecs.asm:- 

resetEntry
b _c_int00
undefEntry
b #0x0fff8;undefEntry
svcEntry
b #0x0fff8;svcEntry
prefetchEntry
b #0x0fff8 ;prefetchEntry
dataEntry
b #0x0fff8 ;dataEntry
b phantomInterrupt
ldr pc,[pc,#-0x1b0]
ldr pc,[pc,#-0x1b0]

when the flash 0 size is 131K its working fine .

When the flash 0 size is 141K its not working.

Please anybody help me in this

Thanks in advance.