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.

Changing CSM Passwords then updating files for SDFlash

Other Parts Discussed in Thread: TMS320F2808, UNIFLASH

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.

  • Hello Phil,
    I can't comment too much on SDFlash as I don't have much experience with it and that utility is not created by TI. What I would recommend is trying UniFlash. It is a more lightweight tool for flashing than CCS and is easily scriptable. It also uses the same debug and flashing technology underneath the hood as CCS so if things work with CCS, it will likely work with UniFlash.
    processors.wiki.ti.com/.../Category:CCS_UniFlash

    Thanks
    ki
  • Ki,

    I appreciate the comment but we are in production and I'm going to have a tough sell changing programmers regardless of the cost. Besides, this should be such a simple thing to do, if only I could find the way to do it. With CCS I'm all set using the Spec Digital pod as an emulator and I can choose new passwords as I like. I've seen training slides for CCS 2 that document exactly how to do it. There has to be a way to generate programming files from within CCS. I can't believe this function is no longer part of CCS.

    Anyone out there a Spec Dig user who has used SDFlash? Come on, someone must have used it.

    Phil