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.

If gel file can be built along with project and generated out file carries its information

Other Parts Discussed in Thread: UNIFLASH

Dear TI users,

I am having a doubt, related to gel file and I would appreciate if anyone can help me.

Working environment:

CCS v6, CCS Uniflash, Control suit, Spectrum digital C2000 XDS510LC, Delfino TMS320F28335 board with docking station.

Objective:

Code security module. i.e. Lock and Unlock. 1) I want to have project1.out file to lock, 2) project2.out file to unlock. (not interested to lock/unlock using GUI of CCS or uniflash)

Current status:

1) I have been able to create project1.out file in CCS. In Uniflash I have been able to load it in delfino board. Device is locked. - SUCCESSFUL

2) I have entered correct password in f28335.gel file and drag & drop it into CCS project explorer. If I click debug in CCS, it unlocks my device but .out file does not carry the entered password information (which was added in gel file). So I do not get any .gel file to unlock device.- UNSUCCESSFUL

Question:

I want to know if .gel file can be built along with project and generated .out file carries its information. FYI, my final objective is to have two .out file of my project which I will be loading in my own designed card by SCI-A boot mode (I have hardware control to select boot mode by setting GPIO84, 85, 86, 87 to logic 0,1,1,1). At that time I will not have any JTAG option so I will not be able to use CCS or Uniflash GUI.

Thanks in advance.

Regards,

  • Anjan,

    >> I want to know if .gel file can be built along with project and generated .out file carries its information.
    GEL is a scripting language completely tied to the Debugserver engine (what powers CCS and Uniflash). Therefore, without an active debug session your GEL file is completely inoperative.

    I may not have fully grasped the idea of what you are trying to accomplish, but from what I understand it seems you will have to somehow implement a way to unlock the CSM from inside your project1 or boot from serial as suggested in section 5.8 of the CSM FAQ:
    processors.wiki.ti.com/.../Code_Security_Module_FAQ_for_C2000

    Also, I will move this thread to the C2000 device forum so the experts there may have additional ideas.

    Hope this helps,
    Rafael
  • Dear Rafael,

    Thanks for your kind help. Please let me understand how can I create a .out or .hex file which can be used to be programmed by SCI boot mode (CCS, Uniflash, JTAG interface will not be there; hence not possible to use gel file)...

    Thanks once again.