Topic : how to use Rlink JTAG

Forum : ARM

Original Post
Post Information Post
July 8, 2010 - 12:37pm
Guest

hi,
i am using RLink Programmer/Debugger for programming STM32F103ZET6 in my target board "STM3210E-EVAL".

i am having problem to connect with the target board using JTAG protocol.

In Options Dialog Box, when i select PROTOCOL > SWD , all functions work properly
i.e,
i) Connect to Rlink and read serial no.
ii) connect to target and display information
iii) Erase Target now
iv) Write target flash now

In Options Dialog Box, when i select PROTOCOL > JTAG (& in JTAG parameters, check on single device, JTAG clock is 4000 KHz), only function (i) works. Rest of the functions do not work and it shows the error message
"unable to read IdCode. please check that the target is connected".

kindly guide me to use JTAG protocol properly.

Replies
Post Information Post
+1
0
-1
July 8, 2010 - 2:34pm
Raisonance Support Team

Hi,

After connecting using SWD, you have to power the board OFF and ON to return to JTAG mode.
Please first check that.

If that does not solve the problem, then the most likely explanation for your problem is that one of the signals used for JTAG and not for SWD (TDI or TDO) is not correctly connected on your board. Or maybe one of the anex signals. (RST or TRST) Please see the JTAG connector here (All signals are required if the CPU provides them.):
http://forum.raisonance.com/viewtopic.php?id=2449

Best Regards,

Vincent