<?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>LPCXpresso IDEのトピックRe: ISP &amp; Hex format problem</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/ISP-Hex-format-problem/m-p/582744#M25562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by stalisman on Tue Oct 09 00:29:12 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;take a look at &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.trimm.net/showthread.php?p=401&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems relelevent?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:03:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:03:54Z</dc:date>
    <item>
      <title>ISP &amp; Hex format problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ISP-Hex-format-problem/m-p/582743#M25561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jc.wang on Mon Oct 08 22:47:47 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried and wrote a program does exactly what FlashMagic do: to write a .hex file to the nxp mcu. Everything seems fine, but the target just can't start...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to figure out what could be wrong by:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[LIST=1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]Write the .hex to the target using FlashMagic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]Read the entire flash of the target back, save it as A0.bin (using my own program)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]Write the same .hex using my program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]Read the flash back, save it as A1.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]Compare A0.bin &amp;amp; A1.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/LIST]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the only mismatch is at address offset 0x1C~0x1F:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[LIST]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]A0.bin: 0x1C: F9 DA FF EF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]A1.bin: 0x1C: 00 00 00 00&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/LIST]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I checked the .hex file, at offset 0x1C, data should be 00:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;:1000100000000000000000000000000000000000E0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What was wrong? :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the second last line of the .hex file, it is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;:040000030000014DAB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;According the HEX file format definition, the record type is 03, which I don't know how to interpret it, thus I ignored it. Is it the reason that cause the problem?&amp;nbsp; How should I interpret this line? :confused::confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any hint would be appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ISP-Hex-format-problem/m-p/582743#M25561</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: ISP &amp; Hex format problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ISP-Hex-format-problem/m-p/582744#M25562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by stalisman on Tue Oct 09 00:29:12 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;take a look at &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.trimm.net/showthread.php?p=401&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems relelevent?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:03:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ISP-Hex-format-problem/m-p/582744#M25562</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: ISP &amp; Hex format problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ISP-Hex-format-problem/m-p/582745#M25563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jc.wang on Tue Oct 09 01:36:26 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it works!&amp;nbsp; Thanks a lot!! :D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:03:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ISP-Hex-format-problem/m-p/582745#M25563</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:03:54Z</dc:date>
    </item>
  </channel>
</rss>

