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.
Tool/software: TI C/C++ Compiler
I use the command to generate a upgrade file:
"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/hex2000" "f05a.out" -boot -sci8 -a -o "f05a.txt" -map f05a.txt.map --memwidth=16 --romwidth=16
but the map file is:
********************************************************************************
INPUT FILE NAME: <f05a.out>
OUTPUT FORMAT: ASCII-Hex
PHYSICAL MEMORY PARAMETERS
Default data width : 16
Default memory width : 8 (LS-->MS)
Default output width : 8
BOOT LOADER PARAMETERS
Table Type: SERIAL PORT (SCI 8 bit Mode)
Entry Point: 0x000a5365
OUTPUT TRANSLATION MAP
--------------------------------------------------------------------------------
00000000..003fffff Page=0 Memory Width=8 ROM Width=8
--------------------------------------------------------------------------------
OUTPUT FILES: f05a.txt [b0..b7]
CONTENTS: 00000000..0003e091 BOOT TABLE
.cinit : dest=00082030 size=0000106c width=00000002
.binit : dest=000830c0 size=0000000a width=00000002
.text : dest=00090000 size=0001a5ac width=00000002
.TI.ramfunc : dest=00084000 size=0000002d width=00000002
.econst : dest=00088000 size=00003968 width=00000002
.switch : dest=00084040 size=00000042 width=00000002
.text:ti_catalog_c2800_initF2837x_flashfuncs : dest=00082004 size=00000027 width=00000002
.ti_catalog_c2800_initF2837x_begin : dest=00082000 size=00000002 width=00000002
--------------------------------------------------------------------------------
00000000..003fffff Page=1 Memory Width=8 ROM Width=8 "*DEFAULT PAGE 1*"
--------------------------------------------------------------------------------
NO CONTENTS
My question is:
All the sections width is 2, but error will be generated when programming the flash, since the address is aligned to 2. how to change that?
//
//program 4 words at once, 64-bits
//
oReturnCheck = Fapi_issueProgrammingCommand((uint32 *)BlockHeader.DestAddr,
miniBuffer,
sizeof(miniBuffer),
0,
0,
Fapi_AutoEccGeneration);