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.

SPI Boot for TMS320C6678

I have created a myfile.out

How can I create a .hex file including the Boot Table ?

 

I have read the SPRUG5Y manual about how the table should look like.

I have read about the hex6x.exe too.

I am not using the 6678EVM

Can you give me an example or tell me were I can find more information.

 

Tommy Segerback

  • Hi Tom,

    The procedure for creating the boot table is same as I2C boot mode.

     

    Thanks,

    Arun.

  • can you send me an example ?

     

  • You can use the PLL fix example in the external wiki. Check the link below.

    http://processors.wiki.ti.com/index.php/Main_Page

     

    Thanks,

    Arun.

  • Tommy,

    I have essentially the same question for my C6657 design.  Did you ever get an answer or find an example?  Thanks.

  • Yes I did but it was not easy , the documents are useless. I am not finished with this project yet, I will continue to solv it during this yaer.

    cl6x -c -o2 -mv6400+ -g --abi=eabi -as -ss example1\example1.s
    cl6x -z example1\example1.cmd --map_file=example1\example1.map -o example1\example1.out
    rem cl6x -mv6600 -g --gen_acp_raw --display_error_number -z example1\example1.cmd --diag_warning=225 -z -m example1.map -i"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o example1/example1.out example1.obj

    pause
    echo ** Create BTBL (Bootable file) **
    hex6x %1\%1.rmd -map %1\%1.rap
    pause
    echo ** Create SPI file (Convert boot table into multiple blocks) **
    utils\b2i2c %1.btbl %1.btbl.spi
    pause

    echo ** Create CCS file (Convert into CCS dat file format plus a header for SPI) **
    utils\b2ccs %1.btbl.spi %1.spi.ccs
    move /Y *.btbl ".\Intermediate files" >> NUL
    move /Y *.btbl.spi ".\Intermediate files" >> NUL
    pause

    echo ** Create SPI CCS file (Merge SPI boot parameters and boot tables) **
    romparse %1/nysh.spi.map

    pause
    echo ** Create LE dat file (Swap bytes for Little Endian) **
    utils\byteswapccs i2crom.ccs spirom_le_swap.dat
    copy spirom_le_swap.dat .\norwriter

    pause
    utils\ccs2bin -swap i2crom.ccs spirom_le.swap.bin
    move /Y *.ccs ".\Intermediate files" >> NUL