<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Coretex-M &#8211; richliu&#039;s blog</title>
	<atom:link href="https://richliu.com/tag/coretex-m/feed/" rel="self" type="application/rss+xml" />
	<link>https://richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Sun, 19 Jun 2011 15:59:13 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>STM32 的 USB DFU (Device Firmware Upgrade)</title>
		<link>https://richliu.com/2011/06/19/1101/stm32-%e7%9a%84-usb-dfu-device-firmware-upgrade/</link>
					<comments>https://richliu.com/2011/06/19/1101/stm32-%e7%9a%84-usb-dfu-device-firmware-upgrade/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 19 Jun 2011 15:59:13 +0000</pubDate>
				<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Coretex-M]]></category>
		<category><![CDATA[DFU]]></category>
		<category><![CDATA[MDK]]></category>
		<category><![CDATA[MDK-ARM]]></category>
		<category><![CDATA[STM32]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=1101</guid>

					<description><![CDATA[<p>當用 STM32 (我用的是 Coretex-M 的 STM32F103ZC) 時, 如果沒有 ICE, 可以 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2011/06/19/1101/stm32-%e7%9a%84-usb-dfu-device-firmware-upgrade/">STM32 的 USB DFU (Device Firmware Upgrade)</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>當用 STM32 (我用的是 Coretex-M 的 STM32F103ZC) 時, 如果沒有 ICE, 可以用 DFU 從 USB 切入 DFU Mode, 再用 USB 的軟體升級程式. </p>
<p>我不小心弄掛我系統的 DFU, 這邊稍稍講一下如何救回來<br />
* 還是需要 ICE 的.<br />
<span id="more-1101"></span></p>
<p>我用的是 STM32 系列 <a href="http://www.st.com/internet/mcu/product/164496.jsp" target="_blank" rel="noopener">STM32F103ZC </a>進去之後, 選 Design Support.<br />
下面會有一堆軟體. </p>
<p>首先要看到的是<br />
<a href="http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/um0424.zip" target="_blank" rel="noopener">STM32F10x and STM32L1xx USB full-speed device library</a><br />
其中就有<br />
Device_Firmware_Upgrade 的目錄, 進去之後, (我是使用 MDK-ARM).<br />
<a href="http://www.flickr.com/photos/richliu_tw/5849242268/" title="DFU-1 by richliu(有錢劉), on Flickr" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" src="http://farm4.static.flickr.com/3420/5849242268_45ce29fdb6.jpg" width="500" height="375" alt="DFU-1"/></a><br />
選好自己的平台, 重新 Compile, 再 Update Firmware 即可. </p>
<p>記得接下來自己的程式要跑在 0x8003000 的位置.<br />
像是這樣.<br />
<a href="http://www.flickr.com/photos/richliu_tw/5849257390/" title="DFU-2 by richliu(有錢劉), on Flickr" target="_blank" rel="noopener"><img decoding="async" src="http://farm6.static.flickr.com/5264/5849257390_fd09e6077f.jpg" width="500" height="372" alt="DFU-2"/></a></p>
<p>DFU Windows 相關的程式在這邊. 可以從 .hex 轉成 .dfu 的格式, 可以透過 usb device driver 上傳到 target 的 0x8003000 之後的位置<br />
<a href="http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/um0412.zip" target="_blank" rel="noopener">DfuSe USB Device Firmware Upgrade STMicroelectronics Extension: Contains the Demo GUI, Debugging GUI, all sources files and the protocol layer</a><br />
大陸那邊有很多介紹的文章, 這邊就不寫了. </p>
<p>The post <a rel="nofollow" href="https://richliu.com/2011/06/19/1101/stm32-%e7%9a%84-usb-dfu-device-firmware-upgrade/">STM32 的 USB DFU (Device Firmware Upgrade)</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2011/06/19/1101/stm32-%e7%9a%84-usb-dfu-device-firmware-upgrade/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Cortex-Mx STM32: Virtual COM port in Win7</title>
		<link>https://richliu.com/2011/04/24/1052/cortex-mx-stm32-virtual-com-port-in-win7/</link>
					<comments>https://richliu.com/2011/04/24/1052/cortex-mx-stm32-virtual-com-port-in-win7/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sat, 23 Apr 2011 19:41:13 +0000</pubDate>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Coretex-M]]></category>
		<category><![CDATA[STM32]]></category>
		<category><![CDATA[Virtual Com Port]]></category>
		<category><![CDATA[Windows 7]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=1052</guid>

					<description><![CDATA[<p>如果在 Win7 下使用 Virtual Com port, 會有抓不到的狀況, 請使用這個 STM32 Vi [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2011/04/24/1052/cortex-mx-stm32-virtual-com-port-in-win7/">Cortex-Mx STM32: Virtual COM port in Win7</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>如果在 Win7 下使用 Virtual Com port, 會有抓不到的狀況, 請使用這個 <a href="http://dl.dropbox.com/u/6241711/keep/stmcdc.zip" target="_blank" rel="noopener">STM32 Virtual COM port Driver </a></p>
<p>ref.<br />
<a href="https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/DispForm.aspx?ID=10698&amp;RootFolder=https%3a%2f%2fmy%2est%2ecom%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fARM%20CortexM3%20STM32%2fVirtual%20COM%20port%20in%20Win7%20or%20Vista%2032%2dbit&amp;Source=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FARM%2520CortexM3%2520STM32%2FFlat%2Easpx%3FRootFolder%3Dhttps%253a%252f%252fmy%252est%252ecom%252fpublic%252fSTe2ecommunities%252fmcu%252fLists%252fARM%2520CortexM3%2520STM32%252fVirtual%2520COM%2520port%2520in%2520Win7%2520or%2520Vista%252032%252dbit%26FolderCTID%3D0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E%26currentviews%3D1407" target="_blank" rel="noopener">Cortex-Mx STM32: Virtual COM port in Win7 or Vista 32-bit </a></p>
<p>The post <a rel="nofollow" href="https://richliu.com/2011/04/24/1052/cortex-mx-stm32-virtual-com-port-in-win7/">Cortex-Mx STM32: Virtual COM port in Win7</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2011/04/24/1052/cortex-mx-stm32-virtual-com-port-in-win7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
