<?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のトピックBurst programming from a FLASH Block to another one. - HCS08GT60.</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172135#M11696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;In order to defrag a FLASH part used to store non volatile data, I try to programm another FLASH zone in burst mode.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I do this on a HCS08GT60.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The data I need to write are in another FLASH location. So during the Flash programming algorithm, I do a read access in FLASH (more precisely&amp;nbsp;just before the&amp;nbsp;"WRITE TO FLASH TO BUFFER ADDRESS AND DATA" ) to get my data.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;The result is that the first data is well written when I look at the FLASH with the debugger but all the following data are not correctly written (they are all to 0x04 when I look to the FLASH with the debugger ??????).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;No FACCER is detected.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I suppose the read access in FLASH during the burst programming sequence is forbidden and can explain this comportment.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anybody can help me ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Added p/n to subject.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by NLFSJ on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-12-11&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:18 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2007 22:16:40 GMT</pubDate>
    <dc:creator>Johan_SOMFY</dc:creator>
    <dc:date>2007-12-11T22:16:40Z</dc:date>
    <item>
      <title>Burst programming from a FLASH Block to another one. - HCS08GT60.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172135#M11696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;In order to defrag a FLASH part used to store non volatile data, I try to programm another FLASH zone in burst mode.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I do this on a HCS08GT60.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The data I need to write are in another FLASH location. So during the Flash programming algorithm, I do a read access in FLASH (more precisely&amp;nbsp;just before the&amp;nbsp;"WRITE TO FLASH TO BUFFER ADDRESS AND DATA" ) to get my data.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;The result is that the first data is well written when I look at the FLASH with the debugger but all the following data are not correctly written (they are all to 0x04 when I look to the FLASH with the debugger ??????).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;No FACCER is detected.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I suppose the read access in FLASH during the burst programming sequence is forbidden and can explain this comportment.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anybody can help me ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Added p/n to subject.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by NLFSJ on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-12-11&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:18 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 22:16:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172135#M11696</guid>
      <dc:creator>Johan_SOMFY</dc:creator>
      <dc:date>2007-12-11T22:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Burst programming from a FLASH Block to another one.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172136#M11697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Are you executing the write command from flash or RAM? You can't read from flash, for data or code execution, while a write/erase operation is happening, which is why you need to have a function that runs in RAM. Is that your problem?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 22:32:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172136#M11697</guid>
      <dc:creator>Bruce_andrew</dc:creator>
      <dc:date>2007-12-11T22:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Burst programming from a FLASH Block to another one.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172137#M11698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Bruce,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;thanks for your help.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In fact I execute the burst write command from RAM, but during this execution in RAM, I do a read access&amp;nbsp;in FLASH in order to get the data I want to write to another FLASH place.&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;Johan&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, 11 Dec 2007 22:49:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172137#M11698</guid>
      <dc:creator>Johan_SOMFY</dc:creator>
      <dc:date>2007-12-11T22:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Burst programming from a FLASH Block to another one.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172138#M11699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Johan,&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;For burst programming, the data would also need to reside in RAM.&amp;nbsp; Alternatively, you would need to program one byte at a time.&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>Wed, 12 Dec 2007 02:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172138#M11699</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-12-12T02:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Burst programming from a FLASH Block to another one.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172139#M11700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi BigMac,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;thank you for your confirmation about burst mode. I was suspicious about the data to be in RAM. I think we will write one byte at a time as this is working well even if it is slower.&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;Johan&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 15:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172139#M11700</guid>
      <dc:creator>Johan_SOMFY</dc:creator>
      <dc:date>2007-12-12T15:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Burst programming from a FLASH Block to another one. - HCS08GT60.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172140#M11701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;How big is the block of data you need to copy?&lt;BR /&gt;&lt;BR /&gt;I think it would be faster to copy the source data from flash to RAM. Then do a burst mode write to flash, from the RAM cache to flash. You only need 32 bytes for each burst mode write, if RAM is tight.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2007 04:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172140#M11701</guid>
      <dc:creator>Bruce_andrew</dc:creator>
      <dc:date>2007-12-16T04:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Burst programming from a FLASH Block to another one. - HCS08GT60.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172141#M11702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello Bruce,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;The amount of data we have to tranfer is not so big. We effectively copy the data from flash to RAM in order to do a burst programming from RAM to Flash and everything is working well !&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Thanks for your help,&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;Johan&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 21:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Burst-programming-from-a-FLASH-Block-to-another-one-HCS08GT60/m-p/172141#M11702</guid>
      <dc:creator>Johan_SOMFY</dc:creator>
      <dc:date>2007-12-17T21:46:18Z</dc:date>
    </item>
  </channel>
</rss>

