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.

vc5505 EVM not booting from spi flash

hi,

 

I'm a newbie to TI's DSP platform. I've a c5505 EVM from digital spectrum.  I've read the booting procedure which seems as follows.

1. Convert the project.out file into binary hex file using hex55 utility.

2. load programmer.out application using jtag emulator.

3. run the programmer.out which will prompt for media to boot from.

    for spi flash it turns out to be 31.

4. then it prompts for binary hex file to be programmed to flash.

    when i give the binary file

it shows : input file opened

finally programming completed.(something like that).

 

but when I reset the device it doesn't boot from spi flash.

 

 

one thing I also want to mention that when I apply the same procedure after building the demo project EVM_Sample It does fine and the device boots up from spi flash.  But when i try the same procedure for other examples given in c55xx_csl folder then it doesn't work at all.

what is the difference between the project EVM_Sample and other examples given in c55xx_csl folder?  and one thing that I've noticed while building EVM_Sample is it gives a warning  : entry-point symbol other than "_c_int00" specified:  "reset_isr".

what does this mean and does it make any difference? any help in this regard would be worthwhile.

 

Regards,

Abhishek

  • Abhishek,

    If you are building a project from the CSL library, you need to make sure your workspace is the c55xx_csl folder so it will include all the necessary files for it to work.

     

  • Hi Juliana,

     

    I did exactly the same way as you mentioned; making c55xx_csl folder as the workspace. And most of the projects are compiling with two or three warnings and running also on the EVM through emulator and debugger in ccs environment (executing from RAM). But when i make the binary hex file and burn into the SPI flash then the EVM is not booting from the flash. still wonder where am I faulting..

    Could you tell me the ccs version on which the library is written upon, becoz I'm using CCS v4.1.2. Does the different compiler version matters in the case?

     

     

     

     

  • The compiler version only matters when you are trying to use ccs3.3 examples and you have to convert the projects. If you're using projects for CCS4 then you should be ok.

    If you got the EVM_Sample to boot from SPI Flash, then the problem is not with the flash, it's with the boot image. What commands did you use to create the boot image?

  • hi,

    I used the following command from command prompt to create binary image as described in "Using Tms bootloader document".

     

    hex55 -i projectname.out -o projectname.bin -boot -v5505 -b -serial8

     

    Also I noticed subtle difference between Linker command file of other c55xx_csl examples and EVM_Sample project. there is the following comment in the file

    /* Set entry point to Reset vector                                  */
    /* - Allows Reset ISR to force IVPD/IVPH to point to vector table.  */
    /*-e reset_isr */

     

    What does it means?

  • Abhishek,

    The reason why you can't boot from SPI using the CSL examples is because these examples rely on the GEL file for the program to load and have all the correct settings (such as PLL), but the DSP bootloader does not have the GEL file included in it. You need to include the initialization steps in your user code.

    Reference:

    http://processors.wiki.ti.com/index.php/C5515_Boot-Image_Programmer#Common_Mistakes_in_Boot_Image_User_Code