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.
Tool/software: Code Composer Studio
I inherited a project that is currently in production. A year ago I made some fixes but kept the passwords the same. I've recently had to make a few code changes to fix a couple of new bugs we found and made a few enhancements. I'm getting ready to release this to production but since the previous engineers on this project left the company for a competitor I thought it would be a good idea to change the CSM Passwords. In CCS this is easy. I have been able to run the emulator to debug everything and reprogram a number of devices for field trials.
My problem is that in production, we use SDFlash to program our product and we don't want to have operators trying to using CCS. We want a script or batch file that can get called from some other program.. We currently use a batch file that calls the SDFlash.sdp file (which is a text file) that in turn uses SDFlashxxxx_Erase.out, Program.out and Verify.out (which are data files). Somehow I need a way to get SDFlash to start using the new passwords and I expect they are embedded the 3 aforementioned .out files. I can't seem to find any documentation that tells me how to take a .out file from CCS and get SDFlash (or maybe you can do it in CCS but I can't find anything that tells me that either) to create the Erase,Program and Verify.out files. I've poked around in the SDFlash tool but don't see a way to edit passwords. I even tried to create a new SDFlash file but it doesn't create the erase, program and verify files.
I can use the existing SDFlash files to reprogram boards if I don't change the passwords. We have a large stock and need a way to do that. I'm okay if I need separate SDFlashxxx_Erase.out file to erase the old password. I'd also be okay with a CCS generated script that uses the SD pods if anyone can point to a way to do that.
I don't believe it matters but I'm using CCS 5.5, SDFlash 5.5 and the target is an TMS320F2808.
This is a re-post. Never got an answer that was useful. The replies all centered around using Uniflash. Provided links did not answer basic questions which are:
1) What is a solid compatible emulator to use with Uniflash? Have a new design but uses 14 pin interface from DigSpec XDS510LC including TMS,TCK,TDI,TDO,TRST,EMU0 and EMU1 along with +3.3VDC ref and GND.
2) Is Uniflash part of CCS? I can't seem to find it.
3) Does Uniflash generate erase/program/verify scripts that can be run without CCS installed? This is for production so the part can be programmed.
4) Is there a user guide that describes how to use the passwords set in CCS? I know how to set the password in CCS but there doesn't seem to be a way to generate the needed scripts.
Hi Phil,
I can help much with the SDFlash questions. That utility is developed by Spectrum Digital so they can answer them best. But i can help with the below questions:
Phil Dilmore said:1) What is a solid compatible emulator to use with Uniflash? Have a new design but uses 14 pin interface from DigSpec XDS510LC including TMS,TCK,TDI,TDO,TRST,EMU0 and EMU1 along with +3.3VDC ref and GND.
Phil Dilmore said:2) Is Uniflash part of CCS? I can't seem to find it.
No, it is a standalone utility. There are both a standalone desktop version and an on-line cloud version:
http://processors.wiki.ti.com/index.php/Category:CCS_UniFlash#New_-_UniFlash_v4_now_available
Phil Dilmore said:3) Does Uniflash generate erase/program/verify scripts that can be run without CCS installed? This is for production so the part can be programmed.
Yes. The primary purpose of Uniflash is to provide a way to program on-chip flash in production environments without the need for a full CCS installation. You can use the Uniflash GUI interface or use the command-line interface to program the device.
And yes - it can be automated from the command-line via scripts:
http://processors.wiki.ti.com/index.php/UniFlash_FAQ#Scripting
Phil Dilmore said:4) Is there a user guide that describes how to use the passwords set in CCS? I know how to set the password in CCS but there doesn't seem to be a way to generate the needed scripts.
There is a way to unlock and program passwords via script with Uniflash/DSS. See:
http://processors.wiki.ti.com/index.php/UniFlash_v3_Quick_Start_Guide#Scripting
Thanks
ki
Ki,
Thank you for the reply. I've ordered the XDS200 programmer. Unfortunately our IT dept insists on SW installs so I am at their mercy for getting Uniflash installed. I'll reply again after the tool gets installed.
Thanks,
Phil