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.
Hi team,
Here is a question about programing the device with Uniflash and C2000-Gang.
My customer is having F280025 with DCSM OTP programed, but the device is unlocked before we try to program with Uniflash or C2000-GANG. This is achieved by receiving a command from a host processor, so the operator would have no access to the CSM password.
On both Uniflash and C2000-GANG, the errors reported are failed to unlock the device. Thus I am assuming maybe the C2000-GANG and Uniflash are trying to unlock the device with default CSM key or a reset has happened causing the device to be locked again.
Is there any possibility to stop the C2000-GANG and Uniflash from executing the unlocking?
Attaching error information we got from Uniflash and C2000-GANG tool.
Regards,
Brian
Brian,
On UniFlash, it might be from reset - we may have to remove the reset in the gel file. Also, we have an option to disable the reset that comes from the UniFlash - I will copy our UniFlash team to guide you on that.
Regarding the GANG: Please contact Elprotronic directly at support@elprotronic.com.
Thanks and regards,
Vamsi
Brian,
The GEL file to end that contains the reset is located in: <uniflash install dir>/deskdb/content/TICloudAgent/<OS>/ccs_base/emulation/gel
It would be f280025c.gel
On line 172 I see a call to GEL_Reset() which would happen just before the file is loaded.
There is also one on line 213 which would happen when UniFlash first connects to the device.
You will also want to check to see if UniFlash is set to perform a reset itself here:
Regards,
John
Hi John,
My customer is using Uniflash 6 since the Uniflash 7 is not working on their PC for some reason. Thus, this 'Reset on Connect' option is not available.
I've tried to remove the Gel_Reset in both line 172 and 213, but it still does not work.
In Uniflash, how can we determine which gel file is being used (just want to confirm we are modifying the correct file)? And any other function would cause the reset?
Regards,
Brian
Brian,
When selecting the device and connection in UniFlash the GEL file is determined by the device that is selected. There is a device xml file that has a reference to the GEL file. For C2000 that typically matches the device name selected.
Another option in UniFlash is to provide a ccxml file. This is is a target configuration file. It includes the device and connection information. People often create these in Code Composer Studio and then use them in UniFlash as well. If doing that then it would specify the GEL file to use.
What version of UniFlash v6 is the customer using? 6.0, 6.1, 6.2, 6.3 or 6.4?
What happens when they try to use UniFlash v7? Does it give an error? Does is not program? Does it not run? Does it not install?
Regards,
John
Hi,
At the startup in C2000-GANG we are unlocking the DCSM and if password is wrong then the MCU can be locked again. We should check if it is possible to connect to MCU without testing the DCSM.
Regards,
Gregory Czajkowski
Elprotronic Inc.
Is the customer on Windows 7? If so there is an issue with UniFlash 7 on Windows 7. There is a workaround for it that is covered in the release notes.
https://software-dl.ti.com/ccs/esd/uniflash/docs/v7_0/release_notes_7.0.0.html#system-requirements
"please set the NODE_SKIP_PLATFORM_CHECK environment variable to 1 before starting the GUI."
That is not needed if using the command line but is required for using the GUI.
Regards,
John
For anyone watching this thread even after removing the resets from the GEL file and the option in UniFlash there are still 2 resets occurring. One right before the flash operation to put things is a known state and one after. The team is looking for a way to disable those.
Regards,
John