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.
CPU does not run after loading an image to C28x device using latest uniflash and performing CPU Reset and run action.
To get CPU to run one of the following had to be done:
1. Power cycle CPU
2. Remove computer USB cable connected to FTDI USB. (This effectively removed power from the Isolated side as it is powered by the computer's USB)
So it seems like the software is still holding onto some reset on the JTAG.
This is an issue as my setup is remote. After programming using Uniflash, the product is bricked waiting for someone to power cycle or pull the USB cable.
I've created a ticket 2 years ago, waiting for a fix. The bug ticket says it's resolved, but it still does not work for me.
https://sir.ext.ti.com/jira/browse/EXT_EP-10393
Any suggestions would be helpful. Thanks.
Using: Windows 11, Uniflash 8.1.1.4146, XDS100v2 USB Debug Probe
Also. Clicking the CPU Reset "Reset Now" button more than once produces an error and does nothing to the CPU.
Hi Huey Duong,
I am assigning this to the tools team. They will get back to you this week.
Thanks and regards,
Vamsi
I've created a ticket 2 years ago, waiting for a fix. The bug ticket says it's resolved, but it still does not work for me.
The issue in the above ticket is for the target not running after program flash. I can confirm that this is resolved in UniFlash 8.1.1 using F2838xD. If I flash the program, the program will run successfuly afterwards.
The extra thing you are doing is CPU reset after the program load. If I do that also, then I need to power cycle like you mentioned to get it to run correctly again.
When I flash with CCS 12.2.0 and then do a CPU reset, I need to restart the program get it to run correctly again.
Hence I'm not sure if the is an actual UniFlash bug. I will need to have the C2000 experts comment further
Hi Huey Duong,
We will review and get back to you early next week.
Thanks and regards,
Vamsi
Thanks for testing this Ki. You are correct and the cpu does indeed start up if I remove the "reset CPU" option.
That being said, there is still something not quite right with the "reset cpu" feature.
2 things I've observed:
1. In uniflash, as mentioned before, the "reset cpu" does not seem to work.
2. After programming with uniflash and having CPU running, our program accepts a CLI command to reset cpu which executes "SysCtl_simulateReset(SYSCTL_CAUSE_CPU1RSN)". This also seems to just halt the CPU. Does not do a reset.
After power cycling, the CLI reset command works fine.
#2's behaviour is similar to what happens when using CCS and using the debug feature.
The original issue is resolved, not sure if you want me to create a new ticket for CPU reset.
Thanks
not sure if you want me to create a new ticket for CPU reset.
Yes please! That would be much appreciated. I will close this thread.