<?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: AW60, AN2295 bootloader.  Bad files.  Anyone have it working? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133474#M3421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hallo Bob, this is probably not a bootloader bug but rather a behaviour caused by 'lazy' RS232 interface. What I mean by lazy - the software starts quickly but RS232 converters are not providing enough charge/voltage to the RS232 lines and the FC acknowledge character is not being transmitted properly, ie. not received by PC.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In the latest QG bootloader, I've introduced an additional delay, just before the FC acknowledge is sent out. This enlarges the startup time but improves the reliabilty of bootloader hook up. You may try to include following lines into AW bootloader...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCIC3&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;;----------------------------------------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;; OPTIONAL DELAY - if your RS232 hardware is lazy, uncomment following delay&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLRX&lt;BR /&gt;DLY2:&amp;nbsp;&amp;nbsp; CLRA&lt;BR /&gt;DLY1:&amp;nbsp;&amp;nbsp; NOP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DBNZA&amp;nbsp;&amp;nbsp; DLY1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DBNZX&amp;nbsp;&amp;nbsp; DLY2&lt;BR /&gt;;----------------------------------------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LDA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCIS1&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MOV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #ACK,SCDR&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LDX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #T100MS&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Let me know whether this helps with your hardware configuration.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards, Pavel ok2ucx&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 19:54:29 GMT</pubDate>
    <dc:creator>ok2ucx</dc:creator>
    <dc:date>2006-11-13T19:54:29Z</dc:date>
    <item>
      <title>AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133469#M3416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Trying to get my 9S08AW60 project off the ground. The AN2295 bootloader stuff I downloaded off Freescale has the wrong .INC file (and the wrong readme...) and it won't assemble....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the serial bootloader with my AP64 projects with good success, Does anyone have the correct files to build the AW60? Or just the S19.... standard mode, SCI1, No Int pin for boot.....&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;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 13:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133469#M3416</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2006-10-18T13:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133470#M3417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dears,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I tried to Make AW60 bootloader from files that are currently on the web (rev 8.). Both CW3.1 &amp;amp; CW 5.1 generated working code (although .inc file was wrong, correct one has been included from CW installation).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My hw setup uses SCI2 @ 9600Bd, optoisolated and works fine:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;X:\EMBSW\EMBSW238T\unified_driver\examples\HC08\9S08AW\bin&amp;gt;hc08sprg com1 "P&amp;amp;E_FCS.abs.s19"&lt;BR /&gt;hc08sprg - Developer's Serial Bootloader for HC(S)08 - $Version: 1.0.27.0$&lt;BR /&gt;FC protocol versions supported: 1 (HC08), 2 (S08), 3 (large HC08)&lt;BR /&gt;See Freescale Application Note AN2295.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;Waiting for HC08 reset ACK...received 0xfc (good).&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: AW60&lt;BR /&gt;System device ID: 0x008 [MC9S08AW60] rev. 5&lt;BR /&gt;Number of memory blocks: 2&lt;BR /&gt;Memory block #1: 0x0870-0x17FF&lt;BR /&gt;Memory block #2: 0x1860-0xFDCB&lt;BR /&gt;Erase block size: 512 bytes&lt;BR /&gt;Write block size:&amp;nbsp; 64 bytes&lt;BR /&gt;Original vector table: 0xFFCC-0xFFFF&lt;BR /&gt;New vector table:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFDCC-0xFDFF&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;Are you sure to program part? [y/N]: Y&lt;BR /&gt;Memory programmed:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100%&lt;BR /&gt;Memory verified:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;X:\EMBSW\EMBSW238T\unified_driver\examples\HC08\9S08AW\bin&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To verify I've generated a new example for Freemaster, it uses interrupts, ICG, all is OK.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The only issue that I've observed has already been discussed in &lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1447&amp;amp;query.id=2647#M1447" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1447&amp;amp;query.id=2647#M1447&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Attached you find the corrected AW60 bootloader and also mentioned Freemaster example. Trim S8P file too.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Let me know, regards, Pavel ok2ucx&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;an2295 developper&lt;/DIV&gt;&lt;P&gt;Message Edited by ok2ucx on &lt;SPAN class="date_text"&gt;2006-10-18&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:31 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="time_text"&gt;&lt;FONT size="2"&gt;(Alban removed soft beta version.&lt;/FONT&gt; &lt;FONT size="2"&gt;&lt;A href="http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN2295SW&amp;amp;prodCode=MC9S08AW60&amp;amp;nodeId=016246844914372654&amp;amp;location=psp" rel="nofollow" target="_blank"&gt;released now available&lt;/A&gt;&lt;/FONT&gt; &lt;FONT size="2"&gt;and license agreement required for legal reasons)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;2006-11-18&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:33 PM&lt;/SPAN&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/msg3162_Freemaster9S08AWalpha1.zip" rel="nofollow" target="_self"&gt;Freemaster-example-9S08AW-alpha-1.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/msg3162_9s08aw60trim.zip" rel="nofollow" target="_self"&gt;9s08aw60-trim.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:26 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 18:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133470#M3417</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-10-18T18:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133471#M3418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks for the reply. It is working now. I get a speed/baud error of some sort when trying to download to it, but I will fix that I'm sure. For now I am still using BDM to develop.&lt;BR /&gt;&lt;BR /&gt;A follow-up question or 2 if I may...&lt;BR /&gt;&lt;BR /&gt;Is there an example of in-application flash programming that is easily ported over to my application? I need to store some data in flash within my app. In my AP64 designs there were monitor routines that were called, which seemed to work fine. I am trying to understand the routines in the serial bootloader code, as well as the serial monitor example. Are there any other examples so I can understand what I need to do?&lt;BR /&gt;&lt;BR /&gt;If I wanted to overlay the bootloader image on my application, so I could flash the parts once during manufacture (I want to ship my units with bootloader capability), what needs to be done other than copying the interrupt vectors?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;N8DRK&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2006 01:34:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133471#M3418</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2006-11-05T01:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133472#M3419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;the in-circuit Flash programming is in detail described in&lt;/FONT&gt; &lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;HCS08RM - S08 Family Manual. From this document, 'do on stack routines' have been taken for bootloader. As an alternative, I've attached a&amp;nbsp;simple C example with these routines are used. The only thing (often forgotten) is the configuration of Flash module block before Flash programming occurs.&lt;/FONT&gt;&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;Regarding the 'overlaying' the bootloader with the application, probably the best way would be:&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;1) use BDM to program bootloader code&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;2) bootload your application into MCU&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;3) use BDM to upload the complete Flash memory back to PC&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;4) you can optionally erase all lines in the S19 file that contain only FF (unprogrammed) bytes.&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;Such S19 file can be then used for mass production. This is applicable for both HC08 and S08 families.&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;S08 family can use the method you propose, just relocating interrupt vectors and concatenating both code (user code + bootloader) would work too.&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,&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, ok2ucx&lt;/FONT&gt;&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/msg3402_MC9S08GB60_doonstack_demo.zip" rel="nofollow" target="_self"&gt;MC9S08GB60_doonstack_demo.zip&lt;/A&gt;&lt;BR /&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;&lt;/FONT&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-09-03&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:27 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 07:20:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133472#M3419</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-11-07T07:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133473#M3420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok, I have the projects building, and have edited the s8p files, so the trim works properly. My application works correctly when BDM'd into the processor.&lt;BR /&gt;&lt;BR /&gt;When I build the bootloader it gives warning 13003 for 2 truncated values.&lt;BR /&gt;&lt;BR /&gt;I disabled those messages and it builds. It BDM flashes in no problem, and appears to be trimmed during the flashing.&lt;BR /&gt;&lt;BR /&gt;But when I try to bootload my application code, I get errors related to the trim and baud rate.&lt;BR /&gt;&lt;BR /&gt;here is what it is saying:&lt;BR /&gt;&lt;BR /&gt;c:\HS08SPRG COM1 9600 PL001.s19&lt;BR /&gt;hc08sprg - Developer's Serial Bootloader for HC(S)08 - $Version: 1.0.22.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 0x00 (off-key).&lt;BR /&gt;&lt;BR /&gt;Calibration break pulse sent. Count: 1&lt;BR /&gt;Wrong calibrate response (0x00, must be 0xFC). Target is not calibrated.&lt;BR /&gt;&lt;BR /&gt;I am testing this on the AW60 demo board, my device has a FTDI USB chip on it and therefore the calibration may be even more of an issue......&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;N8DRK&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2006 00:43:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133473#M3420</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2006-11-11T00:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133474#M3421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hallo Bob, this is probably not a bootloader bug but rather a behaviour caused by 'lazy' RS232 interface. What I mean by lazy - the software starts quickly but RS232 converters are not providing enough charge/voltage to the RS232 lines and the FC acknowledge character is not being transmitted properly, ie. not received by PC.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In the latest QG bootloader, I've introduced an additional delay, just before the FC acknowledge is sent out. This enlarges the startup time but improves the reliabilty of bootloader hook up. You may try to include following lines into AW bootloader...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCIC3&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;;----------------------------------------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;; OPTIONAL DELAY - if your RS232 hardware is lazy, uncomment following delay&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLRX&lt;BR /&gt;DLY2:&amp;nbsp;&amp;nbsp; CLRA&lt;BR /&gt;DLY1:&amp;nbsp;&amp;nbsp; NOP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DBNZA&amp;nbsp;&amp;nbsp; DLY1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DBNZX&amp;nbsp;&amp;nbsp; DLY2&lt;BR /&gt;;----------------------------------------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LDA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCIS1&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MOV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #ACK,SCDR&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LDX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #T100MS&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Let me know whether this helps with your hardware configuration.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards, Pavel ok2ucx&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 19:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133474#M3421</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-11-13T19:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133475#M3422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks for the reply. I will try that.&lt;BR /&gt;&lt;BR /&gt;I was trying the AW60 demo board without success. I tried my prototype unit and it sync'd up fine (USB).&lt;BR /&gt;&lt;BR /&gt;It is giving me errors related to the Flash block protection register, which I am trying to turn off. It is seeming that Codewarrior (Processor Expert) is initializing it to FF even if I have it disabled.&lt;BR /&gt;&lt;BR /&gt;Should the Bootloader PC program ignore the settings of the NVPROT and NVOPT registers?&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;N8DRK&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 13:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133475#M3422</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2006-11-18T13:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133476#M3423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello guys,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For Your Information:&lt;/DIV&gt;&lt;DIV&gt;A new version of the AN2295 software is now publicly released on Freescale website.&lt;/DIV&gt;&lt;DIV&gt;Please look for AN2295SW to get it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;TABLE border="0" cellpadding="1" cellspacing="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="Thw"&gt;&lt;A href="http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN2295SW&amp;amp;prodCode=MC9S08AW60&amp;amp;nodeId=016246844914372654&amp;amp;location=psp" rel="nofollow" target="_blank"&gt;&lt;STRONG&gt;AN2295SW&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;&lt;IMG src="http://www.freescale.com/site_cons/images/update.gif" /&gt;&lt;BR /&gt;Software for AN2295 &amp;nbsp;&lt;/TD&gt;&lt;TD align="middle" class="Thw"&gt;FREESCALE &amp;nbsp;&lt;/TD&gt;&lt;TD align="middle" class="Thw"&gt;zip &amp;nbsp;&lt;/TD&gt;&lt;TD align="middle" class="Thw"&gt;1176 &amp;nbsp;&lt;/TD&gt;&lt;TD align="middle" class="Thw"&gt;8.2 &amp;nbsp;&lt;/TD&gt;&lt;TD align="middle" class="Thw"&gt;11/06/2006 &amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I need to remove the draft version from this thread because of the license agreement.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2006 07:28:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133476#M3423</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-11-19T07:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133477#M3424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Alban, Good Evening!&lt;BR /&gt;&lt;BR /&gt;What is the nature of missing file "flash.ini"?&lt;BR /&gt;&lt;BR /&gt;Al&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2006 07:53:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133477#M3424</guid>
      <dc:creator>Geezer</dc:creator>
      <dc:date>2006-11-19T07:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133478#M3425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Al !&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There's a file missing in the archive released ? &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is it the AN2295SW or other software included in the thread ?&lt;/DIV&gt;&lt;DIV&gt;If the first, Pavel will probably be reading your message and update AN2295SW.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2006 19:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133478#M3425</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-11-19T19:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133479#M3426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Morning, Alban (I am East Coast, USA)--&lt;BR /&gt;&lt;BR /&gt;File "flash.ini" is listed as a required file in the project file. It it not required there, but perhaps somewhere else such as by the driver program code? I removed the reference with no ill effects. [I'm guessing, as I've only played with the HCS08 side, the GBGT folder to be specific.. I needed a good number for the ROM bytes required for this function...]&lt;BR /&gt;&lt;BR /&gt;I'm using CW 5.x so a conversion was called for. When I see such a message the first thing I do is start a blank new project for my derivative under my CW version, and drag in ONLY the source files, assemble all. Then the adventure begins, some book keeping stuff, fixing offsets, equates, and conflicts in the respective PRM files. I now have a clean (it assembles, no erros/warnings, but I don't know it it'll actually work!) version for the GT16A, and I have my answer:&lt;BR /&gt;&lt;BR /&gt;*********************************************************************************************&lt;BR /&gt;SECTION-ALLOCATION SECTION&lt;BR /&gt;Section Name Size Type From To Segment&lt;BR /&gt;---------------------------------------------------------------------------------------------&lt;BR /&gt;.data 1 R/W 0x100 0x100 RAM&lt;BR /&gt;MY_ZEROPAGE 8 R/W 0x80 0x87 Z_RAM&lt;BR /&gt;.init 383 R 0xFE00 0xFF7E ROM&lt;BR /&gt;.stack 80 R/W 0x101 0x150 RAM&lt;BR /&gt;.vectSeg0_vect 2 R 0xFFFE 0xFFFF .vectSeg0&lt;BR /&gt;&lt;BR /&gt;Summary of section sizes per section type:&lt;BR /&gt;READ_ONLY (R): 181 (dec: 385)&lt;BR /&gt;READ_WRITE (R/W): 59 (dec: 89)&lt;BR /&gt;&lt;BR /&gt;I'll stay tuned, of course, and see when/if some user gets BOTH sides working. Officially I can't pursue this much further until our marketing geniuses deem this to be useful or not. :smileyhappy:&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2006 20:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133479#M3426</guid>
      <dc:creator>Geezer</dc:creator>
      <dc:date>2006-11-19T20:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133480#M3427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The "official" way to run this sample code is to invoke 'HC08 bootloader.mcp', and to then choose the target derivative. This is less painful, it ports cleanly to CW 5.x, and only two minor warnings pop up.&lt;BR /&gt;&lt;BR /&gt;I don't do this, I get nervous when asked to map older INCLUDE files to a brand new derivative such as the GT16A. It could work, it even should work.. but my confidence level is below 100% until I get the EXACT derivative .INC file to drive it all. This is a matter of personal choice.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2006 21:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133480#M3427</guid>
      <dc:creator>Geezer</dc:creator>
      <dc:date>2006-11-19T21:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: AW60, AN2295 bootloader.  Bad files.  Anyone have it working?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133481#M3428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;flash.ini file is no longer a part of the distribution - it contains just settings of the debugger. It's not distributed because I've (internally) changed the way of generating AN2295SW.ZIP file &lt;IMG alt=":robotsurprised:" class="emoticon emoticon-robotsurprised" id="robotsurprised" src="http://freescale.i.lithium.com/i/smilies/16x16_robot-surprised.gif" title="Robot surprised" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I need to remove the references to flash.ini (or alike) files from all .mcp files in the future releases. You can completely remove these with no effect.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;AN2295SW is (historically) created still in CW3.1. Conversion to CW5.x is as simple as&lt;/DIV&gt;&lt;DIV&gt;a) removing read-only flag of the .mcp file (sorry for this, all files are under ClearCase version control which plays with this flag)&lt;/DIV&gt;&lt;DIV&gt;b) clicking to Cancel button once the call for conversion is issued&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then .mcp is saved automatically and no further conversion is required. Since I can see a lot of people migrating to CW5.x, I promise I will convert all bootloaders into CW5.1 in the future release. Opening these in CW3.1 does not require any action.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards, Pavel ok2ucx, Developer of AN2295 developer's bootloader&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>Tue, 21 Nov 2006 06:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AW60-AN2295-bootloader-Bad-files-Anyone-have-it-working/m-p/133481#M3428</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2006-11-21T06:16:44Z</dc:date>
    </item>
  </channel>
</rss>

