<?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のトピックProblem in EEPROM write to 9s08DZ60</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-in-EEPROM-write-to-9s08DZ60/m-p/757641#M22538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, I am taj&lt;/P&gt;&lt;P&gt;I am using on chip EEPROM of 9s08dz60. I used clock of 160khz by programming FDIV = 74 for 12mhz bus clock, There is common register for both eeprom and flash.iIused NVOPT&amp;nbsp; = 22 (8 bit sector)and NVPROT = FF(unsecure).&lt;/P&gt;&lt;P&gt;I declared a global variable under eeprom memory. I tried erasing eeprom and programming it as specified in manual. I took delay of 6 clock cycles before checking FCBEF as well as for FCCF.I wrote command of 40 for erase sector. As i used global variable it is getting intialized to zero.I tried writing a byte to memory location, but it is not getting written when i read back that global variable into other variable.&lt;/P&gt;&lt;P&gt;I followed the procedure as:&lt;/P&gt;&lt;P&gt;1)If any error exists, clears the access and violation errors&lt;/P&gt;&lt;P&gt;2)wait 6 clock cycles before accessing FCBEF&lt;/P&gt;&lt;P&gt;3)load command word FCMD for byte write&lt;/P&gt;&lt;P&gt;4)launch the command by FCBEF = 1, can i debug whether its value is zero or not to know the command status&lt;/P&gt;&lt;P&gt;5)check for any errors and wait until FCCF set to 1&lt;/P&gt;&lt;P&gt;6)read the value of global variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will the memory window get updated with the written value. I am seeing it to initialized to zero only...&lt;/P&gt;&lt;P&gt;Kindly provide any suggestion..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 09:38:30 GMT</pubDate>
    <dc:creator>tajmohammad_say</dc:creator>
    <dc:date>2017-12-04T09:38:30Z</dc:date>
    <item>
      <title>Problem in EEPROM write to 9s08DZ60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-in-EEPROM-write-to-9s08DZ60/m-p/757641#M22538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, I am taj&lt;/P&gt;&lt;P&gt;I am using on chip EEPROM of 9s08dz60. I used clock of 160khz by programming FDIV = 74 for 12mhz bus clock, There is common register for both eeprom and flash.iIused NVOPT&amp;nbsp; = 22 (8 bit sector)and NVPROT = FF(unsecure).&lt;/P&gt;&lt;P&gt;I declared a global variable under eeprom memory. I tried erasing eeprom and programming it as specified in manual. I took delay of 6 clock cycles before checking FCBEF as well as for FCCF.I wrote command of 40 for erase sector. As i used global variable it is getting intialized to zero.I tried writing a byte to memory location, but it is not getting written when i read back that global variable into other variable.&lt;/P&gt;&lt;P&gt;I followed the procedure as:&lt;/P&gt;&lt;P&gt;1)If any error exists, clears the access and violation errors&lt;/P&gt;&lt;P&gt;2)wait 6 clock cycles before accessing FCBEF&lt;/P&gt;&lt;P&gt;3)load command word FCMD for byte write&lt;/P&gt;&lt;P&gt;4)launch the command by FCBEF = 1, can i debug whether its value is zero or not to know the command status&lt;/P&gt;&lt;P&gt;5)check for any errors and wait until FCCF set to 1&lt;/P&gt;&lt;P&gt;6)read the value of global variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will the memory window get updated with the written value. I am seeing it to initialized to zero only...&lt;/P&gt;&lt;P&gt;Kindly provide any suggestion..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 09:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-in-EEPROM-write-to-9s08DZ60/m-p/757641#M22538</guid>
      <dc:creator>tajmohammad_say</dc:creator>
      <dc:date>2017-12-04T09:38:30Z</dc:date>
    </item>
  </channel>
</rss>

