<?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>topic Re: How to program flash through DEMO9S08QG8 by UART command? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129281#M1886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Okay, May is just around the corner...hope it's gonna be begin of May though :smileywink:.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As for the re-programming....it's now working. I'm sure you're right with the level shifters: I've added another 100ms delay _before_ the uC is looking for hook data, giving more time to find the hook, and it's working fine now.&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;&amp;nbsp;Marco&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2006 21:35:30 GMT</pubDate>
    <dc:creator>buxi</dc:creator>
    <dc:date>2006-04-18T21:35:30Z</dc:date>
    <item>
      <title>How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129275#M1880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi, I would like to program flash inside HCS08&amp;nbsp;through DEMO9S08QG8 board in my own application. I need to use UART port to program the flash. I know it can be done by using CodeWarrior. But I need to integrate the flash program into my production software. Anybody know where I can find&amp;nbsp;its programming commands for UART port? Or is there any DLL available to implement it?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 17:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129275#M1880</guid>
      <dc:creator>TonyLin</dc:creator>
      <dc:date>2006-03-20T17:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129276#M1881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi TonyLin,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;you probably intend to use Serial Monitor (described in AN2140) for Flash programming. I'm not aware of any stand-alone application that would be capable of inferfacing these commands. The Serial Monitor is primarily intended for low-cost debugging while your requirements are slightly different.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I wonder if you could use AN2295SW bootloader for purpose of Flash programming only. Yes, QG8 code has not been released yet but it has been developed 3 weeks ago. If you are interested, find the alpha version code on freegeeks download/utililities area: &lt;A href="http://www.freegeeks.net/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=1#cat" rel="nofollow" target="_blank"&gt;http://www.freegeeks.net/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=1#cat&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope you find it useful.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards, Pavel, ok2ucx &lt;FONT size="1"&gt;(AN2295 developper)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;Freescale Czech System Center,&lt;/DIV&gt;&lt;DIV&gt;Roznov p.R., Czech Republic, EU&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 18:07:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129276#M1881</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-03-20T18:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129277#M1882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Now the 9S08QGx comes empty from the factory. So I can not&amp;nbsp;use Serial Monitor for initial flash programming. Do you mean it will comes with bootloader for SCI communication in near future?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 10:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129277#M1882</guid>
      <dc:creator>TonyLin</dc:creator>
      <dc:date>2006-03-21T10:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129278#M1883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Nope,&lt;/P&gt;&lt;P&gt;AN2295 bootloader is an independent software and will not be programmed into shipped devices (as far as I know). Originally it has been intended as a simple help tool for developper for quick flash re-programming and it comes on a as-is basis. Some people actually use it in production allowing end user to update firmware on their own.&lt;/P&gt;&lt;P&gt;The Freescale devices are usually sold blank, in large volumes any user code (e.g. bootloader) can be factory programmed during the final tests. It costs some buck$ but at the end it brings some further savings during manufacturing (design of BDM interface not needed, actual programming does not need to be done, etc.).&lt;/P&gt;&lt;P&gt;Normally, use P&amp;amp;E Micro tools, TBDML, Open Source BDM or alike tools for&amp;nbsp;production programming.&lt;/P&gt;&lt;P&gt;Regards, Pavel (ok2ucx)&lt;/P&gt;&lt;P&gt;Freescale Roznov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 15:39:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129278#M1883</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-03-21T15:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129279#M1884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Well,&lt;/P&gt;&lt;P&gt;I'm using the AN2295 bootloader on a QB8 uC, but I'm not sure about the "Re"-programming part of that bootloader: It worked fine the first time I'm loading user code with that bootloader, but after that it appears that I can't get back in the "hook" to re-program another user program.&lt;BR /&gt;Anyone any idea on why I can't seem to re-program after I programmed my user code?&lt;/P&gt;&lt;P&gt;Anyway.....I also want to switch to the QG8, would love to use this bootloader (if I can make it work), but the SCI is not included in the 8 pin package, so I'll have to port the code to IIC on the uC, use a SCI-IIC bridge (e.g. a uC with both interfaces like the GB60A). This way, the PC won't know about the different interface, the GB60A is bridging data from the IIC and SCI, I just have to work on the IIC.&lt;BR /&gt;Btw: I got a message from Freescale support&amp;nbsp;stating that they won't have the porting to 8 pin QG8 until May 2006.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;buxi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 22:46:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129279#M1884</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-04-13T22:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129280#M1885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;re-programming should definitely work, it's a main feature. If initial hook won't occur once there's some code already in the MCU, it may be caused by RS232 level shifters not properly working fast enough after power-on. Then PC won't see initial ACK from the micro.&lt;/P&gt;&lt;P&gt;To confirm this, try to use RESET pin of QB8 (if enabled) or power RS232 shifters from separate supply (dirty way is to short-connect MCU Vdd for a short while).&lt;/P&gt;&lt;P&gt;For 8-pin QG8, porting code to IIC would be a huge effort instead of adding software SCI functionality (that&amp;nbsp;was me&amp;nbsp;promissing doing it in May ; ). Similar way like on QT/QY family. Once this alpha software is available, I'll let the forum know.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavel, ok2ucx&lt;/P&gt;&lt;P&gt;Freescale Roznov, &lt;FONT size="1"&gt;AN2295 author&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 21:17:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129280#M1885</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-04-18T21:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129281#M1886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Okay, May is just around the corner...hope it's gonna be begin of May though :smileywink:.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As for the re-programming....it's now working. I'm sure you're right with the level shifters: I've added another 100ms delay _before_ the uC is looking for hook data, giving more time to find the hook, and it's working fine now.&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;&amp;nbsp;Marco&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 21:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129281#M1886</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-04-18T21:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129282#M1887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I was actually thinking about using another uC to inface the QG8 to SCI (PC), basically have the uC relay data between IIC and SCI. The problem here is that I'd need two wires (SCA,SCL), whereas with an emulated SCI I might get away with&amp;nbsp;one wire. Would that be possible?&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;&amp;nbsp;&amp;nbsp;Marco&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2006 22:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129282#M1887</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-04-19T22:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129283#M1888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;Why are you going to so much trouble to avoid using a BDM based solution?&lt;/P&gt;&lt;P&gt;To me the only reasons for using a serial bootloader are:&lt;/P&gt;&lt;P&gt;1: You can't afford a BDM based device.&lt;/P&gt;&lt;P&gt;2: You want to enable field upgrades with just a serial cable (presuming the user in the future can find a serial port!)&lt;/P&gt;&lt;P&gt;I can see no reason to bother to build a piece of hardware to avoid the BDM solution.&lt;/P&gt;&lt;P&gt;You could build the OSBDM.&lt;/P&gt;&lt;P&gt;BR Peg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2006 07:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129283#M1888</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-20T07:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129284#M1889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Peg,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm working on a project that incorporates the uC in our main product, and our customers will be able to customize the behaviour of our product by a GUI that modifies pre-compiled application cores by re-programming the uC. Obviously we don't want to supply each customer with a programmer (costs approx. $99 if I remember correctly), and we'd also like to minimize the number of connections to our product (Vd, Vs, TxD, RxD - I also try to get a bi-directional communication with only one signal).&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;Marco&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2006 21:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129284#M1889</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-04-20T21:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129285#M1890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Fair enough!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 04:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129285#M1890</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-21T04:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129286#M1891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've just finished alpha version of software SCI bootloader for S08QG family. It has been briefly tested using demo board. Works up to 57600Bd. I haven't tested a single wire feature since I have no hardware setup quickly available.&lt;/P&gt;&lt;P&gt;Please find the source files&amp;nbsp;in freegeeks download section:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freegeeks.net/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=1#cat" rel="nofollow" target="_blank"&gt;http://www.freegeeks.net/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=1#cat&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All comments please via personal messages.&lt;/P&gt;&lt;P&gt;Nice weekend,&lt;/P&gt;&lt;P&gt;Pavel, ok2ucx&lt;BR /&gt;Freescale Roznov p.R., CZ&lt;/P&gt;&lt;P&gt;AN2295 bootloader developer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 18:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129286#M1891</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-04-21T18:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129287#M1892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;just for convenience I've attached both versions of S08QG bootloaders&amp;nbsp;here before they go officially into AN2295SW. Note that both versions of QG8 bootloaders are in alpha version, any bugs should be reported to me (preferrably via personal message). Thanks.&lt;/P&gt;&lt;P&gt;'Standard' version uses hardware SCI module, second emulates SCI using software (good for 8-pin device and/or if you want to use another pin or single-wire communication).&lt;/P&gt;&lt;P&gt;Regards, Pavel ok2ucx&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Developer of AN2295 HC(S)08 Developer's Bootloader&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/msg1070_hc08sprgs08qgalpha1bootloaders.zip" rel="nofollow" target="_self"&gt;hc08sprg-s08qg-alpha1-bootloaders.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-03&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:33 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2006 15:00:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129287#M1892</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-05-04T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129288#M1893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I was just wondering, if anyone had a chance to implement the new bootloader, and if there are any problems so far. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt; Marco&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2006 00:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129288#M1893</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-06-23T00:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129289#M1894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi, has the bootloader for QG8 been released offically? Where can I find it. Thanks!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2006 16:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129289#M1894</guid>
      <dc:creator>TonyLin</dc:creator>
      <dc:date>2006-07-27T16:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129290#M1895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;not yet, the only "official" release is here, just few messages above. AN2295SW update is in progress, together with USB version for HC908JW32. will go officially out hopefully before end of this year.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;has anybody had a chance to try this QG8 alpha version of bootloader? either with positive or negative result? please tell me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards, pavel ok2ucx, an2295 developer's bootloader developer &lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2006 20:10:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129290#M1895</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-07-27T20:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129291#M1896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I just tried to use the new boot loader: I created a new project with CW 5.1 and Processor Expert, just toggling PTA0 every second, which works fine. I modified the boot loader to use PTA0/1 for TXD/RXD, starting the PC application, which recognizes the 0xFC and is ready to download the firmware.&lt;BR /&gt;However, CW 5.1 adds the following hex records into the file:&lt;BR /&gt;&lt;BR /&gt;S104FFBDFF40&lt;BR /&gt;S104FFBF7EBF&lt;BR /&gt;&lt;BR /&gt;It writes into the NVPROT and NVOPT, and the loader warns that this hex file will not fit in to the MCU (QG8). I removed these two records, and the loader programs the firmware without any problems. But the original application does not seems to start.&lt;BR /&gt;&lt;BR /&gt;I compiled the original application, removed the two records, and then started the debugger, to program the MCU with this application but w/o these records. The memory shows 0xFF for FFBD/FFBF and the application works.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt; Marco&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 04:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129291#M1896</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-08-10T04:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129292#M1897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I just wanted to mention one more thing: With removing the two records NVPROT/NVOPT, the PC boot loader still determines the address range of the application between E000 and FDBF. Not quite sure, if this might cause the problem.&lt;BR /&gt;Here is the log of the boot loader:&lt;BR /&gt;&lt;BR /&gt;hc08sprg - Developer's Serial Bootloader for HC(S)08 - $Version: 1.0.26.0$&lt;BR /&gt;FC protocol versions supported: 1 (HC08), 2 (S08), 3 (large HC08)&lt;BR /&gt;See Freescale Application Note AN2295.&lt;BR /&gt;&lt;BR /&gt;Waiting for HC08 reset ACK...hc08sprg - Developer's Serial Bootloader for HC(S)08 - $Version: 1.0.26.0$&lt;BR /&gt;FC protocol versions supported: 1 (HC08), 2 (S08), 3 (large HC08)&lt;BR /&gt;See Freescale Application Note AN2295.&lt;BR /&gt;&lt;BR /&gt;Waiting for HC08 reset ACK...received 0xfc (good).&lt;BR /&gt;&lt;BR /&gt;Calibration break pulse sent. Count: 1 &lt;BR /&gt;Bootloader protocol version: 0x02 (read command supported)&lt;BR /&gt;Bootloader version string: QG8-softSCI&lt;BR /&gt;System device ID: 0x009 [unknown] rev. 2&lt;BR /&gt;Number of memory blocks: 1&lt;BR /&gt;Memory block #1: 0xE000-0xFDBF&lt;BR /&gt;Erase block size: 512 bytes&lt;BR /&gt;Write block size: 64 bytes&lt;BR /&gt;Original vector table: 0xFFC0-0xFFFF&lt;BR /&gt;New vector table: 0xFDC0-0xFDFF&lt;BR /&gt;&lt;BR /&gt;hc08sprg - Developer's Serial Bootloader for HC(S)08 - $Version: 1.0.26.0$&lt;BR /&gt;FC protocol versions supported: 1 (HC08), 2 (S08), 3 (large HC08)&lt;BR /&gt;See Freescale Application Note AN2295.&lt;BR /&gt;&lt;BR /&gt;Waiting for HC08 reset ACK...hc08sprg - Developer's Serial Bootloader for HC(S)08 - $Version: 1.0.26.0$&lt;BR /&gt;FC protocol versions supported: 1 (HC08), 2 (S08), 3 (large HC08)&lt;BR /&gt;See Freescale Application Note AN2295.&lt;BR /&gt;&lt;BR /&gt;Waiting for HC08 reset ACK...received 0xfc (good).&lt;BR /&gt;&lt;BR /&gt;Calibration break pulse sent. Count: 1 &lt;BR /&gt;Bootloader protocol version: 0x02 (read command supported)&lt;BR /&gt;Bootloader version string: QG8-softSCI&lt;BR /&gt;System device ID: 0x009 [unknown] rev. 2&lt;BR /&gt;Number of memory blocks: 1&lt;BR /&gt;Memory block #1: 0xE000-0xFDBF&lt;BR /&gt;Erase block size: 512 bytes&lt;BR /&gt;Write block size: 64 bytes&lt;BR /&gt;Original vector table: 0xFFC0-0xFFFF&lt;BR /&gt;New vector table: 0xFDC0-0xFDFF&lt;BR /&gt;&lt;BR /&gt;Are you sure to program part? [y/N]: &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt; Marco&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 05:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129292#M1897</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-08-10T05:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129293#M1898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hi buxi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;this behaviour is completely correct. Everything works as expected. Glad to see that even a soft-SCI version works fine. NVOPT/NVPROT&amp;nbsp;as one of the&amp;nbsp;limitations&amp;nbsp;is documented in AN2295, page 22 (fo S08). More precisely:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Helvetica" size="3"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica" size="3"&gt;&lt;FONT size="1"&gt;FLASH Protection Technique Not Usable&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica" size="3"&gt;&lt;FONT size="1"&gt;The bootloader uses a FLASH block protection technique to protect itself from being overwritten, therefore this feature is not available for the user code. This includes FLASH memory security related registers (namely NVPROT, NVOPT, and NVBACKKEY), which are used for protection and interrupt vector relocation by bootloader.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica" size="3"&gt;&lt;FONT size="2"&gt;Basically all Flash above 0xFDBF is occupied by Bootloader. No user code should&amp;nbsp;be present&amp;nbsp;above this address, just except interrupt vectors that are automagically redirected to 0xFDC0-0xFDFF area.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica" size="3"&gt;&lt;FONT size="2"&gt;That also explains why bootloader complains about NVOPT and NVPROT memory locations. And it always will. Actually nothing wrong happens, these Flash memory locations are protected and cannot be overwritten. And your values are simply ignored.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica" size="3"&gt;&lt;FONT size="2"&gt;Regards, Pavel, ok2ucx&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica" size="3"&gt;&lt;FONT size="2"&gt;P.S. AN2295 rev. 8 will go officially on web these days. QG8 bootloader already included.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 15:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129293#M1898</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-08-10T15:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to program flash through DEMO9S08QG8 by UART command?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129294#M1899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks ok2ucx,&lt;BR /&gt;&lt;BR /&gt;good to know that it's working as expected :smileywink:. But when I left the NVOPT/NVPROT records in the hex file, the boot loader never completed the programming - I had to cancel it out. &lt;BR /&gt;I can live with removing these records (or deactivate them in CW 5.1 if I find out how ;-)), but unfortunately my simple application is not working. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt; Marco&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 21:46:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-flash-through-DEMO9S08QG8-by-UART-command/m-p/129294#M1899</guid>
      <dc:creator>buxi</dc:creator>
      <dc:date>2006-08-10T21:46:15Z</dc:date>
    </item>
  </channel>
</rss>

