<?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: Data stream inside FLASH</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Data-stream-inside-FLASH/m-p/204229#M16955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antonio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will obviously be using a device of 128kB flash&amp;nbsp;capacity, with paged memory.&amp;nbsp; It is likely that you would make use of the linear address pointer (LAP) to access the data.&amp;nbsp; Perhaps AN3730 may help to understand the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To directly program the data into flash, perhaps the HEX file should be adjusted for the required address offset, which would then be converted&amp;nbsp;to S-records,&amp;nbsp;that could be manually&amp;nbsp;incorporated into the S19 file for the program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One complication is that the data would need to be handled as two blocks, because of the&amp;nbsp;position of the interrupt vectors, etc.&amp;nbsp; Your data read code would need to take into account the transition from the lower block to the higher block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2011 10:52:24 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2011-05-09T10:52:24Z</dc:date>
    <item>
      <title>Data stream inside FLASH</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Data-stream-inside-FLASH/m-p/204228#M16954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a very simple project. The system simply plays a pre-recorded audio message. I would like to use a S08 microcontroller, with the audio output through PWM. 100kB will be enough for storing the message, so I thought about using the Flash program memory itself to store these 100kB of data stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody know how I can get this data (available in a HEX file) and store it inside the S08 Flash memory in compile time? Also, I need an efficient way to point to this data stream, so I can read the bytes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Antonio Quevedo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2011 05:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Data-stream-inside-FLASH/m-p/204228#M16954</guid>
      <dc:creator>quevedo</dc:creator>
      <dc:date>2011-05-07T05:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data stream inside FLASH</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Data-stream-inside-FLASH/m-p/204229#M16955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antonio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will obviously be using a device of 128kB flash&amp;nbsp;capacity, with paged memory.&amp;nbsp; It is likely that you would make use of the linear address pointer (LAP) to access the data.&amp;nbsp; Perhaps AN3730 may help to understand the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To directly program the data into flash, perhaps the HEX file should be adjusted for the required address offset, which would then be converted&amp;nbsp;to S-records,&amp;nbsp;that could be manually&amp;nbsp;incorporated into the S19 file for the program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One complication is that the data would need to be handled as two blocks, because of the&amp;nbsp;position of the interrupt vectors, etc.&amp;nbsp; Your data read code would need to take into account the transition from the lower block to the higher block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 10:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Data-stream-inside-FLASH/m-p/204229#M16955</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-05-09T10:52:24Z</dc:date>
    </item>
  </channel>
</rss>

