Mini-BDM-Pod2019-05-30T12:47:34+00:00//hotwolf.github.io/Mini-BDM-PodDirk HeisswolfCopyright (c) 2010-2016 Dirk HeisswolfSecond Order of RevB Boards Has Arrived2015-01-03T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2015/01/03/second-order-of-RevB-boards-has-arrived.html<p>A new order of Mini-BDM-Pods has arrived. I had reordered the RevB design without changes, as there have been no bugs found so far.</p>
<p style="text-align:center;"><img src="images/Mini-BDM-Pod-RevB-second_order.png" alt=""></p>
Bootloader2013-07-08T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2013/07/08/bootloader.html <h3>This is where you’ll find the bootloader for the D-Bug12XZ firmware:</h3>
<p style="text-align:center;"><img src="images/BDMPgmr-Bootloader.png" alt="" /></p>
<p>The <a href="http://cache.nxp.com/files/soft_dev_tools/software/programmers/D-Bug12XZv6FW.zip">D-Bug12XZ Firmware</a> needs a bootloader(BDMPgmr bootloader) to run. This piece of firmware is included in <a href="http://www.nxp.com">Frescale’s</a> <a href="http://nxp.com/files/soft_dev_tools/software/programmers/LFBDMPGMRFW.zip"><span class="caps">LFBDMPGMRFW</span> software package</a>. This software is provided as a windows installer, which must be run. Afterwards the bootloader is located in a directory named “Firmware” within the installation directory (i.e C:\Program Files\Freescale\BDMProgrammer\Firmware\S12XEBoot.S19).</p>
<p>The Bootloader is the only firmware code, which must be programmed into the Mini-<span class="caps">BDM</span>-Pod via the “<span class="caps">BDM</span> IN” interface. The initial loading and updationg of the <a href="http://cache.nxp.com/files/soft_dev_tools/software/programmers/D-Bug12XZv6FW.zip">D-Bug12XZ Firmware</a> itself can be done with the help of the bootloader via the <span class="caps">USB</span> interface.</p>
<p>To invoke the bootloader menu, the “bootloader”-jumper must be closed when the Mini-<span class="caps">BDM</span>-Pod is powered up.</p>
D-Bug12XZv6 released2013-01-08T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2013/01/08/dbug12xz_released.html <p>Version 6 of the <a href="http://cache.nxp.com/files/soft_dev_tools/software/programmers/D-Bug12XZv6FW.zip" title="D-Bug12XZv6">D-Bug12 Firmware</a> is now available for download at the <a href="http://www.nxp.com/webapp/search/Serp.jsp?QueryText=d-bug12xz&SelectedAsset=Design+Tools">Frescale web site</a> .<br />
<a href="http://cache.nxp.com/files/soft_dev_tools/software/programmers/D-Bug12XZv6FW.zip">D-Bug12XZv6</a> is the new recommended firmware for the Mini-<span class="caps">BDM</span>-Pod.<br />
In addition to the features of the previous version (<a href="http://cache.nxp.com/files/soft_dev_tools/software/programmers/D-Bug12Xv5FW.zip">D-Bug12Xv5</a> ), Verson 6 supports <a href="http://www.nxp.com/webapp/sps/site/taxonomy.jsp?code=S12MAGNIVMCU">NXP’s new MagniV devices</a> (incl. the new S12Z <span class="caps">CPU</span>).</p>
How Much Does It Cost to Build a Mini-BDM-Pod?2012-08-02T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2012/08/02/how-much-does-it-cost.html<p>One of the goals of the Mini-<span class="caps">BDM</span>-Pod was to make it inexpensive to build. This is the sum of my material costs: <br />
<center></p>
<table style="border:1px solid;">
<tr style="text-align:center;">
<td> <strong>Item</strong> </td>
<td colspan="3"><strong>Unit Cost per No. of Units</strong> </td>
<td> <strong>Supplier</strong> </td>
</tr>
<tr style="text-align:center;">
<td> </td>
<td> <strong>1</strong> </td>
<td> <strong>5</strong> </td>
<td> <strong>10</strong> </td>
<td> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">10 PCBs (<span class="caps">EUR</span> 7.70) </td>
<td style="text-align:right;">7.70 <span class="caps">EUR</span></td>
<td style="text-align:right;">1.54 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.77 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:seeedstudio.com">Seeed Studio</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">10 Enclosures (<span class="caps">EUR</span> 9.72) </td>
<td style="text-align:right;">9.72 <span class="caps">EUR</span></td>
<td style="text-align:right;">1.94 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.97 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:seeedstudio.com">Seeed Studio</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">Shipping (<span class="caps">EUR</span> 5.83) </td>
<td style="text-align:right;">5.83 <span class="caps">EUR</span></td>
<td style="text-align:right;">1.17 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.58 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:seeedstudio.com">Seeed Studio</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">MC9S12XEQ512 (samples) </td>
<td style="text-align:right;">0.93 <span class="caps">EUR</span></td>
<td style="text-align:right;">0.93 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.93 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:freescale.com">Freescale</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">MAX3373 (samples) </td>
<td style="text-align:center;">free </td>
<td style="text-align:center;">free </td>
<td style="text-align:center;">free </td>
<td style="text-align:right;"><a href="http//:maxim-ic.com">Maxim</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">FT232RL </td>
<td style="text-align:right;">3.15 <span class="caps">EUR</span></td>
<td style="text-align:right;">3.15 <span class="caps">EUR</span> </td>
<td style="text-align:right;">3.15 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:reichelt.de">Reichelt</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">Discrete components </td>
<td style="text-align:right;">2.67 <span class="caps">EUR</span></td>
<td style="text-align:right;">2.67 <span class="caps">EUR</span> </td>
<td style="text-align:right;">2.67 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:reichelt.de">Reichelt</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">Shipping (<span class="caps">EUR</span> 5.60) </td>
<td style="text-align:right;">5.60 <span class="caps">EUR</span></td>
<td style="text-align:right;">1.12 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.56 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:reichelt.de">Reichelt</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">Screws (<span class="caps">EUR</span> 2.51/50) </td>
<td style="text-align:right;">2.51 <span class="caps">EUR</span></td>
<td style="text-align:right;">0.50 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.25 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:ebay.de">Ebay</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">Nuts (<span class="caps">EUR</span> 3.45/100) </td>
<td style="text-align:right;">3.45 <span class="caps">EUR</span></td>
<td style="text-align:right;">0.69 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.35 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:ebay.de">Ebay</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">Shipping (<span class="caps">EUR</span> 1.50) </td>
<td style="text-align:right;">1.50 <span class="caps">EUR</span></td>
<td style="text-align:right;">0.30 <span class="caps">EUR</span> </td>
<td style="text-align:right;">0.15 <span class="caps">EUR</span> </td>
<td style="text-align:right;"><a href="http//:ebay.de">Ebay</a> </td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;"> </td>
<td style="text-align:right;"></td>
<td style="text-align:right;"></td>
<td style="text-align:right;"></td>
<td style="text-align:right;"></td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;">Total unit cost </td>
<td style="text-align:right;"><strong>43.06</strong> <span class="caps">EUR</span></td>
<td style="text-align:right;"><strong>14.01</strong> <span class="caps">EUR</span> </td>
<td style="text-align:right;"><strong>10.38</strong> <span class="caps">EUR</span> </td>
<td style="text-align:right;"></td>
</tr>
<tr style="text-align:right;">
<td style="text-align:left;"></td>
<td style="text-align:right;"><strong>53.16</strong> <span class="caps">USD</span></td>
<td style="text-align:right;"><strong>17.30</strong> <span class="caps">USD</span> </td>
<td style="text-align:right;"><strong>12.82</strong> <span class="caps">USD</span> </td>
<td style="text-align:right;"></td>
</tr>
</table>
</center>
<p>In other words, it cost about 43 Euros (approx. 53 <span class="caps">USD</span>) to build the first Mini-<span class="caps">BDM</span>-Pod. The second one and all later ones only cost 6.75 Euros (approx. 8.30 <span class="caps">USD</span>). If you intend to build larger quantities of Mini-<span class="caps">BDM</span>-Pods, you’ll also have to consider the regular price of the <span class="caps">MCU</span> (MC9S12XEQ512) and the level shifter (MAX3373).</p>
RevB Boards Assembled2012-07-31T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2012/07/31/RevB-pod-assembled.html <p>The first set of RevB pods has been assembled and tested. D-Bug12X runs just fine on them. No further problems have been found.</p>
<p style="text-align:center;"><img src="images/Mini-BDM-Pod-RevB-assembled.png" alt="" /></p>
Project Listed on Upverter.com2012-06-06T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2012/06/06/project-listed-on-upverter.html <p>The <strong>Mini-<span class="caps">BDM</span>-Pod</strong> project is now listed on <a href="//upverter.com/hotwolf/bf194eb612279394/Mini-BDM-Pod/">upverter.com</a>.</p>
RevB Boards Have Arrived2012-06-05T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2012/06/05/RevB-boards-have-arrived.html<p>The RevB PCBs came in the mail.</p>
<p style="text-align:center;"><img src="images/Mini-BDM-Pod-RevB-PCB.png" alt="" /></p>
First Pod Assembled2012-05-29T00:00:00+00:00//hotwolf.github.io/Mini-BDM-Pod/2012/05/29/first-pod-assembled.html<p>The first <strong>Mini-<span class="caps">BDM</span>-Pod</strong> (RevA) has been assembled. It is basically working, but it has a severe layout bug: The connections of the MAX3373 level shifter are mixed up:</p>
<p style="text-align:center;"><img src="images/Mini-BDM-Pod-RevA-MAX3373.png" alt="" /></p>
<p>The RevA <span class="caps">PCB</span> is still usable if the level shifter is bypassed, but then it will only suppoert 5V targets.</p>
<p>On my prototye, I soldered in the MAX3373 on pins 1, 2, and 3. I tried to fix the remaining connections with copper wire, but I had to give up when the solder pads came off the <span class="caps">PCB</span>. I ended up using the free space for an additional jumper to power the target with the USB’s supply voltage:</p>
<p style="text-align:center;"><img src="images/Mini-BDM-Pod-RevA-front.png" alt="" /></p>
<p>Since I broke off the MAX7737s solder pads, I had to connect the target’s <span class="caps">BKGD</span> and <span class="caps">RESET</span> pins with copper wire.</p>
<p style="text-align:center;"><img src="http:images/Mini-BDM-Pod-RevA-back.png" alt="" /></p>
<p>The new boards (RevB) have already been ordered. I hope I’ll have better luck with those.</p>