<?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>8-bit MicrocontrollersのトピックRe: AN2295 Serial Bootloader error for 9S08GT60A</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149621#M7970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;When using this new beta code the program gets stuck in&lt;BR /&gt;"Calibration break pulse sent.&amp;nbsp; Count:&amp;nbsp; 30"&lt;BR /&gt;Then if I power it off and back on at this point it returns&lt;BR /&gt;"Can't read MCU info.&amp;nbsp; Could be protocol error.&lt;BR /&gt;(Or forgot to set single wire mode?)"&lt;BR /&gt;&lt;BR /&gt;I'm not sure if anyone else has used the code, but that is as far as I get after about 6 tries.&amp;nbsp; I run it in Command Prompt so the window doesn't close.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2007 22:41:16 GMT</pubDate>
    <dc:creator>Risan</dc:creator>
    <dc:date>2007-10-16T22:41:16Z</dc:date>
    <item>
      <title>AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149610#M7959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I run hc08sprg.exe it fails to program.&amp;nbsp; Please refer to the following jpg&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After asking "Are you sure to program part? [y/N]:"&amp;nbsp; I respond with "y" enter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then it responds "Memory programming: E 0x182C 0%"&amp;nbsp; It will sit here for over 2hrs, so I'm pretty sure the E is meaning some sort of error.&amp;nbsp; The AN2295.pdf is no help in this regard.&amp;nbsp; My code works when programmed over the BDM.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have three projects, the serial bootloader "hc08sprg-s08gbgt.mcp" and then my project "MSCA(M).mcp", and also an edited MSCA(M).mcp to include the serial bootloader "SerBootloader.mcp"&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The plain serial bootloader project, and combined project program the same and provide the same error when I run hc08sprg.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code MSCA(M) and combined code both operate my user code properly.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unable to program with the serial bootloader.&amp;nbsp; I'm using a USB to RS232 port, but that shouldn't be the problem since it establishes comunication properly.&amp;nbsp; I've even tried different *.s19 files thinking maybe mine was a problem, but that didn't change anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I am using SCI2 of the MCU&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Risan on &lt;SPAN class="date_text"&gt;2007-09-24&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:52 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fcommunity_files%2F8BITCOMM%2Fmsg7576_SCIBootloader.JPG" rel="nofollow" target="_blank"&gt;SCIBootloader.JPG&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:41 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 03:36:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149610#M7959</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-09-25T03:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149611#M7960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Has anyone seen this before, or know how to fix it?&amp;nbsp; I've searched the forums and the internet and haven't found anything like this.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 04:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149611#M7960</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-09-26T04:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149612#M7961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello and welcome Risan,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just because you can establish comms throught the USB to serial converter does not absolve it.&lt;/DIV&gt;&lt;DIV&gt;It could well be causing problems when more data is communicated.&lt;/DIV&gt;&lt;DIV&gt;I would try to use a real serial port to check this out.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 06:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149612#M7961</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-09-29T06:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149613#M7962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thank you for the reply.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tried programming on a computer with a serial port on the motherboard, but the same result occured.&amp;nbsp; Initial communications worked, asked if I wanted to program it, I replied 'y', but then it stopped on the line&lt;BR /&gt;&lt;BR /&gt;"Memory programming:&amp;nbsp; E 0x182C 0%"&lt;BR /&gt;&lt;BR /&gt;I am somewhat glad I didn't have success because many computers now don't have a built in serial port, so that could have been a problem.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 20:36:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149613#M7962</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-10-01T20:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149614#M7963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"Memory programming:&amp;nbsp; E 0x182C 0%" simply means that the bootloading has been stucked in Erase phase, ie. Erase command has been sent to MCU but no Acknowledge has been received.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First I would suggest to use the MCU with&amp;nbsp;bootloader only and eventually try some small code in other memory area (different address than 0x182C). Just to verify if it works. Actually GB/GT bootloader has only been tested with GB/GT successfully, but no A family though. Basically it should work. No major differences between A and non-A.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Maybe you can verify if FPROT register contains the correct value (0x80) so the protection is corrextly setup.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The communication itself (over USB&amp;lt;&amp;gt;RS232 converter) should be OK since you've reached the point after Identification.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pavel, an2295 developper&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Freescale Czech Republic&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 16:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149614#M7963</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2007-10-03T16:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149615#M7964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I checked the memory&lt;BR /&gt;FPROT $1824 is $80&lt;BR /&gt;&lt;BR /&gt;for reference the memory for that area is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1820&amp;nbsp; 00&amp;nbsp; 00&amp;nbsp; 00&amp;nbsp; 00&amp;nbsp; 80&amp;nbsp; C0&amp;nbsp; 00&amp;nbsp; 00&lt;BR /&gt;&lt;BR /&gt;I tried changing the address area, but when I changed it to being 1 block of flash from $2000 to $FDC0 the program still tried to erase 182C&lt;BR /&gt;&lt;BR /&gt;So then I tried programming it as a GT32,&amp;nbsp; the initial communications succeeded, but it failed to erase 8000.&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 21:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149615#M7964</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-10-03T21:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149616#M7965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;if the lowest address present in S19 is 0x2000, first Erase operation will be at 0x2000 (its modulo 0x0200 - Erase page size, 512B). Please, double check the S19 file content that you're presenting to &lt;FONT face="Courier New"&gt;hc08sprg.exe&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;Anyway, it seems that this is a general problem that you are having with Erase. Do you use the original code from AN2295SW or is it modified somehow?&lt;BR /&gt;&lt;BR /&gt;The part of memory mentioned does not show FCDIV to be set properly - and this could be the reason for Erase to fail.&lt;BR /&gt;&lt;BR /&gt;Pavel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;SPAN class="time_text"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by ok2ucx on &lt;SPAN class="date_text"&gt;2007-10-04&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:50 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 01:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149616#M7965</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2007-10-05T01:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149617#M7966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;P.S. GT60 vs. GT60A should be no difference (as well as GT32 vs. GT32A), although GT16A has slightly different Flash protection scheme than GT16 (thus GT16 bootloader won't work properly on GT16A).&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="time_text"&gt;New GT8A is the same as GT16A (it allows the protection boundary to be at any Erase page boundary).&lt;BR /&gt;&lt;BR /&gt;The update for GT16A and GT8A will soon appear in AN2295SW and will try to test also GT60A/GT32A.&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;Pavel&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 02:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149617#M7966</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2007-10-05T02:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149618#M7967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I'm using the unmodified code, and selecting "GB/GT60 SCI2" as my target for the codewarrior side of things.&lt;BR /&gt;&lt;BR /&gt;I ran into a new problem today.&amp;nbsp; For some reason when I try to run the serial bootloader I get a new error.&amp;nbsp; After&lt;BR /&gt;"received 0xfc (good).&lt;BR /&gt;Calibration break pulse sent. Count: 1"&lt;BR /&gt;I receive this error:&lt;BR /&gt;"Can't read MCU info.&amp;nbsp; Could be protocol error.&lt;BR /&gt;(Or forgot to set single wire mode?)"&lt;BR /&gt;&lt;BR /&gt;I have no idea where this came from.&amp;nbsp; I was going to change&lt;BR /&gt;NVOPT_ROM:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SECTION&lt;BR /&gt;NVOPT&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; DC.B&amp;nbsp;&amp;nbsp;&amp;nbsp; %00000000&amp;nbsp;&amp;nbsp;&amp;nbsp; ; backdoor enable, redirection enable, (un)secured flash [last 10]&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;NVOPT_ROM:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SECTION&lt;BR /&gt;NVOPT&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; DC.B&amp;nbsp;&amp;nbsp;&amp;nbsp; %00000010&amp;nbsp;&amp;nbsp;&amp;nbsp; ; backdoor enable, redirection enable, (un)secured flash [last 10]&lt;BR /&gt;&lt;BR /&gt;But I put it back to how it was and it didn't help anything.&amp;nbsp; I'm going to keep messing with it trying to get it to work.&amp;nbsp; Any suggestions on a solution would be good.&amp;nbsp; What does FDIV need to be?&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 03:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149618#M7967</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-10-05T03:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149619#M7968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I was able to get it to run again back to the error of errasing 182C&amp;nbsp; My memory addresses have changed&lt;BR /&gt;&lt;BR /&gt;17F8&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&lt;BR /&gt;1800&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp; D3&amp;nbsp; 00&amp;nbsp; 12 &amp;nbsp; 00&amp;nbsp; 80 &amp;nbsp; 02&lt;BR /&gt;1808&amp;nbsp; 00&amp;nbsp; 1C&amp;nbsp; 00 &amp;nbsp; 00&amp;nbsp; 00 &amp;nbsp; 00&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&lt;BR /&gt;1810&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp; 00 &amp;nbsp; 00&amp;nbsp; pp&amp;nbsp;&amp;nbsp; pp&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&lt;BR /&gt;1818&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&lt;BR /&gt;1820&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 02&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp; 80&amp;nbsp;&amp;nbsp; C0&amp;nbsp; 00&amp;nbsp; 00&lt;BR /&gt;1828&amp;nbsp; 00&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp;&amp;nbsp; 00&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&amp;nbsp; FF&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 20:58:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149619#M7968</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-10-05T20:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149620#M7969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hallo,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've updated AN2295 bootloader for GT/GB A-families. No difference on GB60A though. Also tested GB60A on both SCI1 and SCI2 channels, tested with M68DEMO908GB60 board, with fresh new GB60A soldered in. Works seamlessly.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;GT8A and GT16A not yet tested. Any testers here are very welcome.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also attached is the latest hc08sprg.exe, which is ready for QE (Flexis), some minor improvements included too. Beta version of GUI as a bonus &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; Now close to release 9 of AN2295SW.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pavel&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Freescale CZ&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/AN2295_Bootloader_Ctrl_b1_zip.zip" rel="nofollow" target="_self"&gt;AN2295_Bootloader_Ctrl_b1_zip.zip&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/hc08sprg_s08gbgt_a_b2_zip.zip" rel="nofollow" target="_self"&gt;hc08sprg_s08gbgt_a_b2_zip.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&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-08-27&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:11 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 20:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149620#M7969</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2007-10-16T20:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149621#M7970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;When using this new beta code the program gets stuck in&lt;BR /&gt;"Calibration break pulse sent.&amp;nbsp; Count:&amp;nbsp; 30"&lt;BR /&gt;Then if I power it off and back on at this point it returns&lt;BR /&gt;"Can't read MCU info.&amp;nbsp; Could be protocol error.&lt;BR /&gt;(Or forgot to set single wire mode?)"&lt;BR /&gt;&lt;BR /&gt;I'm not sure if anyone else has used the code, but that is as far as I get after about 6 tries.&amp;nbsp; I run it in Command Prompt so the window doesn't close.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 22:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149621#M7970</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-10-16T22:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149622#M7971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hmmm, hmmm,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;then there's yet another possibility - this behaviour could be caused by the hardware itself. It's not wrong just little 'lazy'.&lt;/DIV&gt;&lt;DIV&gt;It may be possible that the hardware (namely RS232 receiver is not ready = not powered up correctly) at the time when ACK from PC is expected. So I've added a small delay that might help.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just uncomment the code around line 300 of the beta-3 code attached and recompile:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;       CLR     SCC3

; OPTIONAL DELAY - if your RS232 hardware is lazy, uncomment following delay
; lazy means that probably RS232 receiver is not still ready to receive ACK from PC

;        CLRX
;DLY2:   CLRA
;DLY1:   NOP      
;        DBNZA   DLY1
;        DBNZX   DLY2


       LDA     SCS1
       MOV     #ACK,SCDR&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards, Pavel&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Freescale CZ&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/hc08sprg_s08gbgt_a_b3_zip.zip" rel="nofollow noopener noreferrer noopener noreferrer" target="_self"&gt;hc08sprg_s08gbgt_a_b3_zip.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&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-08-27&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:12 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149622#M7971</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2020-10-29T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149623#M7972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Sorry I haven't kept up.&amp;nbsp; I got busy with other things.&lt;BR /&gt;&lt;BR /&gt;But I tried enabling the delay, but it behaved the same as previously.&amp;nbsp; I'm grateful for the help.&amp;nbsp; Any other suggestions?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 02:29:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149623#M7972</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-10-31T02:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149624#M7973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Yep, I was busy too...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;... so far I don't see any other idea here beside hardware issues. Would be nice to see oscilloscope snapshot showing MCU RESET, RxD and TxD signals. Recently&lt;/FONT&gt; &lt;FONT size="2"&gt;I've tested beta-3 code on GB60A mounted on standard S08GB demoboard and, in addition, with MC13213 + MAX3232 level shifter. Both worked fine.&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;BTW, could it be PC related? Have you had success with another bootloader&amp;nbsp;family over the same RS232 port in this specific PC? What Win version do you use? Standard RS232 or USB/RS232 converter?&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;Pavel&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Freescale, CZ&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 03:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149624#M7973</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2007-11-07T03:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149625#M7974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I'm running Win XP SP2 on a dell dimension 5150.&lt;BR /&gt;&lt;BR /&gt;I use a USB/RS232 converter.&lt;BR /&gt;&lt;BR /&gt;I have tried running the bootloader on Win 98 using a regular RS232 serial port, but received the same results.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The board hardware uses a ICL3221 for the RS232 driver.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 22:26:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149625#M7974</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-11-07T22:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149626#M7975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I looked at it with an O-scope.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Set for 9600baud&lt;BR /&gt;&lt;BR /&gt;At power up the reset line begins to climb, but is pulled low then released high.&amp;nbsp; This should simply be the low voltage protection.&lt;BR /&gt;&lt;BR /&gt;Just after power up&lt;BR /&gt;The Transmit line (from microprocessor to PC) sends a 336us pulse&amp;nbsp; - I believe this is the 0xFC&lt;BR /&gt;After 1.920ms the Receive line (from PC to uP) sends a 316us pulse then it seems to be stuck&lt;BR /&gt;The Reset line stays high&lt;BR /&gt;&lt;BR /&gt;The code gets stuck in "Calibration break pulse sent.&amp;nbsp; Count:&amp;nbsp; xx"&amp;nbsp; the count simply increments.&lt;BR /&gt;&lt;BR /&gt;The Transmit line (from microprocessor to PC) sits at 0 Volts&lt;BR /&gt;The Receive line (from PC to uP) is at -8 Volts and will cause a 1ms pulse that causes the uP to reset.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 02:22:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149626#M7975</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-11-08T02:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149627#M7976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi, back again.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It seems to me that you actually measure RS232 signals at RS232 level (on the Cannon connector).&amp;nbsp;For&lt;/DIV&gt;&lt;DIV&gt;proper debugging you need to measure actual RxD and TxD signals *between* 232 level shifter and MCU (3V logic). I still think that the main trouble can be seen there - I mean 232 level shifter not working properly right after power up. What you observe there (RS232 levels) won't be reflected correctly at the 3V side.&lt;/DIV&gt;&lt;DIV&gt;An "oscillograph" of the&amp;nbsp;3V&amp;nbsp;signals would be very helpful.&lt;/DIV&gt;&lt;DIV&gt;You should see the signals similar to what is shown on the attached picture (all levels are at 3V, at the MCU).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you have RESET pin available (e.g. through button), you may try different way of starting bootloader:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;power up the device&lt;/LI&gt;&lt;LI&gt;press RESET button (and do not release it)&lt;/LI&gt;&lt;LI&gt;start &lt;FONT face="Courier New"&gt;hc08sprg.exe&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;release RESET button&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This way the level shifters should be functional once the MCU starts executing bootloader code.&lt;/P&gt;&lt;P&gt;Regards, Pavel ok2ucx, Freescale CZ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. You've indicated that the transmit line (from MCU to PC) stays at 0V. This is illegal RS232 level, which should be below -3V for log. "1" and above 3V for log. "0", if I remember well. Anything else may not be interpreted correctly.&lt;/P&gt;&lt;P&gt;Please, double check your RS232 level shifter if it's working properly.&lt;/P&gt;&lt;P&gt;P.S.2: I also don't understand this "&lt;FONT size="1"&gt;The Receive line (from PC to uP) is at -8 Volts and will cause a 1ms pulse that causes the uP to reset.&lt;/FONT&gt;"&amp;nbsp;- no RS232 signal cannot and will not reset the MCU (directly).&amp;nbsp;&amp;nbsp; -8V level (from PC) will be translated to log. "1" (3V) level&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/msg8060_bootack.png" rel="nofollow" target="_self"&gt;bootack.png&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:42 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 17:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149627#M7976</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2007-11-14T17:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149628#M7977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well, I got a new board today and tested it out.&amp;nbsp; The programming went fine.&amp;nbsp; Got the message that verification was ok.&lt;BR /&gt;&lt;BR /&gt;But for some reason my code is NOT executing.&amp;nbsp; Am I missing something obvious?&amp;nbsp; I wasn't supposed to change my code or anything was I?&amp;nbsp; Do I need to rename my main?&amp;nbsp; I'm going back through the an2295.pdf looking for something that I missed, but not seeing it yet.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Just going through the programming was a big step.&amp;nbsp; It seems it was a hardware issue that was resolved with the new board.&amp;nbsp; I even used the original an2295 software and it behaved the same.&lt;BR /&gt;&lt;BR /&gt;Thanks again for all the help, I'm almost there.&lt;BR /&gt;&lt;BR /&gt;Bobby&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 04:25:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149628#M7977</guid>
      <dc:creator>Risan</dc:creator>
      <dc:date>2007-11-17T04:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295 Serial Bootloader error for 9S08GT60A</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149629#M7978</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,&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;your code does not require any changes, any modifications at all. It only has very few limitations which are mentioned in &lt;B&gt;&lt;FONT face="Helvetica-Bold"&gt;HCS08 System Limitations&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt; &lt;FONT size="2"&gt;chapter in AN2295.pdf.&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;Obviously memory consumption won't be your problem (verification OK).&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;delay after startup?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Flash protection?&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;Regards, Pavel, Freescale CZ&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&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;P.S. Just want to correct the previous picture - the timing should be 312us for 0xFC ACK @ 9600Bd:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG src="http://sweb.cz/Pavel.Lajsner/bootack.png" /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 18:14:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295-Serial-Bootloader-error-for-9S08GT60A/m-p/149629#M7978</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2007-11-17T18:14:49Z</dc:date>
    </item>
  </channel>
</rss>

