I have a older project that I wanted to upgrade to the newest ccs. It migrated over fine (I added the cslCfgInit() to the main and such). My only problem that I was taking up a bit too much memory (6711 running out of intmem), but disabling the "use Instrumented Bios library" and "Real Time Analysis" freed up enough memory.
The problem I am having is that the program appears to run into the weeds and crash CCS just after the start of the program, not even getting to main.
Right now I'm looking into the memory. What does Copy Section mean in memory? When I load my program via the emulator does it not load that? In my example below .vers, .hwi_vec, and $BRID all start at 0x00000000
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
IntMem 00000000 0000fe58 0000f2ad 00000bab RWIX
ad_stat_init_sec 0000fe58 00000004 00000004 00000000 RWIX
sband_sec 0000fe5c 00000004 00000004 00000000 RWIX
hpi_tx_buffer 0000fe60 00000190 00000000 00000190 RWIX
ArgSec 0000fff0 00000010 00000004 0000000c RWIX
SDRAM 80000000 01000000 0036a720 00c958e0 RWIX
dsp2_hpi_reg 90000000 00000020 00000020 00000000 RWIX
cpld1controlblock b0000000 00000100 00000018 000000e8 RWIX
SECTION ALLOCATION MAP
output attributes/
section page origin length input sections
-------- ---- ---------- ---------- ----------------
.vers 0 00000000 00000040 COPY SECTION
00000000 00000040 Ts1_Dsp1cfg.obj (.vers)
.hwi_vec 0 00000000 00000200
00000000 00000200 Ts1_Dsp1cfg.obj (.hwi_vec)
.pinit 0 00000000 00000000 UNINITIALIZED
.trace 0 00000000 00000000
.pip 0 00000000 00000000 UNINITIALIZED
.stack 0 00000000 00000000 UNINITIALIZED
$BRID 0 00000000 000001a0 COPY SECTION
00000000 000000b4 csl6711.lib : csl_edma.obj ($BRID)
000000b4 00000078 : csl_irq.obj ($BRID)
0000012c 00000060 : csl_timer.obj ($BRID)
0000018c 00000014 : csl.obj ($BRID)
.text 0 00000200 000073a0
Thanks
Bryce