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.

Program the C5515 EVM for Standalone Mode

Other Parts Discussed in Thread: TMS320C5515

Hello Everyone,

 

I've been trying to figure out how to program my C5515 board in standalone mode (the model number is TMS320C5515 EVM); I am trying to upload the proper files in order to run either the SPO2, ECG, or Digital Stethoscope add-on boards. After following the documentation, I have been able to load the programmer.out file in Code Composer Studio v4; however, I am stuck at this point. The command prompt in CCSv4 reads:

Choose the device...
0XX - CPLD setup only
1x - NAND Flash [CSx: 2,3,4,5]
2x - NOR Flash [CSx: 2,3,4,5]
3x - SPI EEPROM [x=1: EVM, x=2: USB Stick]
4 - IIC EEPROM
5 - MMC;  6 - SD

I'd rather not choose a random memory block because I don't want to overwrite any pre-existing firmware that the board needs to run; is there a specific memory block that works better than the others? Also, do I still need to create the program.bin file using hex55? See this forum post: http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/35338/123239.aspx#123239. The process on how to do that is slightly confusing since I have no way of opening hex55 (double-clicking the file doesn't work, and I am not sure how to load it in CCSv4).

 

Thank you very much from a beginner,

Zach Dean

  • Hi Zach,

    For the C5515 EVM, the NAND is the place you can program your MDK code. The default demo program should be in the SPI EERPOM, so if you use NAND the default demo will be safe. However, please note that you can't select the boot-up memory that you want to boot from with the C5515. There is a fixed boot-up sequence which starts from NOR.

    NOR -> NAND -> SPI -> I2C --> MMC/SD (secure only) -> USB (secure only).

    NAND memory on the C5515 EVM is connected to EMIF CS4 of the C5515, so please type:

    "141FILE_PATH"

    For example:

    141C:\WorkTI\SW\C5505_tool\hex\output\ECGSystem.bin

    Please also note that the file path should not include any blank.

     

    For creathing a bin file, yes you need to use the hex55.exe tool. Please put the hex55.exe and any .out file that you want to convert in the same folder, then make a batch file and just execut the batch file on command window. Here is an example of a batch file.

    hex55 -boot -v5505 -serial8 -b ECGSystem.out -o ECGSystem.bin

    You can modify the file names as you want.

    Good Luck!

    Best Regards,

    Peter Chung

     

  • Thanks for the help Peter,

     

    I successfully created the .bin file, but I was unsuccessful when I tried to place my code in the NAND memory. Here is what the CCSv4 console shows:

    Choose the device...

    0XX - CPLD setup only

    1x - NAND Flash [CSx: 2,3,4,5]

    2x - NOR Flash [CSx: 2,3,4,5]

    3x - SPI EEPROM [x=1: EVM, x=2: USB Stick]

    4 - IIC EEPROM

    5 - MMC;  6 - SD

    12

    Operation to perform...

    0 - CPLD setup for this device

    1<file> - Program device with <file>

    2<file> - Read device data to output <file>

    141C:\MDK_SpO2System_C55515EVM\SpO2_System_v5_1\Debug\SpO2.bin

    NAND Flash...

     

    I waited for twenty minutes for it to finish programming, but it stayed at the "NAND Flash..." text. I'm not sure if I'm correctly loading programmer.out file or if I'm missing a step somewhere (do I need to load a programmer.bin file before loading the SpO2 file?) To load the programmer.out file in CCSv4 I first debug my SpO2 project, then I go to the "Target" menu and "Load Program" before running the programmer.out file to get the text you see above. It seems a little roundabout to me.

     

    Thank you again for the help,

    Zach Dean

  • Zach,

    Your input was not correct. I am sorry if I did not give you enough information. Please do as below.

    Choose the device...

    0XX - CPLD setup only

    1x - NAND Flash [CSx: 2,3,4,5]

    2x - NOR Flash [CSx: 2,3,4,5]

    3x - SPI EEPROM [x=1: EVM, x=2: USB Stick]

    4 - IIC EEPROM

    5 - MMC;  6 - SD

    141C:\MDK_SpO2System_C55515EVM\SpO2_System_v5_1\Debug\SpO2.bin

    It should work. 

    Best Regards,

    Peter Chung

  • Hello Peter,

     

    That worked! Thank you for your help.

     

    Sincerely,

    Zach Dean

  • I am glad I can help you out. Good luck to you. -Peter

  • Dear All

    Thanks for the information. I am trying to test the MDK ECG and SPO2. I am using the following HW and SW-

    - EVM 5515

    - ECG AFE Board

    - SPO2 AFE Board

    - CCS 4.1

    -Windows-7

    I did the following steps-

    - Made the ecg.bin and spo2.bin using the Hex55.exe and the *.bat file as shown above.

    - Connect the EVM+ECG/SPO2 by the USB -> CCS4.1-> connect

    - Load the programmer.out

    - Run, then the console of CCS4.1 shows the menu to select the memory location as shown above

    - I selected the NAND (put 141"Path of *.bin" )

    - Power off the board -> disconnect the USB cable

    - Power on again

     

    I got the following-

     

    - For ECG there is only few white lines on the top of the LCD

    - For SPO2 no display (Dark LCD)

     

    Now I can't understand where is the problem, it may be the followings-

    - The ECG/SPO2 program (.out) file is for 5505, not for 5515

    - Any jumper setting problem in the EVM

    - Boot-up problem from NAND (I tried it for NOR, could not load the .bin there)

     

     Need help....

     Thanks

     

  • I attached a bin file for the SpO2. Please try and let me know if it works for you.

    SpO2_5515.bin
  • It works. Thanks a lot.

    What is the difference between the file i'm creating and yours?

     

     

  • Gazi,

    It looks that you need to get the right code for your C5515 EVM. Please go to http://code.google.com/p/c5505-ezdsp/ and download the SpO2 under C5515EVM.

    Regards,

    Peter Chung

     

  • Dear all,

    I have bought few months ago the StethSystem kit and I'm trying to program the C5505EVM  (in stand alone mode) using CCS v3.3 IDE relesed when I've acquired the Medical kit.

    I've used the converter hex55 v 4.3.6 obtaining the file : "STETHSystem.bin"

    The problem is that when I run the file "programmer out" and insert:

    141C:\C550x_MDK_DigSteth_Application_Code\StethSystem_v_0_9\Debug\STETHSystem.bin

    the message is:

    NAND flash...

    If I stop run, the message is:

    Cannot find "nand_flash.c"..

    Need help...

    Best regards

    Gennaro

     

     

     

     

     

     

  • Peter

     

    Thanks for your support.

    I've already got those file and ECG is also OK.

    Regards

    Gazi Ehsan

  • Do you have a C5515EVM or VC5505EVM?

  • Gazi,

    Your are welcome.

    Peter Chung

  • Dear Peter,

    I've the VC5505EVM.

    Thank you very much for your response.

    Best regards

    Gennaro

  • Gennaro,

    The VC5505EVM does not have on-board memories, so you can't program the code into NAND. You need a separate memory board. Do you happen to have it? If not, we do have have it anymore.

    BTW, the VC5505EVM is discontinued. Do you have C5515EVM? Then you get the stethoscope code from  http://code.google.com/p/c5505-ezdsp/. The C5515EVM has on-board memories.

    Regards,

    Peter Chung

     

  • Dear Peter,

    I haven't a separate memory board..Please could you post me the link, of what kind of NAND I can buy from TI?

    Anyway, If I buy the NAND It's possible load on board the firmware of stethoscope (version C5015EVM) from the link that you have posted? 

    Moreover I've tried to load on VC5505EVM the firmware form  http://code.google.com/p/c5505-ezdsp just  in debug mode, but It doesn't show the display on board,

    while the old version of stethoscope firmware (v_09) properly work (but just in debug mode).

    Best regards

    Gennaro

     

     

     

     

     

  • Gennaro,

    The one on the code.google.com is for the C5515EVM, it won't work for the VC5505EVM. I don't think you can purchase the memory card that I mentioned. The best way is to get the C5515EVM. Please contact your local sales representitive for the C5515EVM. Hopefully you can swap the boad. Sorry that I can't help you on the memory card for the VC5505EVM.

     

  • Dear Peter,

    Can i use the SPI EEPROM or the I2C EEPROM on the EVM5505 for it to work as a stand-alone with the SpO2 AFE ?

    I have two boards a EVM 5505 with on-board VC5505 and a custom board with C5505.On both the boards the SPI EEPROM shows a write error while flashing the bin file using the programmer.out. While the I2C shows "Programming complete ", but does not initialize as a stand-alone.

    I have included PLL settings in my code.

    Regards

    Abhishek

  • Hi,

    I am using the C5515EVM and trying to boot an image file on the NAND Flash. I use the hex55 command and get the expected output from the program. But I cannot see the new file created. Attached is a snapshot of my command prompt before and after running the code. I have ensured that the directory is not write protected. Any help would be highly appreciated.

    I have also used the "-b" option on the hex55 code but still failed to create the .bin file.

    Thanks,

    Dipanjan

  • I cannot see anything wrong with it. Attached is my try with exact command. Do you have another PC to try?

    8461.hex55.rtf