<?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: MC9S08JM60 Flash all 00s</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900965#M22876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for pointing out this possibility. Security is not engaged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should also add that&amp;nbsp;after we verified that the Flash was all 00s, we have been able to successfully program the MCU with the original program and verify Flash contents. We are unable to reproduce the all 00s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ken&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2019 07:19:08 GMT</pubDate>
    <dc:creator>kh8324987</dc:creator>
    <dc:date>2019-04-18T07:19:08Z</dc:date>
    <item>
      <title>MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900963#M22874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a unit of MC9S08JM60 which after several months in the field, appears to have had the contents of its Flash memory cleared. When we examined the contents of Flash memory via HCS08 Flash Programmer, we see that memory at all locations is 00, so program data has somehow been erased (or overwritten since erasing results in FF?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no possibility of the MCU being reprogrammed out in the field so we are investigating how this might have happened. I would appreciate any ideas or details of similar experiences. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 01:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900963#M22874</guid>
      <dc:creator>kh8324987</dc:creator>
      <dc:date>2019-04-18T01:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900964#M22875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure it is not secured and thus not readable by programmer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 06:48:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900964#M22875</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-04-18T06:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900965#M22876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for pointing out this possibility. Security is not engaged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should also add that&amp;nbsp;after we verified that the Flash was all 00s, we have been able to successfully program the MCU with the original program and verify Flash contents. We are unable to reproduce the all 00s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ken&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 07:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900965#M22876</guid>
      <dc:creator>kh8324987</dc:creator>
      <dc:date>2019-04-18T07:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900966#M22877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If flash is all 00's, then indeed it is&amp;nbsp;secured. The fact is you can't read all 00's from JM60 flash. If NVSEC&amp;nbsp;is not 0bxxxxxx10, then&amp;nbsp;device is secure and you can't read any meaningful&amp;nbsp;data from flash, you may read fake zeros, but in reality memory contents most likely is different. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 10:13:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900966#M22877</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-04-18T10:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900967#M22878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, thanks for that bit of info. Strange since we do not ship with the MCU secured. Is there any other situation where we'd read all 00's?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 11:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900967#M22878</guid>
      <dc:creator>kh8324987</dc:creator>
      <dc:date>2019-04-18T11:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900968#M22879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aren't you using any bootloader for FW upgrades? If you are, aren't you updating top flash sector? Sudden power loss or reset could make MCU secured and not responsive. BTW, if your bootloader update all code including bootloader, unless NVSEC value is specified in your code,&amp;nbsp;MCU will get secured after first update (erase top sector, write top sector back with NVSEC omitted, default erased state NVSEC=0xFF is secure).&lt;/P&gt;&lt;P&gt;S08JM doesn't have dedicated data EEPROM. Chances are not big, but perhaps something is wrong in EEPROM emulation routine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 06:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900968#M22879</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-04-19T06:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900969#M22880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an experiment, we tried reading flash after securing&amp;nbsp;the device by changing the value at 0xFFBF. In our codewarrior v6 environment, when we try to read the flash (save command) we get an error stating "protected memory in given range".&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this state, we are unable to read anything, which leads me to believe that our device was not secured when we read the all 0's using the same steps. Please let me know if I'm missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 06:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900969#M22880</guid>
      <dc:creator>kh8324987</dc:creator>
      <dc:date>2019-04-19T06:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900970#M22881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are actually not using a bootloader as it's a rather simple application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you elaborate on the EEPROM emulation possibly going wrong? The application does not write to flash&amp;nbsp;once out in the field, it is only written to during calibration before it ships.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 08:41:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900970#M22881</guid>
      <dc:creator>kh8324987</dc:creator>
      <dc:date>2019-04-19T08:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900971#M22882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's not security related, then the chip was accidentally programmed with all zeroes.&lt;/P&gt;&lt;P&gt;Check for bugs in your flashing routines.&lt;/P&gt;&lt;P&gt;Or, perhaps, stack overflow issues causing runaway code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you protect flash right after reset?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 08:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900971#M22882</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2019-04-19T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900972#M22883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are "In our codewarrior v6 environment" and "we examined the contents of Flash memory via HCS08 Flash Programmer" the same programmers? Did you write to NVSEC 0x00? I think&amp;nbsp;if you read everything as 0x00 (including NVSEC) it must be secured and can't be trusted that flash contents is all 0x00's. Next time&amp;nbsp;you get all 0x00's you should inspect security bits in FOPT register. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 09:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900972#M22883</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-04-19T09:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM60 Flash all 00s</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900973#M22884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We were finally able to reproduce the problem. It seems the device does in fact get secured as well as something else getting overwritten in flash so our application does not run. Apologies for the confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, it seems the problem arises very infrequently when the power is toggled on our unit.&lt;BR /&gt;Since we are unable to read the flash after the device gets secured, it's not clear exactly which areas are overwritten (i.e. areas in addition to 0xFFBF).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do have some flash routines used only during calibration and not normal operation (which&amp;nbsp;should not be running when issue is occurring) that write to flash that might inadvertently be executing and overwriting the wrong location in flash? Flash is not protected (which I now realize we probably need to do). Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 01:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM60-Flash-all-00s/m-p/900973#M22884</guid>
      <dc:creator>kh8324987</dc:creator>
      <dc:date>2019-04-25T01:59:29Z</dc:date>
    </item>
  </channel>
</rss>

