<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S12 / MagniV MicrocontrollersのトピックRe: HCS12 bootstrap</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135189#M2201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Yes I think AN2153 is the one. I mentioned AN2548 before, but that is a "monitor" and the 2153 is apparently just the bootloader part (i.e. no frills?)&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 May 2006 23:45:44 GMT</pubDate>
    <dc:creator>imajeff</dc:creator>
    <dc:date>2006-05-10T23:45:44Z</dc:date>
    <item>
      <title>HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135183#M2195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would greatly appreciate any help with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to program the HCS12A64 device using a serial link. I have read through many of the apps notes but there does not seem to be a straight forward method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the application we have access to the serial link on the micro. I can issue a command trough hyperterminal which will start a bootstrap loader. I would like the bootstrap loader to then take a S19 downloaded file and overwrite the original application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There must be a bootstrap loader in existance which can do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone got any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MPC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 17:55:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135183#M2195</guid>
      <dc:creator>mpcengineer</dc:creator>
      <dc:date>2006-05-08T17:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135184#M2196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Of course you can put a bootloader in Flash to do it. Are you asking if there is one already on there? Freescale doesn't put one on. So to install one, you would have to upload it with BDM. The only need for a serial bootloader I can see (once you get BDM working) is if you want the end user to do it from their PC with no BDM tools.&lt;BR /&gt;&lt;BR /&gt;The AN2548 is listed on&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12A64" target="test_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12A64&lt;/A&gt;&lt;BR /&gt;and should be configurable to be used on the A64.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 00:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135184#M2196</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2006-05-09T00:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135185#M2197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;imajeff wrote:&lt;BR /&gt;The only need for a serial bootloader I can see (once you get BDM working) is if you want the end user to do it from their PC with no BDM tools.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's certainly one use, but we've found a bootloader an invaluable tool during development, when you have more people wanting to upload code than you have BDM modules. We make our own simple serial cables, so all you need is&amp;nbsp;one of those&amp;nbsp;and HyperTerminal.&lt;/P&gt;&lt;P&gt;In addition, it means that our production boards, which don't have BDM ports fitted, can be used for development without needing any modification.&lt;/P&gt;&lt;P&gt;So in other words, a serial bootloader can be useful for us developers, as well as for users.&lt;/P&gt;&lt;P&gt;Steve M.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 15:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135185#M2197</guid>
      <dc:creator>sjmelnikoff</dc:creator>
      <dc:date>2006-05-09T15:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135186#M2198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Oh, I understand. But BDM modules are cheap if you know where to get them (and well worth $50).&lt;BR /&gt;&lt;BR /&gt;I have one I think is great: Just ask for quantity prices from &lt;A href="http://evbplus.com/" rel="nofollow" target="_blank"&gt;Wytec&lt;/A&gt; (http://evbplus.com/)&lt;BR /&gt;&lt;BR /&gt;I've also built the TBDML, not bad. Most the work is learning to build one, so you'd get quite a discount to build, say, 5.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 21:50:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135186#M2198</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2006-05-09T21:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135187#M2199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;I must have mislead you all.&lt;BR /&gt;&lt;BR /&gt;I was hoping there was some C code template which I can integrate into the application so that during any servicing in the field an engineer can simply start hyperterming. Connect to SC0 via a 9 way D-Type on the product. Issue a command to start the bootloader. Then just send the S19 over the serial link.&lt;BR /&gt;&lt;BR /&gt;I notice there development monitors on the freescale apps notes but no simple no frills bootloaders.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;MPC.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 23:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135187#M2199</guid>
      <dc:creator>mpcengineer</dc:creator>
      <dc:date>2006-05-09T23:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135188#M2200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;I think you will have to use a serial bootloader located in protected Flash, like the one in AN2153. You could of course also put the bootloader code in&amp;nbsp; among your application code, and copy that to Ram before erasing and reprogramming the flash, but if something happens after you have erased the flash and before getting the new code down, you would stand there with a nonfunctioning unit (only way to reprogram it would be over the BDM).&lt;/P&gt;&lt;P&gt;The AN2153 is written for a 9S12DP512, but can surely be adapted to all members of the S12-family.&lt;/P&gt;&lt;P&gt;Sten&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 04:18:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135188#M2200</guid>
      <dc:creator>Sten</dc:creator>
      <dc:date>2006-05-10T04:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135189#M2201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Yes I think AN2153 is the one. I mentioned AN2548 before, but that is a "monitor" and the 2153 is apparently just the bootloader part (i.e. no frills?)&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 23:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135189#M2201</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2006-05-10T23:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135190#M2202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;The an2153 is the one for the original poster because it only needs a simple TTY interface.&lt;/P&gt;&lt;P&gt;However, the an2153 bootloader&amp;nbsp;is 4K bytes in size and the an2548 monitor is only 2K bytes in size. And the an2548 has a lot more features (it's a full monitor and not just a flash loader). The only limitation is that it uses a binary interface and requires a custom program on the PC.&lt;/P&gt;&lt;P&gt;If anyone is interested, one of my users, Chase Douglas,contributed C source for a linux program to use the an2548 as a bootloader from linux, and my open source debugger for Windows will be done soon.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ericengler.com/asmide.aspx" rel="nofollow" target="_blank"&gt;http://www.ericengler.com/asmide.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;On a similar topic, Michał Konieczny wrote an open source program that uses the an2546 and an2548, and also several BDMs (check to see if he supports an2153).&lt;/P&gt;&lt;P&gt;&lt;A href="http://cml.mfk.net.pl/hc12mem/" rel="nofollow" target="_blank"&gt;http://cml.mfk.net.pl/hc12mem/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 07:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135190#M2202</guid>
      <dc:creator>englere</dc:creator>
      <dc:date>2006-05-17T07:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135191#M2203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Wow,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How to get the bootloader into a 9S12NE64 initially?&amp;nbsp; There must always be a BDM connector on the target board?&amp;nbsp; The mechanics of all this has got my head spinning.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have the 9S12NE64 demo board with the monitor program, can I load a BDM program into this, and if so where does one locate a free one?&amp;nbsp; I assume once the BDM is up and running I could then load the application, or the montor which I could then use in the same manner as the demo and CodeWarrior......&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;George&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 23:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135191#M2203</guid>
      <dc:creator>Frousouna</dc:creator>
      <dc:date>2006-06-19T23:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135192#M2204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;The BDM do not need any special program in the S12, just the 6-pin connector on the board, so that you can connect it to a debugger or programmer. e.g. CW for S12, together with a suitable interface (I am using the Cyclone Pro), can program the S12 for you.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 12:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135192#M2204</guid>
      <dc:creator>Sten</dc:creator>
      <dc:date>2006-06-20T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 bootstrap</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135193#M2205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;And if space was too limited, you could have a BDM pod that is powered separately, and have only two pins (provided you have common GND), BKGD and RESET. Sometimes I would want to do that without even installing a header, just press a connection against it during programming. You can't get any simpler than that for in-circuit programming.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 22:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-bootstrap/m-p/135193#M2205</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2006-06-20T22:27:06Z</dc:date>
    </item>
  </channel>
</rss>

