Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
Hello!
I have another problem with eabi format.
There is a problem with the bl_entrytable.asm assembler file, it is contained in the bl_app example.
If you switch to the COFF format, then everything compiles fine, in the EABI format the pAppEntry and pAppSig pointers are thrown out by the compiler or linker and the app_table section remains empty.
How to place these pointers in memory in EABI mode?
Below is an example of the contents of this file in both formats. What am I doing wrong?
EABI format:
.def pBootEntry
.ref CRCTestVector
.ref code_start
.def pAppEntry
.def pAppSig
***********************************************************************
* Function: codestart section
*
* Description: Branch to code starting point
***********************************************************************
.sect "app_table"
app_table:
pAppEntry .long code_start
pAppSig .long CRCTestVector
.sect "bl_table"
bl_table:
pBootEntry .long 0
.end
COFF format:
.def _pBootEntry .ref _CRCTestVector .ref code_start .def _pAppEntry .def _pAppSig *********************************************************************** * Function: codestart section * * Description: Branch to code starting point *********************************************************************** .sect "app_table" app_table: _pAppEntry .long code_start _pAppSig .long _CRCTestVector .sect "bl_table" bl_table: _pBootEntry .long 0 .end
