<?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>The World of Esden</title>
	<atom:link href="https://esden.net/feed/" rel="self" type="application/rss+xml" />
	<link>https://esden.net</link>
	<description>My small window to the world ...</description>
	<lastBuildDate>Sat, 08 Jan 2022 02:51:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
	<item>
		<title>New Black Magic Debug Maintainer</title>
		<link>https://esden.net/2022/01/08/new-black-magic-debug-maintainer/</link>
					<comments>https://esden.net/2022/01/08/new-black-magic-debug-maintainer/#comments</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Sat, 08 Jan 2022 02:17:48 +0000</pubDate>
				<category><![CDATA[BlackMagicDebug]]></category>
		<category><![CDATA[Computerworld]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[black magic probe]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[jtag]]></category>
		<category><![CDATA[open-source]]></category>
		<guid isPermaLink="false">https://esden.net/?p=629</guid>

					<description><![CDATA[As some of you might know Black Magic Debug was created and maintained for many years by Gareth McMullin. He has created a wonderful tool that we all use and love. You might have also noticed that Gareth did not have much time to dedicate to the project for the last few years. He asked me a while ago if I would be able to take over the project and become an official maintainer of Black Magic Debug.]]></description>
										<content:encoded><![CDATA[
<p>Hi everyone!</p>



<p>As some of you might know <a href="https://black-magic.org">Black Magic Debug</a> was created and maintained for many years by <a href="https://github.com/gsmcmullin">Gareth McMullin</a>. He has created a wonderful tool that we all use and love. You might have also noticed that Gareth did not have much time to dedicate to the project for the last few years. He asked me a while ago if I would be able to take over the project and become an official maintainer of <a href="https://black-magic.org">Black Magic Debug</a>. I did not have the necessary resources to dedicate to the project until very recently. But it is finally time, from now on I am officially taking on the position as the Black Magic Debug maintainer. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p>I want to thank Gareth for putting the faith in me and creating this amazing project. I also have to say big thanks to <a href="https://github.com/UweBonnes">Uwe Bonnes</a> who stepped in while Gareth and I were unavailable to keep the patches and Black Magic releases going.</p>



<p>I have a lot of plans for the Black Magic project, software/firmware and hardware wise. You might have noticed I already spent some time catching up on and cleaning the GitHub issues. It is by no means finished and probably never will be, but I hope we can keep open issues and pull requests on a better level going forward.</p>



<p>To resolve the issue that the native Black Magic Hardware is currently not available due to chip shortages, I am working on the new revision of the native hardware. This should make them available again and allow us for more alternative chip choices. We are adding some cool new features to the new hardware while we are at it. (more information soon) I am also working on a tool that will help users manage the Black Magic Probe firmware, opening doors to more flexibility and versatility of the project overall. (also, more information about that soon)</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Black Magic Probe V2.3a bootloader blinking" width="625" height="352" src="https://www.youtube.com/embed/v1BNmTlc6FU?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div><figcaption>A small teaser of the new native Black Magic Probe hardware V2.3a</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://esden.net/wp-content/uploads/2022/01/IMG_4108small.jpeg"><img fetchpriority="high" decoding="async" width="1024" height="768" src="https://esden.net/wp-content/uploads/2022/01/IMG_4108small-1024x768.jpeg" alt="" class="wp-image-630" srcset="https://esden.net/wp-content/uploads/2022/01/IMG_4108small-1024x768.jpeg 1024w, https://esden.net/wp-content/uploads/2022/01/IMG_4108small-300x225.jpeg 300w, https://esden.net/wp-content/uploads/2022/01/IMG_4108small-768x576.jpeg 768w, https://esden.net/wp-content/uploads/2022/01/IMG_4108small-1536x1153.jpeg 1536w, https://esden.net/wp-content/uploads/2022/01/IMG_4108small-624x468.jpeg 624w, https://esden.net/wp-content/uploads/2022/01/IMG_4108small.jpeg 2015w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption>3D Printed cases for BMP V2.3a</figcaption></figure>



<p>You can also expect that we will finally get a proper CI system including HITL (Hardware In The Loop) testing. Something we are in dire need to keep the stability expectations as high as possible. I was collecting a lot of hardware over the years and I want to put it together to some good use. We will also improve the contribution process and document the APIs better, this should hopefully make addition of new targets easier.</p>



<p>There is one more thing that I would like to mention. In the process of changing maintainership the GitHub organization that the project is under will be changing it&#8217;s name. As it is not developed by Blacksphere (Gareth&#8217;s consulting company) we will be renaming the org to the project&#8217;s name itself. It will serve as an umbrella for additional repositories related to the Black Magic Debug project. Don&#8217;t worry GitHub should redirect the old organization names to the new one. I hope it will not cause too much disruption. We will also finally be officially retiring the SourceForge project page to avoid confusion. This means the old unused mailing lists will be disabled.</p>



<p>If you have questions or concerns and want to get in touch with the project you have multiple options: open an <a href="https://github.com/blacksphere/blackmagic/issues">issue on github</a>, join the <a href="https://1bitsquared.com/pages/chat">1BitSquared Discord server</a> and talk to us in the #blackmagic channel. If it is something you would rather discuss one on one, you can also write an email to: contact at black-magic org where you will be able to reach the core developer team.</p>



<p>I am excited to work with you all to bring the Black Magic Debug project to the next level.</p>



<p>Stay safe, cheers,<br>Piotr Esden-Tempski</p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2022/01/08/new-black-magic-debug-maintainer/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>My Streaming Setup and Electronics Tools Collection</title>
		<link>https://esden.net/2020/05/11/my-streaming-setup-and-electronics-tools-collection/</link>
					<comments>https://esden.net/2020/05/11/my-streaming-setup-and-electronics-tools-collection/#respond</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Mon, 11 May 2020 05:59:33 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[streaming]]></category>
		<guid isPermaLink="false">http://esden.net/?p=566</guid>

					<description><![CDATA[Hello everyone! As many of you ask about the tools I am using for twitch streams as well as what electronics related tools I am using. I decided it was time to put together a blog post for that. I will likely keep updating this specific post when my streaming setup evolves or I need [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hello everyone!</p>



<p>As many of you ask about the tools I am using for <a rel="noreferrer noopener" href="https://www.twitch.tv/esden" target="_blank">twitch streams</a> as well as what electronics related tools I am using. I decided it was time to put together a blog post for that. I will likely keep updating this specific post when my streaming setup evolves or I need to add more content. This blog post is derived and updated version of the <a rel="noreferrer noopener" href="https://gist.github.com/esden/abacadebf00e7c735a8c948b31d9c61f" target="_blank">Gist that I posted a while ago</a>. </p>



<p>This post is currently reflecting the gear I am using in May 2020. If you think anything is missing from this list or it is not up to date any more. Feel free to ping me and I will do my best to update the list! <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">Computer</h2>



<p>Currently I use a scratch built PC for streaming, here is the list of the major components:</p>



<ul class="wp-block-list"><li>AMD RYZEN 7 3700X 8-Core</li><li>Gigabyte X570 Motherboard</li><li>64GB of RAM</li><li>Gigabyte Radeon RX 5600 XT GPU</li><li>EVGA SuperNova 650 G3 modular power supply</li><li>Noctua NH-U14S 140mm SSO2-Bearing CPU cooler</li><li>Fractal Design Meshify C Black Compact Mid Tower case</li><li>Two 1080p Dell monitors I had since years</li></ul>



<p>For the complete build and the exact parts used you can find the NewEgg build here: https://newegg.io/a1664311</p>



<h2 class="wp-block-heading">Cameras</h2>



<ul class="wp-block-list"><li>Face Cam: <a rel="noreferrer noopener" href="https://amzn.to/2xQtlb8" target="_blank">Logitech C920</a></li><li>Desk Cam: <a rel="noreferrer noopener" href="https://amzn.to/2yCZCTE" target="_blank">Lumix G7</a><ul><li>Mounted on: <a rel="noreferrer noopener" href="https://amzn.to/2ANQCLW" target="_blank">Manfrotto 244RC Variable Friction Magic Arm</a></li><li>Clamp for the arm: <a rel="noreferrer noopener" href="https://amzn.to/2AUyW1l" target="_blank">Manfrotto 035RL Super Clamp</a></li></ul></li><li>Microscope Cam: <a rel="noreferrer noopener" href="https://amzn.to/3fELhX9" target="_blank">AiHOME HDMI C-Mount Camera</a></li></ul>



<h2 class="wp-block-heading">Lighting</h2>



<ul class="wp-block-list"><li><a href="https://www.amazon.com/gp/product/B016NDM99M">Two LED Barn Door Light Panels</a></li><li><a href="https://www.aliexpress.com/item/1005001790102341.html">RGB Ring Lights</a></li></ul>



<h2 class="wp-block-heading">Capture Devices</h2>



<ul class="wp-block-list"><li>For Desktop Cam: <a rel="noreferrer noopener" href="https://amzn.to/2zncM77" target="_blank">Elgato Cam Link 4K</a></li><li>For Microscope Cam: <a rel="noreferrer noopener" href="https://amzn.to/2AbVdas" target="_blank">Magewell USB Capture HDMI Gen2 USB 3.0</a></li><li>For Audio: <a rel="noreferrer noopener" href="https://amzn.to/3fCbaHk" target="_blank">SYBA USB Stereo Sound Adapter</a></li></ul>



<h2 class="wp-block-heading">Audio</h2>



<ul class="wp-block-list"><li>Lapel Microphone: <a rel="noreferrer noopener" href="https://amzn.to/2LjduVC" target="_blank">Sennheiser EW 100 G3</a></li></ul>



<h2 class="wp-block-heading">Software</h2>



<ul class="wp-block-list"><li>Main Streaming software: <a rel="noreferrer noopener" href="https://obsproject.com" target="_blank">OBS</a></li><li>Linux Browser view used for overlays and plugins</li><li>Free Plugins/overlays from <a rel="noreferrer noopener" href="https://streamlabs.com" target="_blank">Streamlabs</a></li><li>AlertBox: Displays alerts of new followers, subscribers, bit donations and more</li><li>ChatBox: Displays the twitch chat messages as video overlay</li><li>Cloudbot: Provides commands like `!uptime` and automatically sends out an invite to the Discord server.</li><li>Key and Mouse visualizer: <a rel="noreferrer noopener" href="https://github.com/z80-ro/TrayKeys" target="_blank">TrayKeys</a></li><li>Text Editor: <a rel="noreferrer noopener" href="https://www.sublimetext.com" target="_blank">Sublime Text</a></li><li>ToDo List Sublime Text Plugin: <a rel="noreferrer noopener" href="https://github.com/aziz/PlainTasks" target="_blank">PlainTasks</a></li><li>PCB Design Software: <a href="https://kicad.org" target="_blank" rel="noreferrer noopener">KiCad</a><ul><li>Plugin: <a rel="noreferrer noopener" href="https://github.com/openscopeproject/InteractiveHtmlBom" target="_blank">InteractiveHtmlBom</a></li></ul></li><li>FPGA Tools:<ul><li>Binary Distribution and build script: <a rel="noreferrer noopener" href="https://github.com/open-tool-forge" target="_blank">Open Tool Forge</a></li><li>Synthesis: <a rel="noreferrer noopener" href="http://www.clifford.at/yosys" target="_blank">Yosys</a></li><li>Place and Route: <a rel="noreferrer noopener" href="https://github.com/YosysHQ/nextpnr" target="_blank">nextpnr</a></li><li>Database and Programmer (iCE40): <a rel="noreferrer noopener" href="http://www.clifford.at/icestorm" target="_blank">icestorm</a></li><li>Database (ECP5): <a rel="noreferrer noopener" href="https://github.com/SymbiFlow/prjtrellis" target="_blank">prjtrellis</a></li><li>Simulator: <a rel="noreferrer noopener" href="http://iverilog.icarus.com" target="_blank">iverilog</a></li><li>Simulator: <a rel="noreferrer noopener" href="https://www.veripool.org/wiki/verilator" target="_blank">Verilator</a></li><li>Signal Trace Viewer: <a rel="noreferrer noopener" href="http://gtkwave.sourceforge.net" target="_blank">GTKWave</a></li></ul></li><li>Logic Analyzer framework/software: <a rel="noreferrer noopener" href="https://sigrok.org" target="_blank">Sigrok/Pulseview</a></li></ul>



<h2 class="wp-block-heading">Other Gear</h2>



<ul class="wp-block-list"><li>Microscope: <a rel="noreferrer noopener" href="https://amzn.to/2AkHkah" target="_blank">AmScope 7X-45X Simul-Focal</a></li><li>Microscope Camera Lens: <a rel="noreferrer noopener" href="https://amzn.to/2yK92wx" target="_blank">OMAX 0.5X C Mount Reduction Lens</a></li><li>I also got a focus adjustment barrell, but I can&#8217;t find the source for it&#8230; TODO</li><li>Light Ring: <a rel="noreferrer noopener" href="https://amzn.to/2yN7Zfb" target="_blank">AmScope LED Light Ring</a></li><li>Soldering Iron: <a rel="noreferrer noopener" href="https://amzn.to/2yzFW2Z" target="_blank">JBC T210-A</a><ul><li>Soldering Tips: C245-029, C245-064</li></ul></li><li>Hot Air Rework Station: AOYUE 852A</li><li>Reflow Oven: T-962A <a rel="noreferrer noopener" href="https://esden.net/2017/11/27/upgrading-a-t962a-reflow-oven/" target="_blank">with all mods</a></li><li>HotPlate: <a rel="noreferrer noopener" href="https://amzn.to/2yO4Ewm" target="_blank">Akozon 200x200mm</a></li><li>PreHeater: <a rel="noreferrer noopener" href="https://amzn.to/2YTnD3o" target="_blank">Coffee Cup Warmer</a></li><li>PCB Tab Route Tab Clipper: <a rel="noreferrer noopener" href="https://amzn.to/2STyjeA" target="_blank">Hakko CHP DP-20-N Depaneling Tool</a></li><li>Multimeter: <a rel="noreferrer noopener" href="https://amzn.to/2WKlXGN" target="_blank">Fluke 115</a><ul><li>Multimeter Probes: <a rel="noreferrer noopener" href="https://amzn.to/2WLHYVx" target="_blank">Probemaster 8000</a></li></ul></li><li>Oscilloscope: Tektronix TDS2014B</li><li>Logic analyzers:<ul><li><a rel="noreferrer noopener" href="https://1bitsquared.com/products/bitmagic-basic" target="_blank">1BitSquared BitMagic-basic</a></li><li>A Sigrok Compatible &#8220;old&#8221; Saleae Logic 16 clone. (until BitMagic-pro is done) </li></ul></li><li>Vise: <a rel="noreferrer noopener" href="https://www.adafruit.com/product/3197" target="_blank">Stickvise</a><ul><li><a rel="noreferrer noopener" href="https://www.adafruit.com/product/3198" target="_blank">PTFE Jaws</a></li></ul></li><li>Tweezers:<ul><li>Angled: <a rel="noreferrer noopener" href="https://amzn.to/36rfPYk" target="_blank">Erem E7SA</a></li><li>Straight: <a rel="noreferrer noopener" href="https://amzn.to/3d0d6aK" target="_blank">Erem E3SA</a></li></ul></li><li><a href="https://www.roadrunnerelectronics.com/Wiring-Pencils" target="_blank" rel="noreferrer noopener">RoadRunner Wiring Pencil</a></li></ul>



<h2 class="wp-block-heading">1BitSquared and other stuff</h2>



<ul class="wp-block-list"><li>iCEBreaker FPGA related products<ul><li><a href="https://1bitsquared.com/collections/fpga">USA</a></li><li><a href="https://1bitsquared.de/collections/fpga">Germany</a></li><li><a href="https://www.crowdsupply.com/1bitsquared/icebreaker-fpga">CrowdSupply</a></li><li><a href="https://www.mouser.com/Search/Refine?Keyword=icebreaker">Mouser</a></li></ul></li><li>Black Magic Probe<ul><li><a href="https://1bitsquared.com/products/black-magic-probe">USA</a></li><li><a href="https://1bitsquared.de/products/black-magic-probe">Germany</a></li><li><a href="https://www.adafruit.com/product/3839">Adafruit</a></li></ul></li><li>BitMagic-basic Logic Analyzer<ul><li><a rel="noreferrer noopener" href="https://1bitsquared.com/products/bitmagic-basic" target="_blank">USA</a></li><li><a rel="noreferrer noopener" href="https://1bitsquared.de/products/bitmagic-basic" target="_blank">Germany</a></li></ul></li></ul>



<p>If you like what you see and would like to support the streams and development of new open source devices, but you already have all the 1BitSquared hardware you need, you can support me through <a rel="noreferrer noopener" href="https://www.patreon.com/1bitsquared" target="_blank">Patreon</a> and/or <a rel="noreferrer noopener" href="https://www.twitch.tv/products/esden" target="_blank">Twitch subscriptions</a>.</p>



<p>You can reach me through <a href="https://twitter.com/esden" target="_blank" rel="noreferrer noopener">twitter</a> and on our <a href="https://1bitsquared.com/pages/chat" target="_blank" rel="noreferrer noopener">1BitSquared Discord server</a>. I hope this list is useful.</p>



<p>Cheers,<br>Piotr</p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2020/05/11/my-streaming-setup-and-electronics-tools-collection/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Upgrading a T962a Reflow oven (old)</title>
		<link>https://esden.net/2017/11/27/upgrading-a-t962a-reflow-oven/</link>
					<comments>https://esden.net/2017/11/27/upgrading-a-t962a-reflow-oven/#comments</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Mon, 27 Nov 2017 01:24:38 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://esden.net/?p=555</guid>

					<description><![CDATA[This post is the old version of the T962a Reflow oven upgrade documentation. A more up to date version of this post with additional information and pictures can be found in the 1BitSquared forum. The following text is being left here for historical reference. 😀 Hey! Many people ask on a regular basis what Reflow [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>This post is the old version of the T962a Reflow oven upgrade documentation. A more up to date version of this post with additional information and pictures can be found in the <a href="https://forum.1bitsquared.com/t/upgrading-a-t962a-reflow-oven/126">1BitSquared forum</a>. The following text is being left here for historical reference. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></h2>
<hr />
<p>Hey!</p>
<p>Many people ask on a regular basis what Reflow oven I am using. To answer that question I use two fully upgraded/modified T962a reflow ovens. You can get them from ebay for around $300 give or take. I heard some people had some success using toaster ovens with modifications for reflow but I personally do not trust that solution enough from not only the safety standpoint but also from the ability to follow a reflow temperature curve in a repetitive manner that I can trust. That also means you will need the T962a and not the less powerful T962, you will need the power to be able to reliably follow a reasonable reflow temperature curve.</p>
<p>That said the T962a is completely useless when you get it and you need to make a few modifications to it. If you do not make those modifications you will create a safety and health hazard. Also you will likely burn up your pcb&#8217;s or evaporate the flux from your solder paste before it reflows creating cold solder joints.</p>
<p>The closest thing that I could find that could be an out of the box working replacement is about 10x more expensive than the T962a including the modifications.</p>
<p>This are the supplies you will need:</p>
<ul>
<li>Screw driver</li>
<li>medium width Kapton tape</li>
<li>Multimeter</li>
<li>Small file or other scraping device</li>
<li>A serial to USB adapter. (and FTDI cable is a good choice)</li>
<li>Soldering iron</li>
<li>A little bit of wire</li>
<li>Thermocouple interface board with parts (<a href="https://github.com/UnifiedEngineering/T-962-improvements/wiki/Better-thermocouple-interface">https://github.com/UnifiedEngineering/T-962-improvements/wiki/Better-thermocouple-interface</a>)</li>
<li>A small replacement &#8220;silent&#8221; 40mm fan</li>
</ul>
<p>And these are the following steps you need to perform to modify your oven.</p>
<ul>
<li>Open the oven</li>
<li>Remove all the masking tape and replace it with Kapton tape (pay attention to the masking tape that is hiding under the insulation in the front of the oven attached to the &#8220;ruler&#8221; shaped cover above the oven&#8217;s drawer, you need to replace that too)</li>
<li>Make sure that the whole case of the oven is connected to the earth ground of your power connector using the multi-meter. You might need to scrape off some paint under the back panel screws to create a connection between the earth and the bottom half of the oven.</li>
<li>Re-flash the controller board with the Unifiedengineering firmware: <a href="https://github.com/UnifiedEngineering/T-962-improvements/wiki">https://github.com/UnifiedEngineering/T-962-improvements/wiki</a></li>
<li>Build the Thermocouple interface board and mount it in the oven: <a href="https://github.com/UnifiedEngineering/T-962-improvements/wiki/Better-thermocouple-interface">https://github.com/UnifiedEngineering/T-962-improvements/wiki/Better-thermocouple-interface</a> (you can use the oven without the TC interface to reflow the TC interface, but it might be better if you have some other place you can reflow the board in, but it should work for that one time :D)</li>
<li>Replace the small cooling fan for the controller electronics with the new &#8220;silent&#8221; fan.</li>
</ul>
<p>If you have all the supplies that modification should take no longer than one afternoon and it is really worth it!</p>
<p>Notes about usage:</p>
<ul>
<li>Pre-heat the oven to 40C before use.</li>
<li>Put down scrap PCB material under the board you are reflowing so that it is not sitting directly on the metal tray. If you don&#8217;t do that the tray will suck out valuable heat out of your PCB and cause problems.</li>
<li>Use only the center 1/3rd of the oven tray. The outer area of the reflow tray will not have the same temperature as the center and you will have consistency issues around the edges of your PCB&#8217;s. This is a good reason to design your boards as small as you can so that you can squeeze a bunch of them into the center of the oven. ;D</li>
</ul>
<p>Hope this helps.</p>
<p>Cheers,<br />
Esden</p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2017/11/27/upgrading-a-t962a-reflow-oven/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>libopencm3 Discovery</title>
		<link>https://esden.net/2014/12/29/libopencm3-discovery/</link>
					<comments>https://esden.net/2014/12/29/libopencm3-discovery/#respond</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Mon, 29 Dec 2014 09:56:48 +0000</pubDate>
				<category><![CDATA[Computerworld]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[libopenstm32]]></category>
		<category><![CDATA[Projects]]></category>
		<guid isPermaLink="false">http://esden.net/?p=526</guid>

					<description><![CDATA[Hi everyone, As promised in the previous post. Here is a short write up how to download, compile and upload your first example program using libopencm3 and a STM32F4 discovery board. Very similar process will apply to any other evaluation boards that employ an STM32 microcontroller and Black Magic Probe JTAG/SWD programmer. Like for example [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>As promised in the <a href="http://esden.net/2014/12/11/black-magic-discovery/" target="_blank" rel="noopener noreferrer">previous post</a>. Here is a short write up how to download, compile and upload your first example program using libopencm3 and a STM32F4 discovery board.</p>
<p>Very similar process will apply to any other evaluation boards that employ an STM32 microcontroller and Black Magic Probe JTAG/SWD programmer. Like for example Lisa/M, Lisa/MX, Lisa/S, Apogee and so on.</p>
<h2><strong>Step 1</strong></h2>
<p>If you did not already do that, download and install GCC ARM Embedded. You might have already done it if you were &#8220;fixing&#8221; your Discovery board.</p>
<p>You can download the compiler from here: <a href="https://launchpad.net/gcc-arm-embedded" target="_blank" rel="noopener noreferrer">https://launchpad.net/gcc-arm-embedded</a></p>
<p>Unpack it into your home directory:</p>
<pre>cd ~
tar xfvj ~/Downloads/gcc-arm-none-eabi-replace this with the version-mac.tar.bz2</pre>
<p>You should add the binary directory of the newly unpacked compiler package to your system. Obviously to do this you add the directory to your PATH environment variable. If you don&#8217;t know what that is you should learn a bit more about your <a href="http://www.linfo.org/path_env_var.html" target="_blank" rel="noopener noreferrer">Unix/Linux basics</a>. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<pre>export PATH=~/gcc-arm-none-eabi-someversion/bin:$PATH</pre>
<p>To make this addition persistent you can also add that to your <a href="http://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/" target="_blank" rel="noopener noreferrer">.profile, .bash_profile or .zprofile</a> depending on the shell and setup you use.</p>
<h2><strong>Step 2</strong></h2>
<p>Download libopencm3-examples. You can find this repository at <a href="https://github.com/libopencm3/libopencm3-examples" target="_blank" rel="noopener noreferrer">https://github.com/libopencm3/libopencm3-examples</a></p>
<pre>git clone git@github.com:libopencm3/libopencm3-examples.git</pre>
<h2><strong>Step 3</strong></h2>
<p>Build the libopencm3 examples. The repository contains libopencm3 as a submodule so you will have to initialize and update the submodule before you can compile the library itself as well as all the different examples.</p>
<pre>cd libopencm3-examples
git submodule init
git submodule update
make</pre>
<p>This will take a bit as there is a lot of examples included in that repository. In the past the examples were part of the main library itself but there became so many of them that we had to split it off. Otherwise the build and clone process just took too long.</p>
<h2><strong>Step 4</strong></h2>
<p>Prepare your environment. To make your life easier you should set up your .gdbinit configuration file. This will make the firmware upload and debug process so much easier. Just add the following lines to the .gdbinit file:</p>
<pre>set target-async on
set confirm off
set history save
set mem inaccessible-by-default off
tar ext /dev/cu.usbmodemSOMESERIAL1
mon version
mon swdp_scan
#mon jtag_scan
att 1</pre>
<p>Note: On linux the cu.usbmodemSOMESERIAL1 becomes ttyACM0.</p>
<p>For reference here is the breakdown of what the commands inside of the .gdbinit file mean:</p>
<ul>
<li><em>set target-async on</em>: Enable <a href="http://www-zeuthen.desy.de/dv/documentation/unixguide/infohtml/gdb/Background-Execution.html" target="_blank" rel="noopener noreferrer">background execution commands</a>.</li>
<li><em>set confirm off</em>: This disables the really annoying &#8220;are you sure&#8221; questions. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li><em>set history save</em>: This forces GDB to save the command history.</li>
<li><em>set mem inaccessible-by-default off</em>: This is one of the most important commands here. Very often when you are trying to debug your code on a microcontroller you have to read the content of memory mapped registers. If you don&#8217;t set this option the debugger will prevent you from doing so as it has no idea that this memory is actually accessible. On a PC having the option on makes total sense but on a microcontroller it is mostly a burden.</li>
<li><em>tar ext /dev/cu.usbmodemSOMESERIAL1</em>: tell gdb to connect to Black Magic Probe</li>
<li><em>mon version</em>: Print version of the Black Magic Probe.</li>
<li><em>mon swdp_scan</em>: Scan for devices using SWD protocol.</li>
<li><em>att 1</em>: Attach to the first process. On a microcontroller you will have only one process&#8230;</li>
</ul>
<h2><strong>Step 4</strong></h2>
<p>Upload fancyblink example. The simplest example for the STM32F4 Discovery board is the fancyblink example. It is also very easy to upload. As long as your Discovery board is &#8220;fixed&#8221; and uses the BMP firmware.</p>
<pre>cd examples/stm32/f4/stm32f4-discovery/fancyblink
arm-none-eabi-gdb fancyblink.elf
load
run</pre>
<p>Now the LEDs on the Discovery board should be blinking. You can interrupt the execution of the program by pressing <tt>&lt;Ctrl&gt;-C</tt>. You can continue the execution by running <tt>cont</tt>.</p>
<p>Here is a short reference of GDB commands that you might find useful when playing around with code:</p>
<ul>
<li> load -&gt; load the binary from the provided elf file. (Note: it detects if the elf file changed on the hard disk and loads a new one if available. So you don&#8217;t have to quit GDB every time when you recompile your code)</li>
<li>run -&gt; start the execution of your firmware</li>
<li>backtrace -&gt; print the call stack trace of the current line of code being executed</li>
<li>make -&gt; runs make command in the directory you started gdb. Very useful if you want to update the binary you are running really quick.</li>
<li>break filename:lineno -&gt; you can add a breakpoint inside your code. GDB will stop the execution of the program as soon as the line is hit by the firmware.</li>
<li>step -&gt; execute one single line of code and return back to the command line</li>
<li>next -&gt; same as step but it does not enter into the functions called and skips them. Useful if you want to step over functions you know take forever and you are not interested in what they are actually doing. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li>print variablename -&gt; print the content of a variable</li>
<li>print/x variablename -&gt; print the content of a variable as HEX</li>
<li>list -&gt; prints the context of the line being executed at the very moment</li>
<li>kill -&gt; if used in a GDB script it will reset the MCU and exit GDB. Very useful as last command of a GDB script.</li>
</ul>
<p>I hope this will be helpful for you.</p>
<p>Cheers,<br />
Esden</p>
<p>P.S. Big thanks to Jack Ziesing for proofreading and introductory paragraph and sparking the work on this article. It is a great help! <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2014/12/29/libopencm3-discovery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Black Magic Discovery</title>
		<link>https://esden.net/2014/12/29/black-magic-discovery/</link>
					<comments>https://esden.net/2014/12/29/black-magic-discovery/#comments</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Mon, 29 Dec 2014 09:21:49 +0000</pubDate>
				<category><![CDATA[Computerworld]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[libopenstm32]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[jtag]]></category>
		<category><![CDATA[libopencm3]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[stm32]]></category>
		<category><![CDATA[SWD]]></category>
		<guid isPermaLink="false">http://esden.net/?p=502</guid>

					<description><![CDATA[Hey everyone! Today I had to fix another STM32F4 Discovery board. By fixing I mean replacing the STLink firmware with Black Magic Probe firmware. I do that on a semi regular basis but as I have not done it in a long time I did not remember the process anymore. Obviously this calls for a [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<p>Hey everyone!</p>
<p>Today I had to fix another STM32F4 Discovery board. By fixing I mean replacing the STLink firmware with Black Magic Probe firmware. I do that on a semi regular basis but as I have not done it in a long time I did not remember the process anymore. Obviously this calls for a blog post with some step by step instructions on how to do it, so that I have a reference in the future. Also you might find it useful yourself.</p>
<p>First of all let&#8217;s explain what we are trying to do. The objective is to replace the STLink SWD (<a title="Serial Wire Debug Wiki page" href="https://en.wikipedia.org/wiki/Joint_Test_Action_Group#Serial_Wire_Debug" target="_blank" rel="noopener noreferrer">Serial Wire Debug</a>) firmware with Black Magic Probe firmware.  The board is setup by default to use a smaller chip to run the STLink firmware to talk to the main stm32.  We need to change the smaller chips firmware.  The initial adjustments to the board are needed to be able to access the programming pins of the smaller chip and replace it&#8217;s contents to Black Magic Probe firmware so that we can use GDB (<a title="GNU DeBugger website" href="https://www.gnu.org/software/gdb/" target="_blank" rel="noopener noreferrer">GNU DeBugger</a>) to program and debug the board instead of the very unstable and unreliable proprietary STLink protocol. The adjustments needed to access the small chips programming pins need to be reversed once the firmware is changed to Black Magic Probe firmware, resulting with an stm32 f4 discovery board with Black Magic Probe firmware ready to use.</p>
<p>For the &#8220;Fixing&#8221; process I use a genuine Black magic probe, I have one of those very early ones with a 0.1&#8243; header that is very useful in this particular case. You can also use a Black Magic Probe Mini with a PCB adapter, make an adapter cable or you can use another Discovery board that has already been &#8220;fixed&#8221;.</p>
<p><strong>Step 1</strong></p>
<p>First step is to change the two solder jumpers on the bottom of the discovery board.</p>
<div id="attachment_503" style="width: 520px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/12/STM32F4-discovery-bottom.jpeg"><img decoding="async" aria-describedby="caption-attachment-503" class="wp-image-503 size-full" src="https://esden.net/wp-content/uploads/2014/12/STM32F4-discovery-bottom.jpeg" alt="Jumper modification for SWD programming." width="510" height="342" srcset="https://esden.net/wp-content/uploads/2014/12/STM32F4-discovery-bottom.jpeg 510w, https://esden.net/wp-content/uploads/2014/12/STM32F4-discovery-bottom-300x201.jpeg 300w" sizes="(max-width: 510px) 100vw, 510px" /></a><p id="caption-attachment-503" class="wp-caption-text">Jumper modification for SWD programming.</p></div>
<p>Remove the 0Ohm resistor/jumpers marked with red circles, and close the jumpers marked with blue circles.</p>
<p>Note: The easiest way to do that is to use a soldering tip, add a bunch more solder over the resistor and swipe them of. After that is done use solder wick to make sure there is no short on the &#8220;red&#8221; jumper. You can discard the 0Ohm resistors. It is much easier to just add a small blob of solder to close the &#8220;blue&#8221; jumpers, it is easy to remove them later in the process by just using some solder wick.</p>
<p><strong>Step 2</strong></p>
<p>Remove the SWD and slave MCU jumpers as indicated by the red circles in the photo.</p>
<div id="attachment_507" style="width: 586px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/12/IMG_1109.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-507" class="wp-image-507 size-full" src="https://esden.net/wp-content/uploads/2014/12/IMG_1109.jpg" alt="STM32F4 Discovery board Jumpers for updating the programmer chip firmware" width="576" height="768" srcset="https://esden.net/wp-content/uploads/2014/12/IMG_1109.jpg 576w, https://esden.net/wp-content/uploads/2014/12/IMG_1109-225x300.jpg 225w" sizes="auto, (max-width: 576px) 100vw, 576px" /></a><p id="caption-attachment-507" class="wp-caption-text">STM32F4 Discovery board Jumpers for updating the programmer chip firmware</p></div>
<p><strong>Step 3</strong></p>
<p>Attach jumper wires to the Black Magic Probe header.</p>
<div id="attachment_509" style="width: 586px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/12/IMG_1110.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-509" class="wp-image-509 size-full" src="https://esden.net/wp-content/uploads/2014/12/IMG_1110.jpg" alt="Black Magic Probe Serial Wire Debug connections for Discovery board &quot;fixing&quot;" width="576" height="768" srcset="https://esden.net/wp-content/uploads/2014/12/IMG_1110.jpg 576w, https://esden.net/wp-content/uploads/2014/12/IMG_1110-225x300.jpg 225w" sizes="auto, (max-width: 576px) 100vw, 576px" /></a><p id="caption-attachment-509" class="wp-caption-text">Black Magic Probe Serial Wire Debug connections for Discovery board &#8220;fixing&#8221;</p></div>
<p>Standard JTAG/SWD 20Pin 0.1&#8243; header</p>
<ul>
<li>Black wire &#8211; Pin 14 (GND)</li>
<li>Orange wire &#8211; Pin 9 (TCLK/SWCLK)</li>
<li>Yellow wire &#8211; Pin 8 (TMS/SWDIO)</li>
</ul>
<p>In case you are trying to figure out which pins these are on a standard ARM Cortex 10Pin 0.05&#8243; header. Here you go:</p>
<p>Standard JTAG/SWD Cortex 10Pin 0.1&#8243; header</p>
<ul>
<li>Black wire &#8211; Pin 3, 5 or 9 (GND)</li>
<li>Orange wire &#8211; Pin 4 (TCLK/SWCLK)</li>
<li>Yellow wire &#8211; Pin 2 (TMS/SWDIO)</li>
</ul>
<p><strong>Step 4</strong></p>
<p>Attach the Black Magic Probe to the discovery board.</p>
<div id="attachment_510" style="width: 586px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/12/IMG_1113.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-510" class="wp-image-510 size-full" src="https://esden.net/wp-content/uploads/2014/12/IMG_1113.jpg" alt="STM32F4 Discovery board Serial Wire Debug connection for &quot;fixing&quot; the on board programmer firmware" width="576" height="768" srcset="https://esden.net/wp-content/uploads/2014/12/IMG_1113.jpg 576w, https://esden.net/wp-content/uploads/2014/12/IMG_1113-225x300.jpg 225w" sizes="auto, (max-width: 576px) 100vw, 576px" /></a><p id="caption-attachment-510" class="wp-caption-text">STM32F4 Discovery board Serial Wire Debug connection for &#8220;fixing&#8221; the on board programmer firmware</p></div>
<ul>
<li>Black wire (GND) &#8211; Pin 3 of the SWD (CN2) header</li>
<li>Orange wire (SWCLK) &#8211; Pin 2 of the ST-LINK/DISCOVERY (CN3) header</li>
<li>Yellow wire (SWDIO) &#8211; Pin 4 of the ST-LINK/DISCOVERY (CN3) header</li>
</ul>
<p><strong>Step 5</strong></p>
<p>Now you can connect the discovery board and the Black Magic probe to your computer via USB. The order should not matter, but usually I tend to connect the usb wires to the laptop before connecting the SWD wires between the two devices, just to make sure we don&#8217;t have some strange current loop that powers one or the other via IO pins, which might be problematic.</p>
<p><strong>Step 6</strong></p>
<p>Now we turn our attention to the software. You can obviously do these steps before you wire everything up but this is the order I followed.</p>
<p>The process requires a few dependencies that you should install using either apt on Linux or homebrew or macports on OS X:</p>
<ul>
<li>Python</li>
<li>pyserial</li>
</ul>
<p>In my case I use OS X and homebrew so I needed to run the following two commands:</p>
<pre>brew install python pip install pyserial</pre>
<p><strong>Step 7</strong></p>
<p>Download and make the an arm gcc compiler &#8220;findable&#8221;. I recommend using <a href="https://launchpad.net/gcc-arm-embedded" target="_blank" rel="noopener noreferrer">GCC ARM Embedded</a> as it is maintained by the ARM developers themselves and they seem to generally know what they are doing. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>So download it from here: <a href="https://launchpad.net/gcc-arm-embedded" target="_blank" rel="noopener noreferrer">https://launchpad.net/gcc-arm-embedded</a></p>
<p>Then unpack it into your home directory:</p>
<p>[code language=&#8221;text&#8221; gutter=&#8221;false&#8221;] cd ~ tar xfvj ~/Downloads/gcc-arm-none-eabi-replace this with the version-mac.tar.bz2 [/code]</p>
<p>Then you should add the binary directory of the newly unpacked compiler package to your system. Obviously to do this you add the directory to your PATH environment variable. If you don&#8217;t know what that is you should learn a bit more about your <a href="http://www.linfo.org/path_env_var.html" target="_blank" rel="noopener noreferrer">Unix/Linux basics</a>. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<pre>export PATH=~/gcc-arm-none-eabi-someversion/bin:$PATH</pre>
<p>To make this addition persistent you can also add that to your <a href="http://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/" target="_blank" rel="noopener noreferrer">.profile, .bash_profile or .zprofile</a> depending on the shell and setup you use.</p>
<p><strong>Step 8</strong></p>
<p>Download blackmagic firmware source code. You can get it at <a href="https://github.com/blacksphere/blackmagic" target="_blank" rel="noopener noreferrer">https://github.com/blacksphere/blackmagic</a></p>
<p>The easiest way is to clone the github repository, look for the small window at the center right of the github page for the git repository url. If you have a github account choose the ssh url but if you refuse to do so then you can go with the https one too. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>If you did not learn about <a href="http://git-scm.com/" target="_blank" rel="noopener noreferrer">GIT</a> and <a href="http://github.com" target="_blank" rel="noopener noreferrer">GitHub</a> yet this is the perfect time to take a break from all of this here and come back after you have <a href="https://help.github.com/categories/bootcamp/" target="_blank" rel="noopener noreferrer">caught up on your homework</a>. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<pre>git clone git@github.com:blacksphere/blackmagic.git</pre>
<p><strong>Step 9</strong></p>
<p>Now let&#8217;s build the firmware. This consists of three steps:</p>
<ol>
<li>Fetch the <a href="http://www.libopencm3.org/wiki/Main_Page" target="_blank" rel="noopener noreferrer">libopencm3</a> <a href="http://git-scm.com/book/en/v2/Git-Tools-Submodules" target="_blank" rel="noopener noreferrer">submodule</a></li>
<li>Build from the toplevel so libopencm3 is built</li>
<li>Build the blackmagic firmware for the stlink</li>
</ol>
<pre>cd blacksphere<br />git submodule init<br />git submodule update<br />make<br />cd src<br />make clean<br />make PROBE_HOST=stlink</pre>
<p><strong>Step 10</strong></p>
<p>We can finally connect to the hardware we wired up before and erase the pesky stlink firmware. When the discovery boards ship, the firmware is read and write protected on the STLink chip. So to be able to overwrite the firmware we will have to unlock the chip. Thanks to Gareth there is a small python script that can do that for us. You just have to call the following command inside the src directory of the blackmagic repository and it should be able to remove the write protection:</p>
<pre>../scripts/hexprog.py -s -d /dev/cu.usbmodemSOMESERIAL1 -r blackmagic.bin</pre>
<p>In the case you are on Linux you can leave out the -d device parameter. For reference the -s parameter tells hexprog to use Serial Wire Debug instead of JTAG and -r tells it to unlock and erase the target chip.</p>
<p>If you skip any of those two parameters it will not work for you.</p>
<p><strong>Step 11</strong></p>
<p>Flash the bootloader. We are getting very close. To upload the blackmagic bootloader you use arm-none-eabi-gdb.</p>
<pre>arm-none-eabi-gdb blackmagic_dfu<br />target extended_remote /dev/usbmodemSOMESERIAL1<br />monitor swdp_scan<br />attach 1<br />load<br />exit</pre>
<p>This sequence of commands attaches to the virtual gdb server that is provided by the Black Magic Probe on it&#8217;s virtual serial port 1. (The second serial port is the USB to serial interface located on the back of the BMPM) We then tell the monitor (this is the BMP) to scan using Serial Wire Debug as our protocol. Next we attach to the virtual process number 1. (As we are on the embedded systems there usually should only ever be 1 process unless you run an RTOS) We load the firmware from the elf file that we passed on to gdb earlier and exit GDB.</p>
<p>Simple right? <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> (Believe me that is definitely simpler than setting up and making OpenOCD work with Eclipse)</p>
<p>Tip: To make things easier for the future you can add the following to your .gdbinit file:</p>
<pre>set target-async on<br />set confirm off<br />set history save<br />set mem inaccessible-by-default off<br />tar ext /dev/cu.usbmodemSOMESERIAL1<br />mon version<br />mon swdp_scan<br />#mon jtag_scan att 1</pre>
<p>Note: On Linux the cu.usbmodem device name will be /dev/ttyACM0 instead.</p>
<p>After setting up the .gdbinit file the upload process becomes quite a bit shorter:</p>
<pre>arm-none-eabi-gdb blackmagic<br />load<br />exit</pre>
<p><strong>Step 12</strong></p>
<p>Upload the black magic firmware itself. Here you have two options. Either you can use the same process as before using GDB or you can use the now uploaded DFU bootloader to upload the Black Magic Probe firmware payload. Using GDB you would run the following:</p>
<pre>arm-none-eabi-gdb blackmagic<br />target extended_remote /dev/cu.usbmodemSOMESERIAL1<br />monitor swdp_scan<br />attach 1<br />load<br />exit</pre>
<p>Alternatively you can upload the firmware using a DFU script. Before you do that though you should disconnect the genuine Black Magic Probe from your computer as you want to make sure the script flashes the Discovery board and not your BMP. To do that you will need to install python libusb as an additional dependency. But having done that you can then run the following to upload the firmware:</p>
<pre>./scripts/stm32_mem.py blackmagic.bin</pre>
<p><strong>Step 13</strong></p>
<p>Put everything back together. Now you just have to do four things:</p>
<ol>
<li>Disconnect your Black Magic Probe and Discovery board from your computer as well as each other.</li>
<li>Remove the solder blobs you have added on the back of the board.</li>
<li>Add solder blobs to where you removed the resistors at the very beginning.</li>
<li>Put the jumpers back to where they were on the front of the Discovery board.</li>
</ol>
<p>You are pretty much done now. If everything went well you should have your &#8220;fixed&#8221; discovery board. Follow to the one additional step below to test that.</p>
<p><strong>Step 14</strong></p>
<p>Plug in your Discovery board into your computer. The dual color led next to the USB connector should be solid Green. If it is blinking Green it means the bootloader is running and the board is expecting to be flashed with the firmware. This can happen if you still have the power jumper disconnected that provides power to the &#8220;slave&#8221; STM32F4 chip. This is actually very useful if you want to upgrade the Black Magic Probe firmware on your discovery board. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Additionally if everything went well if you are on Mac OS X a /dev/cu.usbmodemSOMESERIAL1 and /dev/cu.usbmodemSOMESERIAL3 should appear. If you are on linux you should be able to find ttyACM0 and ttyACM1 in the /dev directory.</p>
<p>I hope this write up is useful for you and the future me. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> I am planning to write another blog post on how to build and upload an example firmware onto the slave processor. So hold on to your hats! <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Cheers,<br />Esden</p>
<p>P.S. Big thanks to Jack Ziesing for proofreading and introductory paragraph and sparking the work on this article. It is a great help! <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2014/12/29/black-magic-discovery/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Lisa/S, SuperbitRF, 1 BIT SQUARED</title>
		<link>https://esden.net/2014/04/30/lisas-superbitrf-1bitsquared/</link>
					<comments>https://esden.net/2014/04/30/lisas-superbitrf-1bitsquared/#comments</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Wed, 30 Apr 2014 22:53:18 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[1bitsquared]]></category>
		<category><![CDATA[Autopilot]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Drone]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Lisa/S]]></category>
		<category><![CDATA[multicopter]]></category>
		<category><![CDATA[paparazzi]]></category>
		<category><![CDATA[quadcopter]]></category>
		<category><![CDATA[Superbitrf]]></category>
		<category><![CDATA[UAS]]></category>
		<category><![CDATA[UAV]]></category>
		<guid isPermaLink="false">http://esden.net/?p=483</guid>

					<description><![CDATA[Hi everyone, Again it was a while since I posted something here. I just wanted to write a quick update on what I&#8217;ve been up to lately. I am working very hard on Lisa/S and SuperbitRF. The goal of the project is to develop the smallest and lightest possible UAV controller system without compromising functionality. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>Again it was a while since I posted something here. I just wanted to write a quick update on what I&#8217;ve been up to lately.</p>
<p>I am working very hard on <a href="http://1bitsquared.com/products/lisa-s" target="_blank" rel="noopener noreferrer">Lisa/S</a> and <a href="http://wiki.paparazziuav.org/wiki/SuperbitRF" target="_blank" rel="noopener noreferrer">SuperbitRF</a>. The goal of the project is to develop the smallest and lightest possible UAV controller system without compromising functionality.</p>
<p><a title="Lisa/S UAV autopilot controller" href="/products/lisa-s" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" class="alignnone wp-image-484 size-medium" src="https://esden.net/wp-content/uploads/2014/04/lisa_s_top-300x225.png" alt="lisa_s_top" width="300" height="225" srcset="https://esden.net/wp-content/uploads/2014/04/lisa_s_top-300x225.png 300w, https://esden.net/wp-content/uploads/2014/04/lisa_s_top-1024x768.png 1024w, https://esden.net/wp-content/uploads/2014/04/lisa_s_top-624x468.png 624w, https://esden.net/wp-content/uploads/2014/04/lisa_s_top.png 1600w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>The <a href="http://wiki.paparazziuav.org/wiki/Lisa/S" target="_blank" rel="noopener noreferrer">Lisa/S</a> board is only 20mm x 20mm and weighs about 3g with a lot of integrated sensors.</p>
<ul>
<li>3 Axis Gyroscope</li>
<li>3 Axis Accelerometer</li>
<li>3 Axis Magnetometer (Compass)</li>
<li>Barometer (Altimeter)</li>
<li>GPS Receiver</li>
</ul>
<p>Just like <a href="http://wiki.paparazziuav.org/wiki/Lisa/M_v20" target="_blank" rel="noopener noreferrer">Lisa/M</a> it&#8217;s bigger sister. <a href="http://1bitsquared.com/products/lisa-s" target="_blank" rel="noopener noreferrer">Lisa/S</a> is powered by the STM32F103 ARM 32bit microcontroller. Providing quite a lot of processing power for your UAV needs. On top of it all the board has 4 MOSFET solid state switches. They make it possible to use the board directly on the tiny brushed motor quadcopters, nano helicopters and fixed wing airplanes. I am quite excited how much I managed to put onto that tiny footprint. Usually much bigger boards don&#8217;t even include a GPS receiver on the board.</p>
<p>Another feature of <a href="http://wiki.paparazziuav.org/wiki/Lisa/S" target="_blank" rel="noopener noreferrer">Lisa/S</a> that I think is worth mentioning is that it has a <a href="http://1bitsquared.com/products/superbit-cyrf-module" target="_blank" rel="noopener noreferrer">CYRF</a> footprint.</p>
<p><a href="http://1bitsquared.com/products/superbit-cyrf-module" target="_blank" rel="noopener noreferrer">CYRF</a> is a module that I developed as part of the system. It contains the CYRF6936 2.5GHz transceiver chip. It is connected to the MCU on <a href="http://1bitsquared.com/products/lisa-s" target="_blank" rel="noopener noreferrer">Lisa/S</a> through SPI. The particular transceiver is the one at the heart of all the Spektrum transmitter and receiver systems and many others like Walkera Devo. It is very exciting because we have direct access to that chip from the autopilot and can implement compatibility to a lot of 2.4GHz RC gear available out there.</p>
<p>Our current software implements support for some Spektrum RC transmitters and as a bonus we can simultaneously connect to a laptop using the <a href="http://1bitsquared.com/products/superbit-usbrf-dongle" target="_blank" rel="noopener noreferrer">USBRF dongle</a>. This removes the need for having two radios on your vehicle thus saving weight.</p>
<p>All of these items are currently available for pre-order in the <a href="http://1bitsquared.com" target="_blank" rel="noopener noreferrer">1 BIT SQUARED shop</a>. We are working on finalizing the production process of the first batch of Lisa/S, CYRF and USBRF. We are projecting they will be available in the shop by the end of May. We have put a lot of effort into making these boards, if you are interested you can read more about it in the <a href="http://1bitsquared.com/blogs/news/13428849-lisa-s-progress" target="_blank" rel="noopener noreferrer">1 BIT SQUARED blog</a>.</p>
<p>Last but not least <a href="http://1bitsquared.com" target="_blank" rel="noopener noreferrer">1 BIT SQUARED</a> is my own company that I founded early last year. I want to develop and produce hardware and software that I am excited about and would like to share with others that are interested in the field of airborne robotics. If you like open hardware and software and want to support me directly the shop is the most direct and easiest way to do so.</p>
<p>Cheers,<br />
Esden</p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2014/04/30/lisas-superbitrf-1bitsquared/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Black Magic</title>
		<link>https://esden.net/2012/07/13/black-magic/</link>
					<comments>https://esden.net/2012/07/13/black-magic/#respond</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Fri, 13 Jul 2012 00:04:58 +0000</pubDate>
				<category><![CDATA[Computerworld]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[black magic]]></category>
		<category><![CDATA[black magic probe]]></category>
		<category><![CDATA[BMP]]></category>
		<category><![CDATA[BMPM]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[flashing]]></category>
		<category><![CDATA[GDB]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[jtag]]></category>
		<category><![CDATA[micro controller]]></category>
		<category><![CDATA[openocd]]></category>
		<category><![CDATA[probe]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[stm32]]></category>
		<category><![CDATA[SWD]]></category>
		<guid isPermaLink="false">http://www.esden.net/blog/?p=471</guid>

					<description><![CDATA[A few months ago I met a great guy Gareth MacMullin in the libopencm3 channel. He was working on a new Open-Source and Open-Hardware JTAG solution called Black Magic Probe(BMP). I got one of those and instantly fell in love with it. OpenOCD is great in a sense because it supports lots of targets and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2012/07/BMPM-4675.jpg"><img loading="lazy" decoding="async" class="alignright wp-image-475 size-medium" title="BMPM-4675" src="https://esden.net/wp-content/uploads/2012/07/BMPM-4675-300x199.jpg" alt="" width="300" height="199" srcset="https://esden.net/wp-content/uploads/2012/07/BMPM-4675-300x199.jpg 300w, https://esden.net/wp-content/uploads/2012/07/BMPM-4675-1024x680.jpg 1024w, https://esden.net/wp-content/uploads/2012/07/BMPM-4675-624x414.jpg 624w, https://esden.net/wp-content/uploads/2012/07/BMPM-4675.jpg 1352w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>A few months ago I met a great guy Gareth MacMullin in the libopencm3 channel. He was working on a new Open-Source and Open-Hardware JTAG solution called <a href="http://www.blacksphere.co.nz/main/blackmagic">Black Magic Probe</a>(BMP). I got one of those and instantly fell in love with it.</p>
<p>OpenOCD is great in a sense because it supports lots of targets and probes but that is its disadvantage too. It is very often difficult to set up and tends not to work properly in many cases. The approach of BMP is quite different. Instead of the probe being quite dumb and using OpenOCD to do the JTAG magic the BMP uses a microcontroller (STM32F1) and implements a GDB server inside the controller. This solution cuts out the middleman and talks JTAG as well as the new Serial Wire Debug (SWD) protocol itself. Requiring only a working GDB on the computer.</p>
<p>The BMP supports several Cortex-M3 targets and more devices are being added fairly quickly. The first time I tried it with an STM32 it just worked. No command line parameters just:</p>
<p><code>arm-none-eabi-gdb some_elf_file<br />
target extended-remote /dev/ACM0<br />
mon swdp_scan<br />
att 1<br />
load<br />
run</code></p>
<p>It shocked me how fast the loading process was. Because it is not one of the FTDI chips and does not have to bitbang all of the JTAG protocol over USB it can run much much faster. I know there are commercial devices like JLink that have logic inside them but they cost arm and a leg if you don&#8217;t want to just get the educational version of it.</p>
<p>One more thing comes to mind when you realize that the BMP supports SWD. You only need three pins to be able to use it GND, SWDIO and SWCLK. That decreases the required real estate on the PCB significantly. I am not sure what the status of OpenOCD support for SWD is now but it is work in progress as far as I understand. On BMP it just works.</p>
<p>Since I started using the BMP there were several interesting developments that Gareth added. The BMP is not only offering one serial port for the GDB extended remote interface but also a second one providing a TTL level UART interface. The BMP also supports tracing by now using the TRACESWO pin. This provides a reasonably high speed tracing. Gareth also wrote a plotter for this feature that plots the contents of traced variables in your code.</p>
<p>Early versions of BMP were 2.5cm X 5cm the current version called Black Magic Probe Mini (BMPM) is smaller, the same size as the FLOSS-JTAG I made a while ago, it is mere 1.5cm X 3cm, packing in all the power of the BMP what makes it great for doing embedded stuff on the go, for example in the subway.</p>
<p>So to wrap things up, it is a high grade, Open-Source and Open-Hardware device. For $60 this thing is a steal!</p>
<p>Shameless plug: On <a href="http://1bitsquared.com" target="_blank" rel="noopener noreferrer">1 BIT SQUARED</a> store you can order the <a href="http://1bitsquared.com/products/black-magic-probe" target="_blank" rel="noopener noreferrer">Black Magic Probe</a>.</p>
<p>There are also some other distributors listed on the <a href="http://www.blacksphere.co.nz/main/blackmagic">BMP page</a> too. So check it out! I bet you will love it. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2012/07/13/black-magic/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Quadshot &#8211; an aerobatic blend of RC quadrocopters and airplanes</title>
		<link>https://esden.net/2011/09/15/quadshot/</link>
					<comments>https://esden.net/2011/09/15/quadshot/#respond</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Thu, 15 Sep 2011 00:47:12 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[airplane]]></category>
		<category><![CDATA[Kickstarter]]></category>
		<category><![CDATA[paparazzi]]></category>
		<category><![CDATA[quadrocopter]]></category>
		<category><![CDATA[Quadshot]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[UAV]]></category>
		<guid isPermaLink="false">http://www.esden.net/blog/?p=467</guid>

					<description><![CDATA[Hi everyone, As you probably notice I am very busy lately. Together with some friends we were working on the Quadshot an aerobatic blend between a quadrocopter and an airplane. It takes off and lands vertically like a quadrocopter as well as it can fly forward like an airplane using its wing to add additional [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2011/08/quadshot_picture_w8.jpg"><img loading="lazy" decoding="async" class="alignright wp-image-468 size-medium" title="quadshot_picture_w8" src="https://esden.net/wp-content/uploads/2011/08/quadshot_picture_w8-300x199.jpg" alt="" width="300" height="199" srcset="https://esden.net/wp-content/uploads/2011/08/quadshot_picture_w8-300x199.jpg 300w, https://esden.net/wp-content/uploads/2011/08/quadshot_picture_w8-624x415.jpg 624w, https://esden.net/wp-content/uploads/2011/08/quadshot_picture_w8.jpg 655w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><br />
Hi everyone,</p>
<p>As you probably notice I am very busy lately. Together with some friends we were working on <a href="http://thequadshot.com">the Quadshot</a> an aerobatic blend between a quadrocopter and an airplane.</p>
<p>It takes off and lands vertically like a quadrocopter as well as it can fly forward like an airplane using its wing to add additional lift extending flight time.</p>
<p>We submitted the project to <a href="http://www.kickstarter.com/projects/jkg/quadshot-an-aerobatic-blend-of-rc-helis-and-planes">Kickstarter</a> and we are very happy to see that we got such a great response. The Kickstarter funding runs for another three days and if you pledge you can get a Quadshot at a discounted price as a reward.</p>
<p>At it&#8217;s heart Quadshot is using the avionics and software framework of <a href="http://paparazzi.enac.fr">Paparazzi</a>. We developed the additional necessary controls for Quadshot and released them. So Quadshot has Open-Hardware electronics and Open-Source firmware making it a great platform for research and hacking.</p>
<p>Having an autopilot makes it also very easy to fly for a beginner RC pilot.</p>
<p>I hope to find some more time in the future to get into more details about Quadshot. But till then check out the following links:</p>
<ul>
<li><a href="http://thequadshot.com">our project website</a></li>
<li><a href="http://thequadshot.com/video.html">videos</a></li>
<li><a href="http://forum.thequadshot.com">forum</a></li>
<li><a href="http://paparazzi.enac.fr">Paparazzi UAV wiki</a></li>
<li><a href="http://www.kickstarter.com/projects/jkg/quadshot-an-aerobatic-blend-of-rc-helis-and-planes">our Kickstarter project page</a></li>
</ul>
<p>Cheers Esden</p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2011/09/15/quadshot/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Open-BLDC and the CLogic story</title>
		<link>https://esden.net/2011/05/16/open-bldc-and-the-clogic-story/</link>
					<comments>https://esden.net/2011/05/16/open-bldc-and-the-clogic-story/#comments</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Sun, 15 May 2011 22:58:53 +0000</pubDate>
				<category><![CDATA[Open-BLDC]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[brushless]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[esc]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[sensored]]></category>
		<category><![CDATA[sensorless]]></category>
		<guid isPermaLink="false">http://www.esden.net/blog/?p=456</guid>

					<description><![CDATA[Hi, It was again a while since my last post, but as always I was quite busy. 🙂 The last news about Open-BLDC was about its V0.3 iteration. A lot has changed and happened since then. I was realizing that I am getting more and more inquires where people were asking about obldc being able [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.flickr.com/photos/esden/5188383797/in/album-72157625281995565/"><img loading="lazy" decoding="async" src="https://live.staticflickr.com/1297/5188383797_71f2e09423.jpg" alt="Castle ICE HV to Open-BLDC Mod Tutorial Step 10" width="500" height="332" /></a></p>
<p>Hi,</p>
<p>It was again a while since my last post, but as always I was quite busy. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The last news about Open-BLDC was about its <a href="http://www.esden.net/blog/2010/09/19/open-bldc-v0-3-hardware-based-closed-loop-control/">V0.3</a> iteration. A lot has changed and happened since then. I was realizing that I am getting more and more inquires where people were asking about obldc being able to control very different sizes of motors, ranging from 12V and 10A up to 48V and 200A.</p>
<p>This requirement does not really ask for different logic and controls but it definitely asks for many different power stages. Open-BLDC was designed to be modular from the beginning but still to accomodate that kind of a power range it would be necessary to design and create quite a big lineup of hardware.</p>
<p>Around that time I had the opportunity to take a look inside a dead motor controller from <a href="http://www.castlecreations.com/">Castle Creations</a> just to realize that these guys seem to know what they are doing and that they went with a modular design too. To make a long story short I decided that it will be better to buy one of their of the shelf motor controllers and retrofit them with my logic. That is how CLogic was born.</p>
<p>As it seems other manufacturers are selling ESCs that have the same interface between the logic and the power stage too. <a href="http://www.teamtekin.com/">Tekin</a> for example. But my guess is that they are just OEM of castle themselves. But who knows. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Turingy also came out with an ESC that seems to have the same interface, the <a href="http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=16364">Turingy dlux</a>. I ordered a few of them to take a look for myself and see if CLogic will fit in there. That would be a great source of cheep power stages. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>CLogic has most of the functionality the Open-BLDC v0.3 had. Because of the size constrains I had to get rid of the dedicated i2c and PPM connectors, but I added isolation on the CAN interface that should provide additional safety when used on a 50V and bigger systems. The i2c and PPM interfaces are still available either over the new AUX connector or through the UART interface connector.</p>
<p>The new AUX connector gives the possibility of easily connecting encoders or hal sensors for sensored operation. So the interfaces stay very flexible with added flexibility due to the big variety of power stages you can use, while being very very compact.</p>
<p>Sure some people complained &#8220;The power stages are not Open-Source!!!&#8221;, yes that is true. Also these systems start at a higher power and weight class than some of you would want to operate them. That is why there is CPico Power. It is a very small, low power and a hopefully cheep power stage that we are putting together for those who want it all fully open! So no worries. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>I think that wraps up the news about the new direction Open-BLDC is going. I hope you like it. I am looking forward to your comments.</p>
<p>Cheers Esden</p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2011/05/16/open-bldc-and-the-clogic-story/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>FLOSS-JTAG V1.0 Released and Available</title>
		<link>https://esden.net/2011/02/22/floss-jtag-v1-0-released-and-available/</link>
					<comments>https://esden.net/2011/02/22/floss-jtag-v1-0-released-and-available/#respond</comments>
		
		<dc:creator><![CDATA[esden]]></dc:creator>
		<pubDate>Tue, 22 Feb 2011 01:13:27 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[cortex]]></category>
		<category><![CDATA[cortex-m3]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[dongle]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[floss-jtag]]></category>
		<category><![CDATA[jtag]]></category>
		<category><![CDATA[open-hardware]]></category>
		<category><![CDATA[open-source]]></category>
		<guid isPermaLink="false">http://www.esden.net/blog/?p=447</guid>

					<description><![CDATA[Hey everyone, As you might know some time ago I have developed a small JTAG adapter based on the FT2232H chip. I gave it the name FLOSS-JTAG as the idea was that it should be absolutely OpenSource and OpenHardware. You can find the project at GitHub and some more info at it&#8217;s random projects wiki [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2011/02/DSC_3452.jpg"><img loading="lazy" decoding="async" class="alignright wp-image-449 size-medium" title="DSC_3452" src="https://esden.net/wp-content/uploads/2011/02/DSC_3452-300x199.jpg" alt="" width="300" height="199" srcset="https://esden.net/wp-content/uploads/2011/02/DSC_3452-300x199.jpg 300w, https://esden.net/wp-content/uploads/2011/02/DSC_3452-1024x680.jpg 1024w, https://esden.net/wp-content/uploads/2011/02/DSC_3452-624x414.jpg 624w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>Hey everyone,</p>
<p>As you might know some time ago I have developed a small JTAG adapter based on the FT2232H chip. I gave it the name FLOSS-JTAG as the idea was that it should be absolutely OpenSource and OpenHardware.</p>
<p>You can find the project at <a href="https://github.com/esden/floss-jtag">GitHub</a> and some more info at it&#8217;s <a href="http://randomprojects.org/wiki/Floss-JTAG">random projects wiki page</a>.</p>
<p>FLOSS-JTAG not only has the high speed 24MHz FT2232H chip (there are some designs based on my idea that are using a low speed version of the same chip). It provides the new standard 0.05&#8243; pitch 10 pin Cortex JTAG header as well as a TTL level serial interface on it&#8217;s second interface.</p>
<p>I am glad to announce that I have reached the V1.0 with it. All necessary files to make your own are in the GitHub repository. But if you don&#8217;t want to go through the pains of ordering PCB, sourcing parts, assembling QFN SMD packages you can also purchase it in the <a href="https://www.jobyrobotics.com/product.php?id_product=16">Joby Robotics</a> online shop.</p>
<p>At Joby Robotics you get a cable assembly to connect the FLOSS-JTAG to a target. This allows you to debug and connect to targets that are difficult to reach otherwise. You also will get a cortex connector to old standard 20pin 0.1&#8243; pitch connector adapter.</p>
<p>The adapter is small and will make it also easier to debug targets that are difficult to reach.</p>
<p>You can get precrimped Molex Picoblade wires in 10 different colors at Joby Robotics too. This way you can easily build a UART cable that connects FLOSS-JTAG to a device.</p>
<p>I am very happy that FLOSS-JTAG is finally easily accessible to anyone who needs it.</p>
<p>FLOSS-JTAG works perfectly together with Openocd and <a href="https://github.com/esden/summon-arm-toolchain">Summon-ARM-Toolchain</a>.</p>
<p>Cheers Esden</p>
]]></content:encoded>
					
					<wfw:commentRss>https://esden.net/2011/02/22/floss-jtag-v1-0-released-and-available/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
