<?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 MC56F82736 Chip Erase and Blankcheck issues in Digital Signal Controllers</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82736-Chip-Erase-and-Blankcheck-issues/m-p/385891#M364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to everybody,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a progamming algorithm for the MC56F82736 for our flash programmer. I'm following what stated in the &lt;STRONG&gt;AN4981_On-Chip Flash Programming of 56F827xx.pdf&lt;/STRONG&gt; and in the related sw. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues I encouter are the following: &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. After the execution of the masserase, that is using the 0x44 command, the microcontroller enters always a secured state. I implement exactly what present in the Application note above.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In order to avoid what indicated in point 1, immediatly after the chip erase command&amp;nbsp; I need to program the Security Byte in the Flash Configuration Field to an unsecure value (that is SEC field in the FSEC register to $FE at flash address 0x40C). In this way the masserase passes, and the microcontroller is in an unprotected state.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. The blankcheck command, that is the Read 1s All Block command (0x40), gives always a succes respons, that is indicates that the memory is blank though the memory is programmed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyone that can help me to clarify this issues?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 10:11:06 GMT</pubDate>
    <dc:creator>stefanosbrizzai</dc:creator>
    <dc:date>2015-02-19T10:11:06Z</dc:date>
    <item>
      <title>MC56F82736 Chip Erase and Blankcheck issues</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82736-Chip-Erase-and-Blankcheck-issues/m-p/385891#M364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to everybody,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a progamming algorithm for the MC56F82736 for our flash programmer. I'm following what stated in the &lt;STRONG&gt;AN4981_On-Chip Flash Programming of 56F827xx.pdf&lt;/STRONG&gt; and in the related sw. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues I encouter are the following: &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. After the execution of the masserase, that is using the 0x44 command, the microcontroller enters always a secured state. I implement exactly what present in the Application note above.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In order to avoid what indicated in point 1, immediatly after the chip erase command&amp;nbsp; I need to program the Security Byte in the Flash Configuration Field to an unsecure value (that is SEC field in the FSEC register to $FE at flash address 0x40C). In this way the masserase passes, and the microcontroller is in an unprotected state.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. The blankcheck command, that is the Read 1s All Block command (0x40), gives always a succes respons, that is indicates that the memory is blank though the memory is programmed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyone that can help me to clarify this issues?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 10:11:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82736-Chip-Erase-and-Blankcheck-issues/m-p/385891#M364</guid>
      <dc:creator>stefanosbrizzai</dc:creator>
      <dc:date>2015-02-19T10:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F82736 Chip Erase and Blankcheck issues</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82736-Chip-Erase-and-Blankcheck-issues/m-p/385892#M365</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;I think you will find information in this thread that can help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/339053"&gt;https://community.freescale.com/thread/339053&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it is revealed how to clear the flash (and unlock it) using very basic JTAG commands, and not using the protocol of the flash unit itself.&lt;/P&gt;&lt;P&gt;Think of the flash unit as having an erase all PIN on it, and the JTAG being used to access this pin directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 18:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82736-Chip-Erase-and-Blankcheck-issues/m-p/385892#M365</guid>
      <dc:creator>johnlwinters</dc:creator>
      <dc:date>2015-02-23T18:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F82736 Chip Erase and Blankcheck issues</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82736-Chip-Erase-and-Blankcheck-issues/m-p/385893#M366</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;I implemented what stated in the thread you indicated, but the memory remains still locked. I changed many delays values between 6 us e 16 ms but I can't still unlock the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following, in a metacode format, what implemented:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetRESET(LOW)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; usDelay(100);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Software Reset to initialize TAP state machine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JTAG_RESET() &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msDelay(10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Read ID_CODE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JTAG_GET_CHIP_TAP_IDCODE() ----&amp;gt; get 0x2980001D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //jtag::scan_out ir 8 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JTAG_WRITE_CHIP_INSTR_REG(0x05)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //jtag::scan_out dr 4 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JTAG_W_DATA4_REG(0x01)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //jtag::scan_out ir 8 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JTAG_WRITE_CHIP_INSTR_REG(0x09)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //jtag::scan_out dr 16 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JTAG_W_DATA16_REG(0x0001)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msDelay(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //jtag::scan_out dr 16 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JTAG_W_DATA16_REG((0x0000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something that is still missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 11:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82736-Chip-Erase-and-Blankcheck-issues/m-p/385893#M366</guid>
      <dc:creator>stefanosbrizzai</dc:creator>
      <dc:date>2015-02-25T11:20:35Z</dc:date>
    </item>
  </channel>
</rss>

