<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Error: flash driver &#039;stm32x&#039; not found when running openocd</title>
		<link>http://forums.leaflabs.com/topic.php?id=1306</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:24:55 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1306" rel="self" type="application/rss+xml" />

		<item>
			<title>defuzo on "Error: flash driver &#039;stm32x&#039; not found when running openocd"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1306#post-10219</link>
			<pubDate>Mon, 16 Apr 2012 12:57:09 +0000</pubDate>
			<dc:creator>defuzo</dc:creator>
			<guid isPermaLink="false">10219@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Oh, good!&#60;/p&#62;
&#60;p&#62;Then you or any admin can modify the wiki:&#60;br /&#62;
&#60;a href=&#34;http://wiki.leaflabs.com/index.php?title=Maple_JTAG_How_To&#34; rel=&#34;nofollow&#34;&#62;http://wiki.leaflabs.com/index.php?title=Maple_JTAG_How_To&#60;/a&#62;&#60;br /&#62;
(that says &#34;Olimex's ARM-USB-TINY&#34; not supported)&#60;/p&#62;
&#60;p&#62;I have brinked my Leaflabs, and have borrowed same jtag as yours. BUT, cant get it top work. I dont copy the 2 last lines u added &#34;..flash=bank $_FLASHNAME stm32f1x..&#34;. Where does these lines goes?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mark Barton on "Error: flash driver &#039;stm32x&#039; not found when running openocd"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1306#post-7941</link>
			<pubDate>Sun, 29 Jan 2012 19:45:01 +0000</pubDate>
			<dc:creator>mark Barton</dc:creator>
			<guid isPermaLink="false">7941@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Success! I had to change the debug and flash scripts in .../support/openocd for openocd version 0.5.0 and to support the Olimex USB JTAG Tiny-H device. Here are my changes. &#60;/p&#62;
&#60;p&#62;--- This is needed for openocd version 0.5&#60;br /&#62;
Copy debug_0.4.cfg and flash_0.4.cfg to debug_0.5.cfg and flash_0.5.cfg respectively.&#60;/p&#62;
&#60;p&#62;----Required for the Tiny-H JTAG device&#60;br /&#62;
Replace: ft2232_device_desc &#34;Olimex OpenOCD JTAG&#34;&#60;br /&#62;
With: ft2232_device_desc &#34;Olimex OpenOCD JTAG ARM-USB-TINY-H&#34;&#60;br /&#62;
Replace: ft2332_vid_pid 0x15ba 0x0003&#60;br /&#62;
With: ft2332_vid_pid 0x15ba 0x002a&#60;/p&#62;
&#60;p&#62;----Apparently the driver name was changed so as to support other STM32 devices&#60;br /&#62;
Replace: flash bank bank0 stm32x 0x80000000 0x00020000 0 0 $_TARGETNAME&#60;br /&#62;
With:&#60;br /&#62;
set _FLASHNAME $_CHIPNAME.flash&#60;br /&#62;
flash=bank $_FLASHNAME stm32f1x 0x80000000 0x00020000 0 0 $_TARGETNAME&#60;/p&#62;
&#60;p&#62;I hope this will help others.&#60;br /&#62;
Mark
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mark Barton on "Error: flash driver &#039;stm32x&#039; not found when running openocd"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1306#post-7932</link>
			<pubDate>Sat, 28 Jan 2012 15:25:50 +0000</pubDate>
			<dc:creator>mark Barton</dc:creator>
			<guid isPermaLink="false">7932@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I'n using Olimex JTAG tiny-h and OCD 0.5 under Mint 11 (Olieric) and having an issue with openocd not finding the stm32x driver. Openocd was installed using apt-get.  I was under the impression the drivers were statically linked so I don't know why it could not find that particular driver.&#60;br /&#62;
The only change I have made was to  debug_0.4.cfg and changed the vendor pid to that of the tiny-h device.  I then run openocd -f debug_0.4.cfg. &#60;/p&#62;
&#60;p&#62;Has anyone else seen this issue?&#60;/p&#62;
&#60;p&#62;I guess I will give a go under Lucid and see if I have any better luck.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Mark
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
