Tool/software: TI C/C++ Compiler
Hi all!
I have written a small bootloader (<8k Code) for OTA usage which optionally can update the CPU from an serial flash.
(I use a proprietary radio protocol and th serial flash can be written by several different sources)
However if i modify the the (user's program) "CC1310_LAUNCHXL_TIRTOS.cmd" to start at 0x2000,
I get some linker errors for the TI-RTOS-parts.
It seems, there is a 2.nd place, where I must modify the Flash-Layout?
Where can I find this?
Thanks for your help!
Best regards from Germany, Jo
(user's program) "CC1310_LAUNCHXL_TIRTOS.cmd":
----------------------------------------------------------------------------
....
// #define FLASH_BASE 0x0 /* Original */
// #define FLASH_SIZE 0x20000 /* Original */
#define FLASH_BASE 0x2000 /* Main App Start at 8k*/
#define FLASH_SIZE 0x1E000 /* 8k Missing at Top */
...
Errors (in CCS):
-----------
.....
<Linking>
"C:/c/cc13xx/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/linker.cmd", line 583: warning #10096-D: specified address lies outside memory map
error #10264: DEFAULT memory range overlaps existing memory range FLASH
error #10264: DEFAULT memory range overlaps existing memory range SRAM
"C:/c/cc13xx/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/linker.cmd", line 697: warning #10096-D: specified address lies outside memory map
error #10263: DEFAULT memory range has already been specified
error #10264: DEFAULT memory range overlaps existing memory range DEFAULT
error #10264: DEFAULT memory range overlaps existing memory range FLASH
error #10264: DEFAULT memory range overlaps existing memory range SRAM
error #10010: errors encountered during linking; "empty_CC1310_LAUNCHXL_tirtos_ccs.out" not built