We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello All,
I have connected my target board via a JTAG connector to ARM DStream and using ARM DS-5 to debug it. I would like to know the mapping of nSRST and nTRST reset signals of ARM DS-5 eclipse environment. Does Connect/Disconnect to target drive the nTRST signal and Reset.system drive the nSRST signal through DS-5 ? Please correct my understanding if I am wrong.
Also, I would like to know is there any other method (any command line utility) to drive these signals without ARM DS-5 ? Please help. Thanks in advance.
Hi amitm,
The behaviour of DS-5 and DSTREAM on first connection and on reset with reset.system is determined by the settings in the ".rvc" file for your target board, which contains entries like this:
<ResetOperation Type = "UInt32">0</ResetOperation>
<TResetOnInitConnect Type = "UInt32">1</TResetOnInitConnect>
<SResetOnInitConnect Type = "UInt32">0</SResetOnInitConnect>
<ResetHoldTime Type = "UInt32">100</ResetHoldTime>
<PostResetDelay Type = "UInt32">1000</PostResetDelay>
<nTRSTHoldTime Type = "UInt32">10</nTRSTHoldTime>
<nTRSTPostResetTime Type = "UInt32">10</nTRSTPostResetTime>
<DoSoftTAPReset Type = "UInt32">1</DoSoftTAPReset>
<Linked_SRST_TRST Type = "UInt32">0</Linked_SRST_TRST>
<AllowICETAPReset Type = "UInt32">1</AllowICETAPReset>
<AllowICELatchSysRst Type = "UInt32">1</AllowICELatchSysRst>
These settings are described in the "ARM DS-5 Using the Debug Hardware Configuration Utilities", section "Debug hardware Advanced configuration settings":
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0498h/CEBBFAJI.html
If you need to change these settings, you can do so simply editing this file using a text editor.
Alternatively, if you would like to create a fresh ".rvc", you can do so using DS-5's Debug Hardware Configuration utility (dbghwconfig). This also allows you to customise the reset behaviour via its "Advanced" tab - see screen-shot below and:
"ARM DS-5 Using the Debug Hardware Configuration Utilities", section "Configuring the debug hardware Advanced settings"
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0498h/CIHGABDH.html
Hope this helps,
nSRST and nTRST can also be driven directly from the command-line using the "CSAT" tool.
See the CoreSight Access Tool (CSAT) User Guide
http://infocenter.arm.com/help/topic/com.arm.doc.genc008687b/GENC008687B_csat_user_guide.pdf
Section 4.25 Reset Target.
Thanks a lot Stephen for answering my query.