<?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 Re: Invalid Checksum of first 512 UU-encoded bytes in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invalid-Checksum-of-first-512-UU-encoded-bytes/m-p/926009#M36916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I suggest&amp;nbsp;following the AN 5.3&amp;nbsp; Writing to RAM section, take use the command from AN to test if the system can work as expected. thus we can verify if the system functions well with checksum&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/89471iD1DD1199EB77CE9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is sent and received in UUencoded format .&amp;nbsp; The chip is only recogonized the checksum that is generated by adding raw data (before UU-encoding) bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding how the FlashMagic handle checksum inside, we would suggest you contact&amp;nbsp;&lt;A class="link-titled" href="http://www.esacademy.com/" title="http://www.esacademy.com/"&gt;Welcome - EmSA&lt;/A&gt;&amp;nbsp;&amp;nbsp;who is FlashMagic producer and their forum:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://forum.flashmagictool.com/" title="http://forum.flashmagictool.com/"&gt;Flash Magic Forum - Index&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Sep 2019 10:02:16 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2019-09-29T10:02:16Z</dc:date>
    <item>
      <title>Invalid Checksum of first 512 UU-encoded bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invalid-Checksum-of-first-512-UU-encoded-bytes/m-p/926008#M36915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have made a UU-encoding console application in c# and used flashMagic tool as reference to confirm if i am doing everything right. I need it to write on LPC1767 microcontroller. &lt;STRONG&gt;The only issue i am facing is that the checksum of first 512 bytes are not valid&lt;/STRONG&gt;, what i am getting is &lt;STRONG&gt;34964&lt;/STRONG&gt; whereas what flashmagic provides is &lt;STRONG&gt;35644&lt;/STRONG&gt;, according to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/docs/en/application-note/AN11229.pdf"&gt;http://www.nxp.com/docs/en/application-note/AN11229.pdf&lt;/A&gt;&amp;nbsp;the raw hex is to be added with each other to make a valid checksum, but in my case only first checksum is not valid rather then this all the checksums are valid. As i am new to this field i need to know where i am wrong and how will i be able to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First 512 bytes are&lt;/P&gt;&lt;P&gt;:10000000502F082011020000190200001B020000FE&lt;BR /&gt;:100010001D0200001F02000021020000000000007D&lt;BR /&gt;:1000200000000000000000000000000023020000AB&lt;BR /&gt;:10003000250200000000000027020000A14F01007F&lt;BR /&gt;:100040002B020000ED53010001540100B9540100DE&lt;BR /&gt;:10005000CD550100C95901000D5A0100195A01007E&lt;BR /&gt;:10006000315A01002B020000A13E000001410000B6&lt;BR /&gt;:10007000194300002B0200002B0200002B0200009D&lt;BR /&gt;:100080002B020000492C01002B0200002B02000073&lt;BR /&gt;:100090002B0200002B0200002B0200002B020000AC&lt;BR /&gt;:1000A0002B0200002B0200002B0200002B0200009C&lt;BR /&gt;:1000B0002B0200002B0200002B0200002B0200008C&lt;BR /&gt;:1000C0002B0200002B0200002B02000000F002F8BF&lt;BR /&gt;:1000D00000F060F80AA090E8000C82448344AAF182&lt;BR /&gt;:1000E0000107DA4501D100F055F8AFF2090EBAE880&lt;BR /&gt;:1000F0000F0013F0010F18BFFB1A43F0010318475C&lt;BR /&gt;:1001000058200400982004000A444FF0000C10F816&lt;BR /&gt;:10011000013B13F0070408BF10F8014B1D1108BF85&lt;BR /&gt;:1001200010F8015B641E05D010F8016B641E01F825&lt;BR /&gt;:10013000016BF9D113F0080F1EBF10F8014BAD1C75&lt;BR /&gt;:100140000C1B09D16D1E58BF01F801CBFAD505E093&lt;BR /&gt;:1001500014F8016B01F8016B6D1EF9D59142D6D3ED&lt;BR /&gt;:10016000704700000023002400250026103A28BF15&lt;BR /&gt;:1001700078C1FBD8520728BF30C148BF0B60704719&lt;BR /&gt;:100180001FB59DE8030000F0A5FA00F0CEF81FBDF2&lt;BR /&gt;:1001900010B510BD00F046FB1146FFF7F1FF1DF052&lt;BR /&gt;:1001A0002DFF00F064FB03B4FFF7F2FF03BC00F087&lt;BR /&gt;:1001B00091FB000006480000D0F800D00548064A30&lt;BR /&gt;:1001C00012681047E07F0010F11FFF1F3900000088&lt;BR /&gt;:1001D000C4010000CC010000C80100000B49D1F8A7&lt;BR /&gt;:1001E00000C04A685CF8043B1068184442F8040BED&lt;BR /&gt;:1001F0008C4528BFA1F1DC0C8A4228BFA1F1DC02AA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;M.Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2019 16:11:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invalid-Checksum-of-first-512-UU-encoded-bytes/m-p/926008#M36915</guid>
      <dc:creator>bilalqureshi_ep</dc:creator>
      <dc:date>2019-09-13T16:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Checksum of first 512 UU-encoded bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invalid-Checksum-of-first-512-UU-encoded-bytes/m-p/926009#M36916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I suggest&amp;nbsp;following the AN 5.3&amp;nbsp; Writing to RAM section, take use the command from AN to test if the system can work as expected. thus we can verify if the system functions well with checksum&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/89471iD1DD1199EB77CE9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is sent and received in UUencoded format .&amp;nbsp; The chip is only recogonized the checksum that is generated by adding raw data (before UU-encoding) bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding how the FlashMagic handle checksum inside, we would suggest you contact&amp;nbsp;&lt;A class="link-titled" href="http://www.esacademy.com/" title="http://www.esacademy.com/"&gt;Welcome - EmSA&lt;/A&gt;&amp;nbsp;&amp;nbsp;who is FlashMagic producer and their forum:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://forum.flashmagictool.com/" title="http://forum.flashmagictool.com/"&gt;Flash Magic Forum - Index&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2019 10:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invalid-Checksum-of-first-512-UU-encoded-bytes/m-p/926009#M36916</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-09-29T10:02:16Z</dc:date>
    </item>
  </channel>
</rss>

