Hello!
I'm currently trying to expand some old project. The tools used are CCS 2.21 (CGT 4.32) for a C6713 on a custom board.
The old project works (compiling, running via emulator and booting of the flashed version). Now with the extensions, it is no more possible to put all things into IRAM. There is lots of space in some SDRAM on the board (EMIF CE0). I've thought, that it should not be a big problem to move some stuff to SDRAM: i've already "marked" non-time-critical variables with "far". After setting the options for .far and .cinit (in the cdb - the old version of the tcf-files) to be in SDRAM (System | MEM | Properties | Compiler Sections; also tried to set the load addresses under Load Address | Specify Sepearate Load Addresses and to set the sections using a user-cmd-file ("SECTION{ .far > SDRAM ...}").
Compiling and Linking now works - the map-file also looks reasonable, but running is not possible:
Reset ([Ctrl]+[R]) works
Restart ([Ctrl]+[Shift]+[F5]) works
Go Main ([Ctrl]+[M]) fails - something might go wrong with the autoinitialization of the c-variables, but what can I do, to find out what - there is no error or warning of the linker, which should be able to locate problems.
I've also tried to watch the whole procedure when booting (trapped by: "zero B1; loop: [!B1] B loop"): I initiallize the EMIF-regs in my bootloader and start to copy the sections from the boottable (the values coincide with the map-file of hex6x; and some buffers tested after loading the projects symbols are correctly initialized). Finally it reaches the branch to the "entry point", but it does not reach my main anymore?
Does anyone have some hints, what I could try/do?
Best regards,
Thomas