<?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>topic Re: Processor Expert in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196373#M7271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Processor Expert provides IntFlash hi-level component that provides easy methods for reading/writing (SetByte, GetByteFlash, SetWord, etc). Using these methods you could write/read whole memory area without dependence on currenlty selected memory model.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;For example, to write into last byte of memory in Processor Epxert using IntFlash component, you can use:&lt;BR /&gt;err = IFsh1_SetByteFlash(0x0001FFFF,0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details please see help of the IntFlash component (accessible from component pop-up menu).&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 May 2010 19:42:40 GMT</pubDate>
    <dc:creator>ProcessorExpert</dc:creator>
    <dc:date>2010-05-06T19:42:40Z</dc:date>
    <item>
      <title>Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196372#M7270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to write and read the high page of HCSQE128 flash, I have attempted to use the Processor Expert to set those pages i.e. PPAGE4,PPAGE5,PPAGE6,PPAGE7 as BANKED pages or unitialized mode. However, when I go into Processor Initialization the LAP register remains as READ_ONLY register not enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have changed set the compiler and assembler into BANKED mode as oppose to the default setting i.e SMALL, I have also gone thru&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AN3730 Understanding Memory Paging in 9S08 Devices&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the application sheet does not mention the need to enable the LAP register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone clarify what are the steps to read and write into high page flash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 17:30:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196372#M7270</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-04-28T17:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196373#M7271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Processor Expert provides IntFlash hi-level component that provides easy methods for reading/writing (SetByte, GetByteFlash, SetWord, etc). Using these methods you could write/read whole memory area without dependence on currenlty selected memory model.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;For example, to write into last byte of memory in Processor Epxert using IntFlash component, you can use:&lt;BR /&gt;err = IFsh1_SetByteFlash(0x0001FFFF,0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details please see help of the IntFlash component (accessible from component pop-up menu).&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 19:42:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196373#M7271</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2010-05-06T19:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196374#M7272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vojtech,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply, just to clarify my question. I am unable to access the LB register using CW6.3. Processor Expert indicates that LAP2 to LB register as &lt;STRONG&gt;&lt;EM&gt;undefined,reserved,read-only&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the attached pic for clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a search on IntFlash and it appears to be an upgrade feature!???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Embedded Component: IntFLASH&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=IntFLASH&amp;amp;fsrch=1" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IntFLASH&amp;amp;fsrch=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to purschase this just to program the extended part of Flash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 09:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196374#M7272</guid>
      <dc:creator>Learner_z31_zma</dc:creator>
      <dc:date>2010-05-10T09:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196375#M7273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;the Init_Flash components only initializes Flash device, so this component does not handle LAP, LB, etc, registers because their are run-time registers. Therefore you can use it however you must write all run-time routines by yourself. You can freefly use these registers in your code. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regarding to IntFLASH component - IntFlash component is Advanced component and it is necessary to have purchased &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MICROCONTROLLERS&amp;amp;tid=CWH" rel="nofollow" target="_self"&gt;Professional suite&lt;/A&gt; or to buy IntFlash component separately within &lt;A href="http://www.freescale.com/beanstore" rel="nofollow" target="_self"&gt;component store&lt;/A&gt; (formerly: bean store).&lt;BR /&gt;&lt;BR /&gt;If you are interested in using IntFlash component:&lt;BR /&gt;&lt;BR /&gt;- you can find more detailed about IntFlash in component help, that is accessible through "Help" menu command from component pop-up menu. To view this component please switch off license filter button in bottom part of component library window (formerly: bean selector window) . You could also insert this component in your project, but it would be not generated code.&lt;BR /&gt;&lt;BR /&gt;- you could also try&amp;nbsp; to obtain trial/evaluation license for professional suite&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 15:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196375#M7273</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2010-05-10T15:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196376#M7274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quote:"&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;the Init_Flash components only initializes Flash device, so this component does not handle LAP, LB, etc, registers because their are run-time registers. "&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just out of curiosity, whats the purpose of including LAP and LB registers in the Processor Initialization ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quote:"&lt;EM&gt;&lt;STRONG&gt;Therefore you can use it however you must write all run-time routines by yourself. You can freefly use these registers in your code. "&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the problem that I am having,&amp;nbsp; I can read and write to &lt;FONT size="2"&gt;&lt;SPAN&gt;(LAP2:LAP0)&lt;/SPAN&gt;&lt;/FONT&gt; &lt;FONT size="2"&gt;&lt;SPAN&gt;register&lt;/SPAN&gt;&lt;/FONT&gt; &lt;FONT size="2"&gt;&lt;SPAN&gt;during run-time routine but not LB and LBP register. The value of LB and LBP register remains FF regardless read or write to the register.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Therefore I can not access PPAGE memories in QE128 devices, because I can not access LB and LBP register.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Any idea what&amp;nbsp; could cause this?&amp;nbsp; Would&amp;nbsp; love to see a sample assembly set up routine if there is one?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;The application sheet&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AN3730 Understanding Memory Paging in 9S08 Devices&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;doesn't seems to imply there is any set up required to use LB registers........ but is there a need to "enable/activate" the LB register?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 09:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196376#M7274</guid>
      <dc:creator>Learner_z31_zma</dc:creator>
      <dc:date>2010-05-11T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196377#M7275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What value do you write to LAP?&lt;/P&gt;&lt;P&gt;Also note that reading LB/LBP has side effects, therefore I'm not sure if those registers are displayed in the debugger.&lt;/P&gt;&lt;P&gt;Could be that those reads are suppressed in order to avoid the side effects, so do you have code reading from LB/LBP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 13:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196377#M7275</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-05-11T13:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196378#M7276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in the process of testing my own code based on AN3730 Understanding Memory Paging in 9S08 Devices,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.4 ---&amp;gt; Section &lt;STRONG&gt;2.1 The Program Page (PPAGE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quote:&lt;STRONG&gt;&lt;EM&gt;To read and write data, set the page value in the PPAGE register and then access the memory between&lt;BR /&gt;addresses 0x8000 and 0xBFFF. Every page is offset with the PPAGE value.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.7 ---&amp;gt; Section &lt;STRONG&gt;4 The Full Memory Map&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quote:&lt;STRONG&gt;&lt;EM&gt;The PPAGE default value is 2 at startup, which results in a contiguous memory block from page 1&lt;BR /&gt;to 3.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore I simply read and write using LDA, STA or MOV instructions to read and write &lt;FONT size="2"&gt;&lt;SPAN&gt;(LAP2:LAP0)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;/*To write 0 in the 1st address at PPAGE2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;ldhx&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt; &amp;nbsp;&amp;nbsp; #$80&lt;FONT size="2"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ldx &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; #0&lt;FONT size="2"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;clra&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;sta&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; ,x&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//======================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 2:&lt;/STRONG&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;p.5 ---&amp;gt; Section&lt;/SPAN&gt;&lt;/FONT&gt; &lt;STRONG&gt;2.2 Linear Address Pointer and Linear Address Space&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using addresses in Figure.9 on page 11&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;/*To write 0 in the 1st address at PPAGE2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mov &amp;nbsp;&amp;nbsp;&amp;nbsp; #0, &lt;FONT size="2"&gt;&lt;SPAN&gt;LAP2&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;mov &amp;nbsp;&amp;nbsp;&amp;nbsp; #$80, &lt;FONT size="2"&gt;&lt;SPAN&gt;LAP1&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;mov &amp;nbsp;&amp;nbsp;&amp;nbsp; #0, &lt;FONT size="2"&gt;&lt;SPAN&gt;LAP0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;mov &amp;nbsp;&amp;nbsp;&amp;nbsp; #0, &lt;FONT size="2"&gt;&lt;SPAN&gt;LB&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both method does not work, looking forward to your advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 15:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196378#M7276</guid>
      <dc:creator>Learner_z31_zma</dc:creator>
      <dc:date>2010-05-11T15:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196379#M7277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your method one, make sure the code is not inside of the PPAGE window (0x??8000..0x??BFFF) itself.&lt;/P&gt;&lt;P&gt;For both methods, I would expect those to work for reading. Writing to flash does need more work than a simple STA, check the forum for this topic how to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 23:24:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196379#M7277</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-05-11T23:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196380#M7278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In &lt;STRONG&gt;MC9S08QE128 MCU Series Reference Manual, Rev. 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.69 ---&amp;gt;&lt;STRONG&gt;quote: "&lt;EM&gt;CAUTION&lt;BR /&gt;A flash block address must be in the erased state before being programmed.&lt;BR /&gt;Cumulative programming of bits within a flash block address is not allowed&lt;BR /&gt;except for status field updates required in EEPROM emulation applications.&lt;/EM&gt;&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean it is not possible to write value in a specific address only? Which is what I am attempting to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, does&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;p.73 ---&amp;gt;&lt;STRONG&gt;&amp;nbsp; 4.6.2.4 Flash Protection Register (FPROT and NVPROT)&lt;/STRONG&gt;&lt;BR /&gt;The FPROT register defines which flash sectors are protected against program or erase operations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;requires to be setup in prior to the use of LAP and LB?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 11:43:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196380#M7278</guid>
      <dc:creator>Learner_z31_zma</dc:creator>
      <dc:date>2010-05-12T11:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196381#M7279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend that you handle the issue of banking/LAP/PPAGE access separately from flash programming initially.&lt;/P&gt;&lt;P&gt;First try to write a (non banked) flash byte, and read a banked byte (what this thread is about).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have mastered the unbanked flash programming and the banked flash reading, I hope the rest is simple.&lt;/P&gt;&lt;P&gt;To the flash programming topic, please see the other threads for this. This is also a CW board, you will find more info in the "&lt;A href="http://forums.freescale.com/t5/8-Bit-Microcontrollers/bd-p/8BITCOMM" target="_blank"&gt;8-Bit Microcontrollers&lt;/A&gt;" forum, I would also ask flash related questions there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flash has to be erased before being programmed and it only supports to erase block by block.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;Flash Protection only matters if you did set it up to protect your area.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 21:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196381#M7279</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-05-12T21:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196382#M7280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, will proceed with some more testing and see how it works out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to get a verification on the fact that this indeed is not a compiler/assembler issue but a hardware issue, since I can not be certain that if it was due to error in setting of memory mode or Processor initialization which is the cause of this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the 8-bit forum but there was no reply, will try a new post there and see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 22:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Processor-Expert/m-p/196382#M7280</guid>
      <dc:creator>Learner_z31_zma</dc:creator>
      <dc:date>2010-05-12T22:56:09Z</dc:date>
    </item>
  </channel>
</rss>

