Part Number: TMS570LC4357
Hello, I've got a problem while running a program using FreeRTOS and loading it throught the bootloader. A program without FreeRTOS works perfectly, but when I use FreeRTOS in the application the program doesn't work. I'm able to load it but when I put the RUN command it doesn't work. What should I do? Thank you
Here you can find the application linker settings
/* Linker Settings */
--retain="*(.intvecs)"
/*----------------------------------------------------------------------------*/
/* Memory Map */
MEMORY
{
VECTORS (X) : origin=0x00010020 length=0x00000040
/*sector 4/5 are used for application */
FLASH_CODE (RX) : origin=0x00010060 length=0x80000 - 0x40 fill=0xFFFFFFFF
FLASH0 (RX) : origin=0x00090020 length=0x00200000 - 0x18000
FLASH1 (RX) : origin=0x00300020 length=0x00200000
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x0007EB00
}
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS
{
.intvecs : {} > VECTORS
.text align(32) : {} > FLASH_CODE
.const align(32) : {} > FLASH_CODE
.cinit align(32) : {} > FLASH_CODE
.pinit align(32) : {} > FLASH_CODE
.kernelBSS align(32) : {} > FLASH_CODE
.kernelHEAP align(32) : {} > FLASH_CODE
.kernelTEXT align(32) : {} > FLASH_CODE
.bss : {} > RAM
.data : {} > RAM
.sysmem : {} > RAM
}
An here there's the bootloader intvecs.asm
.sect ".intvecs"
.arm
;-------------------------------------------------------------------------------
; import reference for interrupt routines
.ref _c_int00
.ref phantomInterrupt
.def resetEntry
;-------------------------------------------------------------------------------
; interrupt vectors
resetEntry
b _c_int00
undefEntry
b undefEntry
svcEntry
b svcEntry
prefetchEntry
b prefetchEntry
dataEntry
b dataEntry
b phantomInterrupt
ldr pc,[pc,#-0x1b0]
ldr pc,[pc,#-0x1b0]
If you need any additional files please ask me, I will provid them
Thank you again