<?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のトピックHaving some problems with writing in the flash from an LPC 54114 over ISP using I2C.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Having-some-problems-with-writing-in-the-flash-from-an-LPC-54114/m-p/661001#M26292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have some issues with my LPC 54114 Board trying to program the flash over I2C.&lt;/P&gt;&lt;P&gt;In my application I am calling the reinvoke ISP command and set it to I2C.&lt;/P&gt;&lt;P&gt;Afterwards I can speak to the LPC over I2C. I get the version (AW is 55 A1 02 00 80 01) and I can read pages. I am able to write pages to the flash but not page 0 and I have to reduce the CLK speed to 10 kbit/s (Datasheet say CLK speed is able up to 1 MHz). So the earliest address I can write to is the 0x00000100. CRP is not active, address 0x000002FC has the value 0xFFFFFFFF.&lt;/P&gt;&lt;P&gt;Since my host system is low on memory I tried to write sub blocks but here I always get the answer: 55 AD 04 00 0C 00 00 00 (&lt;SPAN style="font-size: 9.0pt;"&gt;Insufficient number of parameters or invalid parameter).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;My subblk looks like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;AD 83 01 00 (128 Byte Data) 00 00 00 00 // I also tried with 81 as first subblk byte.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;To create the image I use the LPCXpresso v8.1.4 IDE and uncomment the post build steps to generate a binary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Since my image looks the same like the flash I wonder if I just can start to program at address 0x00000100 or if I need the first 256 bytes as well?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Also I would be glad if it is possible to increase the CLK speed, maybe anyone has some ideas here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Thank you very much in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Oct 2016 11:43:09 GMT</pubDate>
    <dc:creator>jakob_hbln</dc:creator>
    <dc:date>2016-10-22T11:43:09Z</dc:date>
    <item>
      <title>Having some problems with writing in the flash from an LPC 54114 over ISP using I2C.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Having-some-problems-with-writing-in-the-flash-from-an-LPC-54114/m-p/661001#M26292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have some issues with my LPC 54114 Board trying to program the flash over I2C.&lt;/P&gt;&lt;P&gt;In my application I am calling the reinvoke ISP command and set it to I2C.&lt;/P&gt;&lt;P&gt;Afterwards I can speak to the LPC over I2C. I get the version (AW is 55 A1 02 00 80 01) and I can read pages. I am able to write pages to the flash but not page 0 and I have to reduce the CLK speed to 10 kbit/s (Datasheet say CLK speed is able up to 1 MHz). So the earliest address I can write to is the 0x00000100. CRP is not active, address 0x000002FC has the value 0xFFFFFFFF.&lt;/P&gt;&lt;P&gt;Since my host system is low on memory I tried to write sub blocks but here I always get the answer: 55 AD 04 00 0C 00 00 00 (&lt;SPAN style="font-size: 9.0pt;"&gt;Insufficient number of parameters or invalid parameter).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;My subblk looks like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;AD 83 01 00 (128 Byte Data) 00 00 00 00 // I also tried with 81 as first subblk byte.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;To create the image I use the LPCXpresso v8.1.4 IDE and uncomment the post build steps to generate a binary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Since my image looks the same like the flash I wonder if I just can start to program at address 0x00000100 or if I need the first 256 bytes as well?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Also I would be glad if it is possible to increase the CLK speed, maybe anyone has some ideas here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Thank you very much in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2016 11:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Having-some-problems-with-writing-in-the-flash-from-an-LPC-54114/m-p/661001#M26292</guid>
      <dc:creator>jakob_hbln</dc:creator>
      <dc:date>2016-10-22T11:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Having some problems with writing in the flash from an LPC 54114 over ISP using I2C.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Having-some-problems-with-writing-in-the-flash-from-an-LPC-54114/m-p/661002#M26293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="289517" data-username="jakob_hbln" href="https://community.nxp.com/people/jakob_hbln"&gt;Jakob Hille,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I was wondering if you can describe the detail steps of the implementation, then I can replicate the issue on my site.&lt;/P&gt;&lt;P&gt;So I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 06:05:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Having-some-problems-with-writing-in-the-flash-from-an-LPC-54114/m-p/661002#M26293</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-10-26T06:05:28Z</dc:date>
    </item>
  </channel>
</rss>

