Hi,
Due to operating conditions in our system, our CPU card is only being populated with the TMS320C6701 and some external EEPROMs.
I am using CCS 3.1 to compile the code. I am using hex6x from CCS 3.3 (hex6x from CCS 3.1 was buggy) to generate the secondary bootloader and bin files.
On a protoype card that has SDRAM, I was able to generate a bin file that successfully booted the card with the code running from SDRAM.
In the cdb file, I changed the sections that were placed in SDRAM to be in IPRAM...seemed like a simple task.
When I program EEPROM and try to boot, I have some success. The DSP initializes the EMIF correctly, it also runs the copy table and then jumps to
c_int0...so far so good. But the opcodes at the c_int0 starting address are not correct, the opcode should be "00000212", a B.S2 instruction I think but
the opcode is something else and the opcodes following the start address are just random STW instructions. I looked at the bin file using a binary reader and
it contains junk opcodes. So it looks like hex6x generated garbage code.
Anybody run in to this before?
Also, I will need to generate a version of the code that allows the jtag emulator to connect and run code with the code running from IPRAM. Once the code is
running, I can use the UART download feature that I wrote to download the application to EEPROM.
The emulator and the hex6x tools seem to work fine when there is external RAM available but not without.
Thank you in advance for your assistance,
Bill.