<?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>CodeWarrior for MCU中的主题 Re: MC9S08JM16CGT flash memory</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156177#M4019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it seems to be working now.&amp;nbsp; I tried writing to the nonvolatile registed and it failed, then I tried writing to 0xC000 which is where the flash on processor should begin, but that didnt work either.&amp;nbsp; I moved the pointer address down to 0xE000 and it seems to be working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2012 02:10:19 GMT</pubDate>
    <dc:creator>russianspy1234</dc:creator>
    <dc:date>2012-04-24T02:10:19Z</dc:date>
    <item>
      <title>MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156175#M4017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am writing an application for this microprocessor and I have come to a point where I need to write a byte to the flash.&amp;nbsp; I am reading through the documentation and understand the basics of how to write a command to FCMD, however I do not see where I can specify the value or address I need to write.&amp;nbsp; I hoped the component would include methods to do it, but all it included was the initialization code.&amp;nbsp; I anyone could just give me a basic rundown of how to store a byte to the nonvolatile register (I am using 0xFFB0 but i'm not sure if thats write) it would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2012 04:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156175#M4017</guid>
      <dc:creator>russianspy1234</dc:creator>
      <dc:date>2012-04-21T04:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156176#M4018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To specify address and byte, you need to write your byte to address you want to program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF51JM&amp;amp;nodeId=018rH3YTLC00M924B2&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF51JM&amp;amp;nodeId=018rH3YTLC00M924B2&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3942.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3942.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3942SW.ZIP" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3942SW.ZIP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also search forums for flash programming and copy rom to ram (since parts of flash programming code must run from RAM).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 01:43:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156176#M4018</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-04-23T01:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156177#M4019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it seems to be working now.&amp;nbsp; I tried writing to the nonvolatile registed and it failed, then I tried writing to 0xC000 which is where the flash on processor should begin, but that didnt work either.&amp;nbsp; I moved the pointer address down to 0xE000 and it seems to be working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 02:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156177#M4019</guid>
      <dc:creator>russianspy1234</dc:creator>
      <dc:date>2012-04-24T02:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156178#M4020</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;With the inclusion of flash&amp;nbsp;page erase and byte programming code, it is a good idea that flash block protection be enabled, to prevent the accidental erasure of the user program code.&amp;nbsp; The block protection setting represents the highest unprotected&amp;nbsp;page - all pages above this will be protected.&amp;nbsp; This means that the non-volatile parameters should occupy the first flash page within the device - for the 'JM16 device, these should commence at address 0xC000.&amp;nbsp; Therefore, the user code should commence at address 0xC200, or above (page size is 512 bytes).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As has already been stated, a portion of the erase and programming code needs to execute from RAM, since flash memory does become inaccessible.&amp;nbsp; This applies from when the flash command is initiated, to the completion of the&amp;nbsp;command (refer to the flow diagram within the datasheet).&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>Wed, 25 Apr 2012 10:26:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156178#M4020</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-04-25T10:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156179#M4021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason, I seem to have code beginning at C000.&amp;nbsp; It looks like stuff I included with Codewarrior (Cpu_Delay100US, an interrupt, __EntryPoint).&amp;nbsp; So far, I've been putting address of my flash variable below my code (I only need 1 byte) but I am starting to run into trouble with that as well.&amp;nbsp; Also, I am not quite sure what you mean about running it from RAM, is the code kef pointed me to doing that automatically?&amp;nbsp; Because the data I am using does seem to be saving fine without me having done anything special.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 01:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156179#M4021</guid>
      <dc:creator>russianspy1234</dc:creator>
      <dc:date>2012-05-04T01:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156180#M4022</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;Have you modified the PRM file so that the ROM segment commences at 0xC200, rather than 0xC000?&amp;nbsp; Even though you need only one byte of non-volatile storage, you will be erasing a flash page of 512 bytes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using the code associated with an application note, this will already provide the RAM based code,&amp;nbsp;likely using the stack.&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>Tue, 08 May 2012 00:44:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156180#M4022</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-05-08T00:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156181#M4023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had not.&amp;nbsp; I am still getting used to what is and isn't done automatically by CodeWarrior.&amp;nbsp; When I made the change using the processor expert, I got a warning of "The space is over the CPU address space" so I changed the ROM size from 3FAE to 3DAE, hopefully thats right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 01:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156181#M4023</guid>
      <dc:creator>russianspy1234</dc:creator>
      <dc:date>2012-05-08T01:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156182#M4024</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;If you are using Processor Expert utility, all bets are off with respect to what is "automatically" being done.&amp;nbsp; Even though you may manually modify the PRM file to suit your specific needs, it is quite possible that PE will overwrite this file with its own version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you check the current contents of the PRM file to see whether your intent has been met.&amp;nbsp; You should also check the map file for the project to confirm the&amp;nbsp;address of the non-volatile variable.&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>Tue, 08 May 2012 11:44:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156182#M4024</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-05-08T11:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM16CGT flash memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156183#M4025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can prevent Processor Expert to change the linker file.&lt;/P&gt;&lt;P&gt;In the CPU component, there is a property page for Build Options. Here you can disable the generation of the linker file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See &lt;A href="http://mcuoneclipse.wordpress.com/2012/03/23/disable-my-code-generation/" rel="nofollow" target="_blank"&gt;http://mcuoneclipse.wordpress.com/2012/03/23/disable-my-code-generation/&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 13:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MC9S08JM16CGT-flash-memory/m-p/156183#M4025</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-05-08T13:06:15Z</dc:date>
    </item>
  </channel>
</rss>

