I am trying to use CCS v6 built-in hex utility to generate hex output file. Looks like the output hex file contains half of the text section (If I dump the hex file it shows text section from 20007C to 207BD8.). Why the hex file does not show text section from 21xxxx ? I am using F28M35HC1 which has 512K flash. Using C2prog (via UART0) I can program the flash, but after reset, system does not start. I suspect only half of flash is programmed.
I used hex2000 and RTOS-Oct27.out to generate hex output file. This also looks exactly same.
Any idea what is wrong ?
Here are relevant sections of linker, map and hex files.
020000040020DA
:04003000F012BDE627
:20004000E00020002C010021406500214065002140650021406500214065002140650021AE
:1C006000406500214065002140650021406500214065002140650021432F00214D
:20007C00F1AD0D0890009800F00000FF900198012805D90120FF9001F89D0004B0024770B7
:20009C00F1AD0D08900020009001E0229801F04000019001E02C9801F04000029001E02784
:2000BC009801F04000089001E0229801F04000049001E01D9801F04000109001E01898016A
:2000DC00F04000209001E0139801F04000409001E00E98002800D0DE1E40D0E1380AD0E930
...
...
:207B9800000000001F800000000000000DBF0000000000002400000000000000021000002C
:207BB8000000000001B000000000000020000000000000002000000076B80021F00020005D
:207BD8007B980021608020007BA00021C28020007BA80021F78020007BB00021C0002000B4
:187BF8007BB80021000020007BC00021800020007BC80021A0002000E1
:107C1000000C00017674002160002000004000008C
:00000001FF
----------------------------------------------
Map file contents:
=========================
run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
00200030 00200030 00000004 00000004 r-x
00200030 00200030 00000004 00000004 r-x .ti_catalog_arm_cortexm3_concertoInit_begin
00200040 00200040 00017634 00017634 r-x
00200040 00200040 0000003c 0000003c r-- .resetVecs
0020007c 0020007c 000149e2 000149e2 r-x .text
00214a60 00214a60 00002c14 00002c14 r-- .const
002176b8 002176b8 00000568 00000568 r--
002176b8 002176b8 00000558 00000558 r-- .cinit
00217c10 00217c10 00000010 00000010 r-- .binit
20000000 20000000 000001b0 00000000 rw-
20000000 20000000 000001b0 00000000 rw- .vecs
20006000 00217674 00000040 00000040 r-x
20006000 00217674 00000040 00000040 r-x .flashfuncs
20006080 20006080 00005f80 00000000 rw-
20006080 20006080 00001f80 00000000 rw- .bss.1