SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By Solderburns
#192417
I have an issue with the STLINK v2 ISOL connected to a STM32F407 micro controller when using OpenOCD (0.9.0) on Linux:

I want (or better need) to debug it using the JTAG transport. So what I did was using this configuration:
Code: Select all
source [find interface/stlink-v2.cfg]
transport select hla_jtag
source [find target/stm32f4x.cfg]
reset_config trst_only
I have no System Reset available on the board's connector, which is why it is trst_only.

The thing is, that it does not connect to the chip at all.

I wired VDD, GND, JNTRST, TMS, TCK, TDI, TDO (accoring to ST UM1075 chapter 4.2). Whenever I try to connect, it finally ends up with claiming the target voltage being too low (see debug log here: http://pastebin.com/raw/yJDvawwJ)

However, connecting JNTRST and TDI to ground and using the SWD transport, it works without problems - also detecting a sufficient voltage (see debug log here: http://pastebin.com/raw/JMuJ1CvS)

BTW: I have perfect 3.3V on the supply pins when I measure the voltage with a multimeter.

When using the ST-Tool under Windows I also cannot connect using JTAG, whereas SWD has no problems.

Any idea what is going wrong here? What configuration am I missing?
By hsutherl
#192463
Weird. It almost sounds as if your STLiNK v2 ISOL has subtle issues. The code in your STM32F407 is not re-purposing the TDI or JNTRST pins?
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]