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 TMS320F28069 from .out file and without debug

Other Parts Discussed in Thread: UNIFLASH

Hi all,

I've always worked with CCS in debug mode from the project, I programmed my chip trough  XDS100V2 usb emlator JTAG programmer.
I'm asking if there is a way to program the chip using the .out file and avoiding to launch debugging.
Thank you

  • Hi Nicola,

    You can simply use CCS Uniflash tool that can program your device by using the .out file.

    Regards,
    Gautam
  • Hi Nicola,

    You can try this way out if you want to do using CCS. You can do this method if you maybe have the .out file already generated.

    - Open View->Target Configurations. This should open a window on the right side. Here inside projects, you should be able to locate your project and the corresponding ccxml file

    - Right click on the ccxml file for your project and click Launch Selected Configuration. The debug window should launch with your target configuration.

    - You can now see the C28x cores on your device (CPU and CLA). They will all be disconnected by default. You can now selectively choose to connect to a specific core and load code for that

    - To connect to a specific core, select that and go to Run->Connect Target. The debugger will now and go and launch a connection to the specific core.

    - To load the program associated with a specific core, just choose Run->Load->Load Program and provide path for your output file.

    - The program will load to flash or RAM depending on your config. If the source code for the program is available on your workspace, from here you can even launch a debug.

    Regards
    Nishant
  • Hi, Thanks a lot of all.
    I have used CCS uniflash and it works very well.
    But I have locked my chip for avoid reverse engineering with
    Key 7=FFFF;
    Key 6=FFFF;
    Key 5=FFFF;
    Key 4=FFFF;
    Key 3=FFFF;
    Key 2=FFFF;
    Key 1=FFFF;
    Key 0=ABCD;
    and my chip locks very well.
    My problem is that is impossible (for me) unlock the chip now!!!!!!!!!!!!!!
    I use same security code and the error message is: Error-1015 @0x0.
    Please Help me
  • Hehe... I was stuck in the same situation 3 years back and I thought that I lost the chip!
    Here's what you've to do: Put your device in the Wait mode (By configuring BOOT pins) -> Restart your device (Device will then go to wait state) -> Now Unlock the device and erase it. You passwords would be removed then.

    Regards,
    Gautam
  • Thanks Gautam,
    all works fine.
    But how can I insert the password lock via C code?
  • Hi.

    In your program directory, look for a file named like DSP2806x_CSMPasswords.asm. In that file you should see the 128 bit password listed by PWLx bits. Change it to whatever you want and then build and download the code.

    Thanks
    Nishant
  • Thanks a lot.
    I found it.
    It's a pleasure use TI device.
    LONG LIFE TO e2e!!!!!!