<?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 Flash read on LPC5101 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868249#M34597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;i am using LPC54101. I try to read the flash address from 0x00000000 to 0x0007FFFF. But the top 512 bytes(0x0000 - 0x01FF) of the data what i read back is wrong data, after 512 bytes (0x0200 - 0x0007FFFF) is correct data. The IAP mode has no command to&amp;nbsp; to read the flash, I read the flash by SWD. Anyone meet this problem, can you tell me how to solve?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks in adavance,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 Mar 2019 09:16:05 GMT</pubDate>
    <dc:creator>cech850</dc:creator>
    <dc:date>2019-03-31T09:16:05Z</dc:date>
    <item>
      <title>Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868249#M34597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;i am using LPC54101. I try to read the flash address from 0x00000000 to 0x0007FFFF. But the top 512 bytes(0x0000 - 0x01FF) of the data what i read back is wrong data, after 512 bytes (0x0200 - 0x0007FFFF) is correct data. The IAP mode has no command to&amp;nbsp; to read the flash, I read the flash by SWD. Anyone meet this problem, can you tell me how to solve?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks in adavance,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2019 09:16:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868249#M34597</guid>
      <dc:creator>cech850</dc:creator>
      <dc:date>2019-03-31T09:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868250#M34598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The microcontrollers is LPC54101, I am sorry write a wrong name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2019 09:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868250#M34598</guid>
      <dc:creator>cech850</dc:creator>
      <dc:date>2019-03-31T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868251#M34599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jerry, &lt;/P&gt;&lt;P&gt;I haven't this chip, so could you please take screenshot to show the data you read&lt;/P&gt;&lt;P&gt;and the hex file you flash .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 09:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868251#M34599</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-04-01T09:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868252#M34600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ截图20190401180323.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68981i77775F1EBDA41E8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ截图20190401180323.png" alt="QQ截图20190401180323.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 12:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868252#M34600</guid>
      <dc:creator>cech850</dc:creator>
      <dc:date>2019-04-01T12:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868253#M34601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This photo is a part of the data what i read from flash. I found the top of 512 bytes(0x0000-0x01FF) is wrong data,&amp;nbsp; other data in 0x0200-0x07FFFF address is correct data. And everytime I read the wrong data are the same. It looks like remap to another memory map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks in adavance,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 12:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868253#M34601</guid>
      <dc:creator>cech850</dc:creator>
      <dc:date>2019-04-01T12:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868254#M34602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ截图20190401180855.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69062i6E34E13CC53EEEFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ截图20190401180855.png" alt="QQ截图20190401180855.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This photo is the file what I flash. All data is 0xFF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 12:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868254#M34602</guid>
      <dc:creator>cech850</dc:creator>
      <dc:date>2019-04-01T12:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868255#M34603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jerry,&lt;/P&gt;&lt;P&gt;I just guess maybe there is&amp;nbsp; something wrong in flashing.&lt;/P&gt;&lt;P&gt;I find a lpc54102 to test, it can work well.&lt;/P&gt;&lt;P&gt;Could you please create a bare board project, then flash it , not a file with whole 0xff.&lt;/P&gt;&lt;P&gt;And which IDE do you used? Or which debugger? Please share the detail steps you flashing&lt;/P&gt;&lt;P&gt;and the hex file. A video about the steps is best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 07:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868255#M34603</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-04-02T07:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Flash read on LPC5101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868256#M34604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;My work is to manufacture a programmer which can flashing the file to the mcu's flash. I am not using any IDE, the debugger is what i am working for. It uses swd interface to communicate with the mcu. Don't worry about my program function and read function of my programmer. I test for them with JTAG and his program software(J-Flash), it was work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I just use a blank chip, I read the flash by swd interface. But the address between 0x0000 to 0x01FF of the data is still wrong data. Except for the address 0x0000-0x01FF, other data what i read back is correct. &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Only in this situation what i write the correct check-sum of vector table entries 0 through 6 which locate in 0x0000001c by the IAP command, I can read back all correct data by swd interface. So the checksum is correct or not will affect to what i read back from the flash by swd interface. If the checksum is correct, all the data what i read back from the flash is correct. If the checksum is wrong, the top of 512 bytes(the address: 0x0000-0x01FF) data is wrong, other data (the address: 0x0200-0x7FFFF) is correct. &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;But the blank chip's value must be 0xFF in all flash memory, even in this address 0x001C -0x001F area(the area to store checksum), so I think it must be having some ways to disable this checksum function, if not, when the chip is blank, I can't read the all correct data forever. So how can i read all correct data in this situation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;About your suggest to flash a file whick is not whole 0xFF, the situation is the same as what I said above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks in adavance,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 08:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flash-read-on-LPC5101/m-p/868256#M34604</guid>
      <dc:creator>cech850</dc:creator>
      <dc:date>2019-04-02T08:31:31Z</dc:date>
    </item>
  </channel>
</rss>

