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.

FLASH Bootloader



Two questions

I asked this question a couple months ago and was told that TI was looking into it for the future so hopefully there is a tool now.  From what I've read, the FLASHBURN program is no longer supported for newer DSP devices.  I am using CCS5, C6678. Is there a comparable program or method that I can use to write to my FLASH for so that I can use my flash as a Bootloader? 

I will have my Flash connected through the DSP EMIF.   The C66x DSP Bootloader guide SPRUGY5 is not very detailed with this, but on page 3-2 it looks like I will just need to write my code into memory location 0x70000000 on the FLASH and on startup the C6678 will automatically try to boot with my program in this location memory .  Does this sound right or is there more to booting from flash with a EMIF connection? I don't yet have a working system to test with yet.

thanks Mike

  • Hi Mike,

    ROM bootloader doesn't support Flash boot. how ever we have ibl which you can use to boot through NOR or NAND. You can get the IBL from our MCSDK package. the IBL is in 

    \tools\boot_loader\ibl within the MCSDK.

    Thanks,

    Arun.

  • Arun , your statement seems to contradict what is said in SPRUGY5, Is this right or am I reading this wrong?:

    "3.1 EMIF16 Boot

    3.1.1 Basic Boot Operation

    EMIF16 boot mode is available to boot from NOR flash in the TCI6608/C667x device

    only. In this mode, the ROM code configures the EMIF16 interface and sets the boot

    complete, then branches to the EMIF CS2 data memory at 0x70000000. No return is

    expected. No memory is reserved by the bootloader. "

    Also I am new to trying to boot from FLASH and some of what I am reading seems confusing.  Is the NOR writer that comes with the MCDSK on good for the EVM?  My system is using FLASH but it is a different part than the one the EVM uses.  Also how do I create the .bin file, which the instructions in the NOR writer file require?  My CCCS project creates a .out file so I guess this needs to be converted somehow.  Thanks Mike

  • I am sorry i meant NAND. But in the EVM we cannot do both NOR and NAND, as we don't have a NOR flash connected to the EMIF16.

    The NOR wiriter in the MCSDK is for EVM to write into the NOR that is connected through SPI. You cannot use this for your system as it is different NOR. If you can create a bin file that can be used to load into your NOR. But again this depends on your NOR type.

    Thanks,

    Arun.

  • Arun, I am new at trying to boot from my flash.  How do I create a bin file for my ccs project?  The ccs project creates a .out file when I compile.  Is there a simple conversion that can be done?

  • Arun, How do I create a .bin file for my ccs project which you mentioned earlier.  Is there an easy way to convert my project to a bin file then add this to my flash for boot.  Mike

  • Arun, How do I create a .bin file for my ccs project which you mentioned earlier.  Is there an easy way to convert my project to a bin file then add this to my flash for boot.  This is probably a routine task, I just haven't done this yet. Mike

  • Mike,

    You can use the ccs2bin file in the util that comes in MCSDK. If you check the makestg2 for compiling IBL, you can see how they are using this utils to create bin file.

    Thanks,

    Arun.

  • I see this util is for converting *.ccs files.  How does my project create a *.ccs.  My project only creates a *.out file when I compile.  I guess I'm looking at more details step by step instruction on how to use these utils in order to write my program to flash and boot .  I have a compiled project, just need the steps to get from compiled file in ccs to writing this to Flash so I can boot from here. 

  • As I mentioned in my previous post. Please check the makestg2 file to get the complete set of steps you need to do to get the bin file. It will also show how you can convert the .out to .ccs file.

    Thanks,

    Arun.