Topic : RLINK JTAG for Embedded STR712

Forum : ARM

Original Post
Post Information Post
October 16, 2012 - 9:20pm
Guest

We have purchased a RLINK USB development unit. This is being connected to an embedded STR712FR1 in a existing design with JTAG pins. We are trying to connect to embedded processor and all we can get is Error 0x303 – Unable to read ID code.

We have read through the form and tried all suggestions but no change.

What is confusing is the suggested jTag Reset circuit minimal requirement just to get past IdCode.
Is it necessary to build extra reset circuit just to connect to target? Should not all that needed is connect JTAG signals with proper Pull Ups?

What is the very minimum basic circuit connection to get RLINK to talk to embedded device?

Replies
Post Information Post
+1
0
-1
November 8, 2012 - 7:29pm
Guest

Here are two Ride projects

One with HSE set to 16MHZ which does not work – no matter what we set HSE to in the stm32f10x.h file it is always 8MHz after boot up and config

The other uses HIS with default of 8MHZ which does work. But we need to use an external clock other than 8MHz

In other development tools we have always been able to configure the target Clock – we can not find anywhere in RIDE where we can do this other then the stm32f10x.h file which seems to have no effect.


This must be something very simple as it is a basic requirement to set target clock. We have seen some postings on the topic which seems very convoluted.

Simply put – how do we se the HSE to 16MHZ and have it take effect?

+1
0
-1
November 9, 2012 - 9:52am
Raisonance Support Team

Hi,

There is no place in Ride for this because it is part of the ST lib, not Ride.

stm32f10x.h (or other files in some versions of the lib) is the place to do it.

Please confirm that you recompile the ST lib files. Keep in mind that the ST lib is, technically speaking, not a library but rather a set of templates and examples. This means you have to recompile it when you change some parameters, like clock speed. This is a common confusion due to the "lib" name.

Please also confirm that you use the latest version of the lib, downloaded from the ST website.

If you want to send us a project, please send it by email to and include a link to this thread in the text of the email.

Best Regards,

Vincent

+1
0
-1
November 9, 2012 - 4:52pm
Guest

I have sevt both projects via email - thanks for looking into this as we can not fined were else to change the clock define