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.
Our 280049 software project is ok and ready for mass production , now we need to burn the executable file into the chip through the burning tool, we have carried out encryption configuration in the software, which uses THE OTP of DCSM, in addition, we also know that we need to write ECC, which is very different from the 2803x DSP we used before. When we used 2803x DSP, we used hex files generated by HEX2000 and burned the HEX files to DSP through a third-party burning tool. Now how can we configure HEX2000 to generate HEX files containing both Flash, OTP and ECC content? So that we can burn the HEX file into the 280049 chip with the same effect as using CCS+JTAG?
now our hex2000 cmd file is:
-i
-memwidth 8
-romwidth 8
-i P280049U1.out
-o P280049U1.hex
ROMS
{
ROMBoot: o=0x100000 l=0x020000 //this borrow from 2803x config; this only include flash content, i don't kown how to add OTP and ECC or other content i need
}
Foriner,
OTP content should be there in hex output along with Flash content. Did you face any specific issue in getting the OTP content in to your hex image (but not in .out)?
For ECC, when using the flash API for program, you can use the Fapi_AutoEccGeneration mode and it will automatically program the ECC along with the data. Is this acceptable for your application?
Flash API guide and the flash API usage example in C2000Ware explain/show the usage of Fapi_AutoEccGeneration mode. Let me know if you have any specific questions in using that mode.
Flash API guide: http://www.ti.com/lit/pdf/spnu628
Flash API usage example path: C2000Ware_3_04_00_00\driverlib\f28004x\examples\flash\flashapi_ex1_program_autoecc.c
Flash API wiki: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/951668
Thanks and regards,
Vamsi
i think you have misunderstand my question.
i just want you to knowed me how to config hex2000 CMD file so that the OTP can write to DSP through using HEX file
thank you!
Foriner,
Your previous description was not clear. Thank you for the clarification.
Please search for below question in the flash API wiki that I shared in my previous reply.
How can we program a field in USER OTP?
Thanks and regards,
Vamsi
thank you, i have define the OTP of DCSM in CMD file, and it should in executable file (out file) .
now my question is how to config HEX2000's "hcf "file to let HEX2000 know to produce HEX file that include OTP content,
thank you
Foriner,
There is not anything specific that you should do for OTP when using HEX2000.
Did you notice that the OTP content not present in the hex output?
Thanks and regards,
Vamsi
OK, OTP's problem is solved, but now, i don't know how to config ECC so that the HEX file have ECC content and can be down into 280049?
can you explain the config details and attention, Our third-party bulk burning tool does not have ECC generation function and only accepts HEX files
containing ECC
Foriner,
Are you sure that your 3rd party does not use the Fapi_AutoEccGeneration mode when programming the image? What is the 3rd party tool name that you are using?
Thanks and regards,
Vamsi
After cooperating with our 3rd party, we have solved this problem. thank you.
my original thought was how can we produce a HEX that including ECC.
Foriner,
Glad that your 3P is supporting AutoEccGeneration. Almost all of the 3Ps support automatic ECC generation for C2000 devices.
Regarding the ECC inclusion in hex: We do have linker options that you can enable in CCS as a post build step - You don't need to use them since your 3P supports AutoEccGeneration.
I am closing this post.
Thanks and regards,
Vamsi