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.

Compiler/TMS320F28379D: Uploading Code on Flash Memory

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE,

Tool/software: TI C/C++ Compiler

Hi,

 I have little bit confusion uploading code on Flash Memory . When i have referred TI links For Flashing Programming , Mentioned the Password,CSM_RSVD in FLASH LINk CMD file .Without Password if i am upload to my launchbad whether it cause password ? I want run my application  from flash after reset .

  • Hi,

    You have two different device linker cmd file. Your query is about which device ? 

    Regards,

    Vivek Singh

  • Hi,

       My question is without OTP(Password ) we can upload our code into FLASH meomry or not?

       shall i upload c2000ware all((API and Bit-fileld codes)) example codes  in flash mode ? whether  need any modification?

       Previously i asked doubt about  tms320f28379d linker cmd file( Launchpad example code ). Linker file doesnt have password and CSM_RSVD.

       OTP         : origin = 0x3D7800, length = 0x000400     /* on-chip OTP */
       CSM_RSVD    : origin = 0x3F7F80, length = 0x000076     /* Part of FLASHA.  Program with all 0x0000 when CSM is in use. */


     

  • Hi,

    On a device where the Password has not been programmed yet(which is still reflecting the default password), you can directly load the code to Flash memory.  

    Hope this clears your confusion.

    Please click on "verify answer" button if this response answers your query.

    Thanks & Regards

    Pramod

  • Hi ,

     Thanks a lot. One more doubt suppose if i added password in my code and upload it. Then how i can unlock  it . What's procedure ?

  • Hi,

    You could use the GEL file to update the new keys as per the new password. 

    Please click on "verify answer" button if this response answers your query.

    Thanks & Regards

    Pramod

  • I would recommend using flash plug-in GUI instead of Gel file for unlocking device because that is used for re-loading the flash as well. Gel file method is good for debugging the code only. Once you open the GUI of flash plug-in in CCS (after connecting the target click on Tools -> On-Chip Flash), you can enter the correct password keys in specific fields and then click on unlock icon to unlock the device. Same password will be used by flash tool to unlock the device when you re-flash the secure device.

    Regards,

    Vivek Singh