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.

CCS/TMS320F28062: Compile Code for production to flash via serial with CSM enabled

Part Number: TMS320F28062

Tool/software: Code Composer Studio

Hello again,

I have a question and I hope this time I get a qualified answer and not again the hint to read one out of the thousands of spruh/sprah or anything else pdfs that only contain parts of the answer but never give a full description...

So here is the problem. 

I have developed a solution. The F28062 needs to be secured via CSM. The F28062 will be assembled on a PCB without any firmware so the firmware will be flashed into the Chip via serial Port.

All that I found in this ocean of snippets of the solution was, that I can program the password into the Chip while debugging within CCS.

So could someone please tell me, what are the single steps to compile/build an Output file that I can flash via serial to an fresh and empty device with csm enabled?

It would also be great if someone could tell if it will work with the f28069_flash_kernel out of the box.

Thanks in advance

EDIT

How is production, with csm enabled, done at all?

  • Ok,I found this thread "e2e.ti.com/.../438643" which seem to be a step further to the solution, but still the problem persists on how to modify the "flash_kernel" to unlock the Chip
  • First, you will need to build your flash application with the CSM passwords linked to the proper location. You can do this by including the F2806x_CSMPasswords.asm file into your CCS Project. This will create a flash image (.out) containing the CSM passowords to be programmed.

    Second, you can use the serial flash programmer and the f2806x_flash_kernel to accomplish your non-JTAG flash programming.

    Please see www.ti.com/lit/sprabv4

    The serial flash programmer and the sci flash kernel should accomplish the programming part for you. You will only need to boot the device to SCI and also convert your flash .out to a text file using the Hex2000 utility to get it into the proper format for the bootloader and the SCI flash kernel. You can find the information on how to do this in the Application Report, as well as the Post-Build steps of the kernel itself.

    Hope this helps.
    sal