<?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>LPC MicrocontrollersのトピックRe: IAP via JTAG on LPC1754 #2</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-via-JTAG-on-LPC1754-2/m-p/660937#M26284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So after a bunch of experimenting I have found that the programming operation becomes stable with a clock of 1MHz.&amp;nbsp;I do not know why at this point, but with a clock divider of 4 (register adds one so write of 0x3)&amp;nbsp;in to&amp;nbsp;CCLKCFG and&amp;nbsp;CLKSRCSEL set to 0x0 (default) I stop seeing single bit errors. I am still seeing errors on the first write to a fresh memory location (never ever programmed) but any successive writes do not seem to have this problem... weird...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 21:34:21 GMT</pubDate>
    <dc:creator>petervanhoomiss</dc:creator>
    <dc:date>2017-02-22T21:34:21Z</dc:date>
    <item>
      <title>IAP via JTAG on LPC1754 #2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-via-JTAG-on-LPC1754-2/m-p/660936#M26283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a new problem in my writing of a programmer for a LPC1754. I am able to write to flash using IAP commands via the JTAG port and verify the results, but only for some memory locations. I can not seem to write to sector0, or odd 256byte pages in sectors1+. To clarify, I am able to write the data, but there are 1-10 single bit errors in the page. I verify that the data in my RAM stack is correct both before and after programming . I am using the PLL0 as my clock source divided by 2 and am passing 2000kHz CCLK to the copy ram to flash function. If any one has seen this behavior I am curious how you solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also seeing that after a sector erase command that I need to release reset and then reenter the debug port to blank check the part. Blank checking after a sector erase never seems to return a response. I suspect that this is to the stack pointer or link register not being set with a proper value. I will probably try writing a HALT command into RAM and point to it unless there is a better way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 18:08:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-via-JTAG-on-LPC1754-2/m-p/660936#M26283</guid>
      <dc:creator>petervanhoomiss</dc:creator>
      <dc:date>2017-02-22T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: IAP via JTAG on LPC1754 #2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-via-JTAG-on-LPC1754-2/m-p/660937#M26284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So after a bunch of experimenting I have found that the programming operation becomes stable with a clock of 1MHz.&amp;nbsp;I do not know why at this point, but with a clock divider of 4 (register adds one so write of 0x3)&amp;nbsp;in to&amp;nbsp;CCLKCFG and&amp;nbsp;CLKSRCSEL set to 0x0 (default) I stop seeing single bit errors. I am still seeing errors on the first write to a fresh memory location (never ever programmed) but any successive writes do not seem to have this problem... weird...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 21:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-via-JTAG-on-LPC1754-2/m-p/660937#M26284</guid>
      <dc:creator>petervanhoomiss</dc:creator>
      <dc:date>2017-02-22T21:34:21Z</dc:date>
    </item>
  </channel>
</rss>

