<?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: PART 1: New Nitrons - Flash Prog Routines located in ROM in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123978#M97</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;RDVRRNG is not working on QL4 also?&lt;/DIV&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2006 22:18:06 GMT</pubDate>
    <dc:creator>LessWire</dc:creator>
    <dc:date>2006-05-26T22:18:06Z</dc:date>
    <item>
      <title>PART 2: New Nitrons - Flash Prog Routines located in ROM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123976#M95</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fforums.freescale.com%2Ffreescale%2Fboard%2Fmessage%3Fboard.id%3D8BITCOMM%26message.id%3D36" rel="nofollow" target="_blank"&gt;READ PART 1&lt;/A&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Mon Jun 27, 2005 4:19 pm&lt;/STRONG&gt;&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;The &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fmicrocontrollers%2Fdoc%2Fapp_note%2FAN2635.pdf" rel="nofollow" target="_blank"&gt;AN2635&lt;/A&gt; has been updated and covers QB8.&lt;BR /&gt; I don't think the IGetPut is onchip either after my &lt;I&gt;wee&lt;/I&gt; check&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Tue Jun 28, 2005 7:36 am&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt; thanks for the hint with AN2365. There seems to be a new version of the GetByte function which checks for inernal or external oscillator and uses the appropriate delay for the bittime. Here is the part from An2365&lt;BR /&gt;&lt;BR /&gt; To provide a specific communication baud rate, GetByte calls the GetBit Subroutine. In the GetByte routine, two different clock sources, internal clock and external clock, are supported. For example, the MC68HC908LB8 usually has a trimmed internal bus clock of 4 MHz and an external bus clock of 2.4576 MHz. For the MCU to distinguish which clock source is currently selected, the ECGST (external&lt;BR /&gt; clock generator status) bit in the OSCSTAT (oscillator status register) is monitored in the GetBit&lt;BR /&gt; subroutine. When ECGST bit is set, the external clock is selected as a clock source. When the bit is&lt;BR /&gt; cleared, the internal clock is selected.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; So this should work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Wed Jun 29, 2005 9:29 am&lt;/STRONG&gt;&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Some people must have heard what you thought about &lt;A href="http://www.freegeeks.net/modules/Forums/images/smiles/icon_cool.gif"&gt;&lt;IMG alt="Cool" border="0" src="http://www.freegeeks.net/modules/Forums/images/smiles/icon_cool.gif" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Thu Sep 08, 2005 12:03 am&lt;/STRONG&gt;&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Anyone know where GetBit is located on the QB8? I've got the latest AN2365 and it's not listed in there. Yet GetByte does called GetBit, so I need to find where it is.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Mon Sep 12, 2005 1:11 pm&lt;/STRONG&gt;&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;GetBit on QB8: Try entry @ 0x285D ...&lt;BR /&gt; It may move in next silicon, therefore I wouldn't use it in prod!&lt;BR /&gt; Cheers,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Mon Sep 12, 2005 3:38 pm&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Thanks,! However, after further study I see that the in-ROM routine GETBYTE is calling GETBIT, so I really don't need to declare where GETBIT is located. That's all done for me, so to speak.&lt;BR /&gt;&lt;BR /&gt; Thanks again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Mon Sep 19, 2005 11:03 am&lt;/STRONG&gt;&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;You're welcome,&lt;BR /&gt; Yep you're right about the GetByte calling GetBit, I did find surprising you wanted access to it &lt;A href="http://www.freegeeks.net/modules/Forums/images/smiles/icon_razz.gif"&gt;&lt;IMG alt="Razz" border="0" src="http://www.freegeeks.net/modules/Forums/images/smiles/icon_razz.gif" /&gt;&lt;/A&gt;&lt;BR /&gt; Especially if it's not referenced, it could easily be moved between two compilation of the Resident ROM Code...&lt;BR /&gt; Cheers,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Mon Oct 10, 2005 11:06 am&lt;/STRONG&gt;&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt; AN2295 (Developpers' serial bootloader for HC(S)08 ) shows the ROM resident routines usage in the real functional application (Bootloading over serial line). If in doubt, check with the files there to see how the ROM is used - all bootloaders are tested.&lt;BR /&gt;&lt;BR /&gt; For example, QB family has the ROM API located in RAM at $80 not at RAM beginning.&lt;BR /&gt; Next, CTRLBYTE must be completely cleared for page erase, not just one bit.&lt;BR /&gt;&lt;BR /&gt; Basically, there are two main versions of the ROM routines:&lt;BR /&gt;&lt;BR /&gt; 1.) the one with &lt;SPAN style="FONT-WEIGHT: bold;"&gt;fixed RAM API&lt;/SPAN&gt; (just like in QT/QY/GR/GZ/EY/KX/JK/JL/LB/GT/QB/QC families), with some exceptions (LB8 entry points, GR/GZ speed settings and few others) it works generally like described in AN1831.&lt;BR /&gt;&lt;BR /&gt; 2.) better &amp;amp; flexible &lt;SPAN style="FONT-WEIGHT: bold;"&gt;'FILE_PTR type'&lt;/SPAN&gt; (found in AP/JK8/JL8/LJ/LK) where a control block is defined anywhere in RAM and only pointer is passed into ROM routines. These are well described in respective datasheets and include also built-in EEPROM emulation.&lt;BR /&gt;&lt;BR /&gt; Hope it helps.&lt;BR /&gt;&lt;BR /&gt; Regards,&lt;BR /&gt;&lt;BR /&gt; Freescale Czech&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Fri Oct 21, 2005 4:58 pm&lt;/STRONG&gt;&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border:0px solid black;"&gt;&lt;SPAN class="genmed"&gt;&lt;STRONG&gt;Quote:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="quote" style="border:0px solid black;"&gt;&lt;BR /&gt;CTRLBYTE must be completely cleared for page erase, not just one bit.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;SPAN class="postbody"&gt;&lt;BR /&gt;Yes, I observed this too. The Metrowerks Flash API clears only the bit, not the whole byte. That's a bug.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border:0px solid black;"&gt;&lt;SPAN class="genmed"&gt;&lt;STRONG&gt;Quote:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="quote" style="border:0px solid black;"&gt;&lt;BR /&gt;there are two main versions of the ROM routines:&lt;BR /&gt;&lt;BR /&gt;1.) the one with &lt;SPAN style="FONT-WEIGHT: bold;"&gt;fixed RAM API&lt;/SPAN&gt; (just like in QT/QY/GR/GZ/EY/KX/JK/JL/LB/GT/QB/QC families), with some exceptions (LB8 entry points, GR/GZ speed settings and few others) it works generally like described in AN1831.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;SPAN class="postbody"&gt;&lt;BR /&gt;&lt;BR /&gt;Hmm, this makes me wonder. How different are the two ROM routines for RAM API? I was trying to use RDVRGNG, ERARNGE, and PRGRNGE and found that RDVRGNG was crashing my program. It never returned from subroutine. The other two work fine. I've since replaced the RDVRGNG with my own code.&lt;BR /&gt;&lt;BR /&gt; I wonder if the location in ROM for RDVRGNG is different, or just radically structured differently?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="gensmall"&gt;&lt;/SPAN&gt;&lt;P&gt;Message Edited by RChapman on &lt;SPAN class="date_text"&gt;01-24-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:29 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2006 01:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123976#M95</guid>
      <dc:creator>RChapman</dc:creator>
      <dc:date>2006-01-25T01:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: PART 2: New Nitrons - Flash Prog Routines located in ROM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123977#M96</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello I was trying to use also the RDVRRNG with the Sennd-Out Option and it doesn't works (I'm using the QL4) I tried the putbyte and getbye routines and they work perfectly well. So there's and error with the RDVRRNG?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 22:07:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123977#M96</guid>
      <dc:creator>LessWire</dc:creator>
      <dc:date>2006-05-26T22:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: PART 1: New Nitrons - Flash Prog Routines located in ROM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123978#M97</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;RDVRRNG is not working on QL4 also?&lt;/DIV&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 22:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123978#M97</guid>
      <dc:creator>LessWire</dc:creator>
      <dc:date>2006-05-26T22:18:06Z</dc:date>
    </item>
    <item>
      <title>QL4 - Flash Prog Routines located in ROM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123979#M98</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;AppNote AN1831 was updated recently to reflect most of the HC08 flash prog routine embedded.&lt;BR /&gt;Please have a look there : &lt;A href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN1831.pdf" rel="nofollow" target="_blank"&gt;&lt;EM&gt;AN1831&lt;/EM&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Alban.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:34:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/PART-2-New-Nitrons-Flash-Prog-Routines-located-in-ROM/m-p/123979#M98</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-06-06T18:34:03Z</dc:date>
    </item>
  </channel>
</rss>

