<?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>S12 / MagniV MicrocontrollersのトピックRe: Working on D-flash in s12x</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Working-on-D-flash-in-s12x/m-p/211460#M8788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;P&gt;Hi nandu,&lt;BR /&gt;&lt;BR /&gt;Thnks for help regarding previous quiry response.working on d-flash in s12xf&lt;BR /&gt;I have few queries&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1.On MCU protection :if it is in protection mode,we can't execute some commands.If it in single chip mode,then it allows some commands.For working d-flash,is need to consider abt this protection.Pls help regarding this.&lt;BR /&gt;&lt;BR /&gt;2.which memory system(small,banked,large) we need to select for working on global memory address&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Raja&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Feb 2009 11:50:36 GMT</pubDate>
    <dc:creator>rajad</dc:creator>
    <dc:date>2009-02-15T11:50:36Z</dc:date>
    <item>
      <title>Working on D-flash in s12x</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Working-on-D-flash-in-s12x/m-p/211458#M8786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to read and write NVM data to d-flash&amp;nbsp; in s12x&amp;nbsp; board.I have doubt on global addressing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The global addresses are required. i.e. 0x10_0C00 must be used in this case&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FCCOBIX =&amp;nbsp; 0x00;
&amp;nbsp;&amp;nbsp;&amp;nbsp; FCCOBHI =&amp;nbsp; 0x12;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Erase D-Flash sector command */
-&amp;gt;&amp;nbsp; FCCOBLO =&amp;nbsp; 0x10;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Global address = 10 */
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;Memory mapping registers gpage is need to set any value or above code is enough.any one&amp;nbsp; having sample project dealing with d-flash.Can u pls share it? this is urgent pls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 15:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Working-on-D-flash-in-s12x/m-p/211458#M8786</guid>
      <dc:creator>rajad</dc:creator>
      <dc:date>2008-12-19T15:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Working on D-flash in s12x</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Working-on-D-flash-in-s12x/m-p/211459#M8787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Rajad,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I feel you don't need to set/configure any value specially to G-page.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Yes, you are right. we must use Global address scheme in the D-flash command registers..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The sample code that was given by you is OK (Thinking that you must have already configured your flack clock register (FCLKDIV) before doing any kind of flash operations)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But to erase a D-Flash sector successfully, you should mention the logical sector addres also..(may be you know this ..) like..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;FCCOBIX&amp;nbsp;&amp;nbsp; = 0x00;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* index 0 */&lt;BR /&gt;FCCOBHI&amp;nbsp;&amp;nbsp; = 0x12;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* D-Flash Erase command */&lt;BR /&gt;FCCOBLO = 0x10;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Global address value i.e. G-Page value */&lt;BR /&gt;FCCOBIX&amp;nbsp;&amp;nbsp; = 0x01;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* index 1 */&lt;BR /&gt;FCCOB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x0100;&amp;nbsp;&amp;nbsp; /* sector address of a D-Flash */&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;please check the attached file, it may help you..&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Dec 2008 20:16:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Working-on-D-flash-in-s12x/m-p/211459#M8787</guid>
      <dc:creator>nandu</dc:creator>
      <dc:date>2008-12-20T20:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Working on D-flash in s12x</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Working-on-D-flash-in-s12x/m-p/211460#M8788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;P&gt;Hi nandu,&lt;BR /&gt;&lt;BR /&gt;Thnks for help regarding previous quiry response.working on d-flash in s12xf&lt;BR /&gt;I have few queries&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1.On MCU protection :if it is in protection mode,we can't execute some commands.If it in single chip mode,then it allows some commands.For working d-flash,is need to consider abt this protection.Pls help regarding this.&lt;BR /&gt;&lt;BR /&gt;2.which memory system(small,banked,large) we need to select for working on global memory address&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Raja&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2009 11:50:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Working-on-D-flash-in-s12x/m-p/211460#M8788</guid>
      <dc:creator>rajad</dc:creator>
      <dc:date>2009-02-15T11:50:36Z</dc:date>
    </item>
  </channel>
</rss>

