TI E2E Community
Digital Signal Processors (DSP)
C5000 Ultra Low Power DSP
C5000 Ultra Low Power DSP Forum
boot image programming utility in ccsv5
The boot loader document for C5515/14/05/04 (sprabd7.pdf) mentions a boot image burning utility that runs on the DSP using an emulator and CCS. It shows a screen shot of a version of CCS, I'm not familiar with (Figure 1 in section 3.4). Does CCSv5 come with this utility and if so where can I find it?
It is a .out file that can be run on CCS. You can download it via:
Please click the Verify Answer button on this post if it answers your question
Thanks for the answer. I can find no Target menu like the screenshots show. With ccsv5 I've found the following works, up to the point CIO asks for a file name:
View Target Configurations Projects right click correct .ccxml for the board Launch Selected Configuration right click Spectrum Digital DSK-EVM eZdsp onboard USB emulator etc. Connect Target Run Load Load Program (first time) browse to programmer_C5515_eZdsp.out OK Resume
After that I haven't tried yet, I haven't created my .bin yet. I'm in the early stages of preparing a boot loader for proprietary hardware.
Anyway am I on the right track here with ccsv5? I assume the target menu was an earlier rev of ccs, like 3 or 4, I have essentially no experience with them. Is that correct?
Secondly I'm using a 5509A DSK, until I get proprietary hardware which will be 5504 based. Does the same programmer work for all, assuming I have a working .ccxml and .gel script?
The programmer is for C5515 EVM. You should get a bundle of stuff from Spectrum Digital's C5515 eZDSP site:
All of these programmers targets their board's peripherals components. I would also recommend to stay with CCS4 as in Spectrum Digital's site.
I have also been trying to program my boot image into the C5515 eZdsp using CCSv5.3, and am not sucessful. It seems all the Spectrum Digital stuff is for CCSv4, and the method for CCSv4 is significantly different. How do I use CCSv5 for this?
I am still using CCS5.2 and CCS4, they are basically the same. Programmer.out can be loaded by both CCS without any issue. I have not move to CCS5.3 yet and am not familiar with the differences in CCS5.3. Can you stay with CCS5.2?
Thank you for your prompt reply. I would like to get this to work with Code Composer v5.3 because I hate reverting to older ones; it is very time consuming to get back to where I was with the present version. I would hope that CCSv5.3 is similar enough to CCSv5.2 that they work the same at the higher level.
Here is what I am doing.
I use hex55.exe to build a boot image file. That part seems to work OK.
I try to program the file with CCSv5.3 with the following steps:
Connect the C5515 eZdsp board to a USB port, then launch CCSv5.3
Click: View -> Target Configurations. The window opens.In that window: Right click on the *.ccxml file to be used (in my case, C5515eZdsp.ccxml), then click "Launch Selected Configuration".Click: Run -> Connect Target.Pull down menu under "Load" icon, click "Load Program". The box opens asking for program file.Enter "Program File" with entire path (in my case, E:\C55x5\programmer_C5515_eZdsp.out). click OKAfter 30 seconds, I get the following error message in the C window:
Can't find a source file at "C:/Documents and Settings/a0273506/My Documents/Bootloader Project/Zip Files/programmer_c5515evm/programmer_c5515evm/src/programmer.c"
I have no folder called C:/Documents and Settings. Where did that path come from?
The error message gave me a clue that I am using the wrong program, so I tried the same thing with nor_writer.out, which I got from the Spectrum Digital website. It also will not work, giving a similar error message of "can't find a source file..." but a different nonexistent path.
Maybe you recognize something here that I am doing wrong.
Since Spectrum Digital provided source code for nor_writer.out, my next attempt will be to recompile their source code in a new project and try that. At least all the file paths will be setup correctly.
If you have any other suggestions, I would appreciate them.
I did get the boot image programmed into the usbstk5515 using CCSv5.3, but it took some work. I started a new project in CCS for the usbstk5515 and copied in these files found on the web at:
From the Test Code ZIP file called "usbstk5515_BSL_RevA.zip"extract and use these files:usbstk5515_BSL_RevA/usbstk5515_v1/include/usbstk5515.husbstk5515_BSL_RevA/usbstk5515_v1/include/usbstk5515_emif.husbstk5515_BSL_RevA/usbstk5515_v1/lib/bsl/usbstk5515.c
Also download the Demo ZIP file called "usbstk1151_Demo_RevA.zip"extract and use these files:usbstk1151_Demo_RevA/USBSTK5515_demo/source/norwriter/lnkx.cmdusbstk1151_Demo_RevA/USBSTK5515_demo/source/norwriter/main.cusbstk1151_Demo_RevA/USBSTK5515_demo/source/norwriter/norflash.cusbstk1151_Demo_RevA/USBSTK5515_demo/source/norwriter/norflash.husbstk1151_Demo_RevA/USBSTK5515_demo/source/norwriter/norflash_writer.c
When the project is compiled and run, it asks for a file name in the CCS console. Give it the path and file name for the *.bin file that was made with hex55.exe. That worked OK.
I do have a question. How do I make this program an image larger than 32k?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.