Hi,
I am developing a bootloader for the TMS570. I have the following memory map as shown in the linker file.
--retain="*(.intvecs)"
MEMORY
{
BOOT_VECTORS (X) : origin=0x00000000 length=0x00000020
FLASH_API (RX) : origin=0x00000020 length=0x000014E0
BOOTLOADER (RX) : origin=0x00001500 length=0x0007EB00
APP_VECTORS (RX) : origin=0x00080000 length=0x00000020
APP (RX) : origin=0x00080020 length=0x0027FFD0
STACK (RW) : origin=0x08000000 length=0x00002FFF
SRAM (RW) : origin=0x08003000 length=0x0003C000
}
SECTIONS
{
.intvecs : {} > BOOT_VECTORS
flashAPI :
{
..\Debug__TI\flashdrv.obj (.text)
--library= ../ext/F021_Flash_API_02.01.01/F021_API_CortexR4_BE_V3D16.lib (.text)
} load = FLASH_API, run = SRAM, LOAD_START(api_load), RUN_START(api_run), SIZE(api_size)
.text > BOOTLOADER
.const > BOOTLOADER
.cinit > BOOTLOADER
.pinit > BOOTLOADER
.data > SRAM
.bss > SRAM
}
I have the application loaded in the APP section of memory. While in the bootloader I am using the Flash API to read out the application but it fails every time on the same memory address 0x9D620. I see this error even in the Memory Browser in Code Composer at the same address. I can read everything in program flash up to the address in question. Can you think of any reason why this error might be happening?
Thanks for your time.