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.

BIOS generated cmd file doesn't match the tcf file

platform: eZdsp5535

CCSv 4.2.4.00033

DSP/BIOS 5.41.11.38

XDC 3.23.03.41

I am attempting to create a DSP/BIOS program per the BIOS user's guide on the eZdsp5535 platform.  Creating per the instructions, I point to an example eZdsp5535 tcf file in the BIOS install directory, <install_dir>\bios_5_41_11_38\packages\ti\bios\examples\ezdsp5535\hello.tcf.

When building this project, the resulting hellocfg.cdb and resulting hellocfg.cmd do not match the memory setup for DARAM, SARAM, and VECT in the provided hello.tcf file.  I also tried BIOS 5.42.00.07, as it claims to not need the XDC tools to process the tcf file.

  • Brad,
    when I tried the example, this is what I see in the resulting memory map, with the start addresses and sizes of memory objects. As far as I can tell, this is how the memory should look like. Are you seeing something different? The CDB file is just an internal database, and it does not represent the actual memory map generated in the CMD file. 
    DARAM   000000c0 0000fe40
    VECT    0000ff00 00000100
    SARAM   00010000 00040000

  • I do see the same thing as you.  However the settings in the *.tcf file are different:  Where is it getting the origin and length data from?  If not the *.tcf file then how do I specify?

    In the TCF File....

    DARAM  0x000060  0x7f20

    SARAM  0x008000  0x20000

    VECT   0x007f80  0x0080

  • The addresses in the linker command file and in the TCF script are the same, but the TCF script counts minimum addressable units, which are 16-bit on C55, and the linker command file counts bytes. So, when you edit addresses in TCF scipts or in GUI, specify 16-bit addresses.

  • Yeah, one's doing words, the other bytes.  Should've been obvious - just don't recall that from earlier versions.  Regardless, the project doesn't run.  I get a hung memory bus error.