Hi,
I am using Hercules USB stick ,I would like to hard reset the board using XDS100 from host PC's CLI.
Note: host PC is linux and windows.
Any feedback is highly appreciated.
Thanks
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,
I am using Hercules USB stick ,I would like to hard reset the board using XDS100 from host PC's CLI.
Note: host PC is linux and windows.
Any feedback is highly appreciated.
Thanks
Shrikanth,
Two options:
1) easiest, but not most effective, is to issue a 'system reset'. this will reset the CPU and peripherals on the device but it is not as effective as a full nPORRST reset. Which means some registers like sticky bits in ESM will remain unchanged by this reset.
2) more powerful, but not sure it will work without blue wires:
The lastest CCS emulation pack has added support for a "Board Reset". This is supported by the XDS100v2 but it has to be wired to the nPORRST and I am not sure if your USB stick has this connection. If it doesn't then you could try it out and if you see it toggling, you could then blue wire it to the nPORRST of the MCU.
We also have not exposed this feature yet, so while it's in CCS you don't see it yet for Hercules targets.
If you want to see the feature, you have to
a: edit the XML file for your device . For example C:\ti\ccsv6\ccs_base\common\targetdb\devices\rm48952.xml if you are using an RM48L952 part.
b: add a property: <property Type="hiddenfield" Value="1" id="Use Board Reset" /> * See below
c: you may need to restart CCS and create a new target configuration file for this target.
* This is where to add the property - adjust for your part #:
<!-- END Project Wizard Settings --> <property Type="numericfield" Value="0x02000100" id="Access Port Designator"/> <property Type="numericfield" Value="0x80001000" id="Address"/> <property Type="filepathfield" Value="../../emulation/gel/rm48l952.gel" id="GEL File"/> <property Type="hiddenfield" Value="1" id="Use Board Reset" /> <!-- Additional Core Registers -->
Now
d. launch the target configuration but do not connect to the target.
-or- if you are automatically connected to the target, do a 'disconnect'
e. look under the Run->Reset menu (you need to be in the CCS Debug Perspective)
under the options, in addition to System Reset you should now see 'Board Reset'
Issuing a 'board reset' should pulse the SRST\ pin on the 20 pin header of a standalone XDS100v2.
What I don't know is if the same pin is connected to the Hercules nPORRST pin on the boards where the XD100v2 is integrated.
But if it isn't you *could* blue wire it from the FTDI chip or Xilinx chip to Hercules.
This is most effective, because it's the same as pressing an nPORRST button or doing a cold power up.
But then I'm not sure if you need this or if you are ok w just a system reset.
Hi Srikanth,
Wanted to check if this thread is resolved now or if you have additional questions.