<?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: HC08 C Flash read write routines NOT using inbuilt routines</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138523#M4996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Carl,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am still unclear on exactly what it is that you are after.&lt;/DIV&gt;&lt;DIV&gt;I would have thought that what you could have found here on these forums and what Alban had pointed out would have sufficed.&lt;/DIV&gt;&lt;DIV&gt;You also seem to be against using Codewarrior, is this correct?&lt;/DIV&gt;&lt;DIV&gt;You seem to be trying to achieve a solution in pure C (whatever that is). However I would have to ask why? The programming of the flash is very device/technology/timing specific. C is not the best language for this sort of thing and most of the aims of using "pure" C would not apply.&lt;/DIV&gt;&lt;DIV&gt;Perhaps if you would share your reasoning on this, someone may be able to suggest a way forward for you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Jun 2007 10:18:38 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2007-06-30T10:18:38Z</dc:date>
    <item>
      <title>HC08 C Flash read write routines NOT using inbuilt routines</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138520#M4993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi all, another thread on this topic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read a few hundred post's on the "Complete C flash routines" , but still no actual complete C code to read, write and erase flash from C that requires 'work' (but some good info to get going in the right direction)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is anyone willing to share their code C code to read/write/erase flash without using inbuilt routines, or, a majority of asm code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im very suprised at the amount of questions on this topic, yet freescale / codewarrior have not publised C code to read/write to flash without using inbuilt routines or significant asm code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for sharing : )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carl&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 19:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138520#M4993</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2007-06-28T19:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 C Flash read write routines NOT using inbuilt routines</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138521#M4994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Freescale has published NVM (flash and E²PROM) drivers for all HC08 devices.&lt;BR /&gt;You probably read the wrong hundreds of posts.&lt;BR /&gt;&lt;BR /&gt;They are cleverly accessible from the device page, as Design Tools -&amp;gt; Software&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;B&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=HIS-DRIVER_HC908SGF50NVM&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1" rel="nofollow" target="_blank"&gt;HIS-DRIVER_HC908SGF50NVM&lt;/A&gt;&amp;nbsp;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;SPAN&gt;HIS-compatible Driver for 0.50µm SGF Flash in HC908&lt;/SPAN&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=HC908SGF50NVMSSD&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1" rel="nofollow" target="_blank"&gt;HC908SGF50NVMSSD&lt;/A&gt;&amp;nbsp;&lt;/B&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;B&gt;HC908 SGF NVM Standard Software Drivers&lt;/B&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;B&gt;Program/erase software driver for 0.5µm SGF NVM (flash and EEPROM) in HC908&lt;/B&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;SGF means Split Gate Flash&lt;BR /&gt;NVM means Non Volatile Memory&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 20:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138521#M4994</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-06-28T20:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 C Flash read write routines NOT using inbuilt routines</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138522#M4995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Im sorry, I didnt make my post clear.&lt;BR /&gt;&lt;BR /&gt;I am after C routines to erase/write flash on the fly i.e. using the flash as EEPROM style storage while running code...&lt;BR /&gt;&lt;BR /&gt;So far i have seen a link to a how to setup metroworks to copy the erase/write functions to RAM but thats only a reference, and freescale use codewarrior. I dont want to use the assembly code and call them as function / or run as assembly code from C... I also have C code to do erase/write with inbuilt routines (which is very basic), i have code to write/erase flash which wont work as its not running in RAM, and no working code to load these functions into RAM using codewarrior...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Carl&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2007 08:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138522#M4995</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2007-06-30T08:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 C Flash read write routines NOT using inbuilt routines</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138523#M4996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Carl,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am still unclear on exactly what it is that you are after.&lt;/DIV&gt;&lt;DIV&gt;I would have thought that what you could have found here on these forums and what Alban had pointed out would have sufficed.&lt;/DIV&gt;&lt;DIV&gt;You also seem to be against using Codewarrior, is this correct?&lt;/DIV&gt;&lt;DIV&gt;You seem to be trying to achieve a solution in pure C (whatever that is). However I would have to ask why? The programming of the flash is very device/technology/timing specific. C is not the best language for this sort of thing and most of the aims of using "pure" C would not apply.&lt;/DIV&gt;&lt;DIV&gt;Perhaps if you would share your reasoning on this, someone may be able to suggest a way forward for you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2007 10:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138523#M4996</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-06-30T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 C Flash read write routines NOT using inbuilt routines</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138524#M4997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Carl,&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;You do not say which HC08 derivative you are using.&amp;nbsp; I am unclear why you would not want to use the ROM based routines.&amp;nbsp; Their use should simplify the coding for what you are trying to achieve.&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;There should be&amp;nbsp;few issues with calling the assembly routines from C.&amp;nbsp; I would suspect that the main issue may be setting up the data buffer at the required location, as required by the routines.&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;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2007 10:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138524#M4997</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-06-30T10:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 C Flash read write routines NOT using inbuilt routines</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138525#M4998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I am using the HC908GP32 for this development all in Codewarrior.&lt;BR /&gt;&lt;BR /&gt;The routines are quite simple to erase/write flash in C for the GP32, but getting them to run out of RAM has proven to be more difficult.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2007 18:45:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC08-C-Flash-read-write-routines-NOT-using-inbuilt-routines/m-p/138525#M4998</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2007-07-01T18:45:07Z</dc:date>
    </item>
  </channel>
</rss>

