<?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: Migrating my code from LPC55S16-EVK to LPC5514JBD64E in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328344#M46255</link>
    <description>&lt;P&gt;4) - see this FAQ&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE-Knowledge-Base/MCUXpresso-IDE-Creating-Binary-Files-S-Record-Intel-Hex-Binary/ta-p/1127323" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE-Knowledge-Base/MCUXpresso-IDE-Creating-Binary-Files-S-Record-Intel-Hex-Binary/ta-p/1127323&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2021 07:45:30 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2021-08-24T07:45:30Z</dc:date>
    <item>
      <title>Migrating my code from LPC55S16-EVK to LPC5514JBD64E</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1327980#M46241</link>
      <description>&lt;P&gt;Hi, I used&amp;nbsp;LPC55S16-EVK + MCUXpresso to develop code for a PCB I designed which includes LPC5514JBD64E.&lt;/P&gt;&lt;P&gt;I selected the pins in a compatible way, for example, pin 15 in my PCB (LPC5514JBD64E) was selected to be ADC0_3, so I used pin 23 in the EVK (PIO0_31/ ADC0_3).&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;* How should I migrate the code to the PBC's MCU? I guess it is some header file/board file.&lt;/P&gt;&lt;P&gt;Can this be made automatically with MCUXpresso?&lt;/P&gt;&lt;P&gt;* The PCB should always boot in ISP mode (USB-HS) , so pin 56 (PIO0_5/ TDI) is pulled to GND, and I connected a 16MHz crystal to&amp;nbsp;XTAL32M_N&amp;nbsp;XTAL32M_P.&lt;/P&gt;&lt;P&gt;Is that enough? or I'm missing something?&lt;/P&gt;&lt;P&gt;How can I write '001' in&amp;nbsp;DEFAULT_ISP_MODE, so it will look for a firmware in USB-HS interface?&lt;/P&gt;&lt;P&gt;Is it done from MCUXpresso?&lt;/P&gt;&lt;P&gt;How&lt;SPAN&gt;&amp;nbsp;can I ISP-boot from USB-FS (maybe will be needed in the future)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;* Currently, I'm using MCUXpresso 'Debug' option to flash the MCU, since I will boot in ISP mode with my PCB, I need a way to generate a bin file from my code, how it can be done? is there a way to do it from the terminal (without MCUXpresso), so I will be able to generate a firmware image in a CI process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 19:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1327980#M46241</guid>
      <dc:creator>embedded_eng_</dc:creator>
      <dc:date>2021-08-23T19:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating my code from LPC55S16-EVK to LPC5514JBD64E</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328277#M46253</link>
      <description>&lt;P&gt;Hi, Alvaro,&lt;/P&gt;
&lt;P&gt;1)How should I migrate the code to the PBC's MCU? I guess it is some header file/board file.&lt;/P&gt;
&lt;P&gt;Can this be made automatically with MCUXpresso?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;I suggest you download SDK package for LPC5514, then develop your own application.&lt;/P&gt;
&lt;P&gt;This is SDK package link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en/welcome" target="_blank"&gt;https://mcuxpresso.nxp.com/en/welcome&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2)The PCB should always boot in ISP mode (USB-HS) , so pin 56 (PIO0_5/ TDI) is pulled to GND, and I connected a 16MHz crystal to XTAL32M_N XTAL32M_P.&lt;/P&gt;
&lt;P&gt;Is that enough? or I'm missing something?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;I suggest you connect PIO0_5 pin to a button as the EVK have done, press the button, the chip enter ISP mode(PIO0_5 is low after Reset), do not press the button, the chip will execute application code in flash after reset.&lt;/P&gt;
&lt;P&gt;3)How can I write '001' in DEFAULT_ISP_MODE, so it will look for a firmware in USB-HS interface?&lt;/P&gt;
&lt;P&gt;Is it done from MCUXpresso?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;You can use blhost tools to write CFPA space, for detailed information, pls refer to an12283.pdf for how to write CMPA page&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12283.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/application-note/AN12283.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;4)How can I ISP-boot from USB-FS (maybe will be needed in the future)?&lt;/P&gt;
&lt;P&gt;* Currently, I'm using MCUXpresso 'Debug' option to flash the MCU, since I will boot in ISP mode with my PCB, I need a way to generate a bin file from my code, how it can be done? is there a way to do it from the terminal (without MCUXpresso), so I will be able to generate a firmware image in a CI process?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;The above AN also tell you how to download image to flash based blhost tools.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 06:48:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328277#M46253</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-08-24T06:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating my code from LPC55S16-EVK to LPC5514JBD64E</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328302#M46254</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;1) I have already developed my application using&amp;nbsp;LPC55S16-EVK, and in the middle time I designed the PCB. Can't I change my project to work with&amp;nbsp;LPC5514JBD64E?&lt;/P&gt;&lt;P&gt;2) I need it to boot in ISP mode all the time, so&amp;nbsp;&lt;SPAN&gt;PIO0_5&lt;/SPAN&gt; is pulled to GND.&lt;/P&gt;&lt;P&gt;So&amp;nbsp;&lt;SPAN&gt;PIO0_5 pulldown + USB external crystal are enough to make sure it will boot from in ISP mode, using USB-HS interface?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3)&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) I do know how to flash the MCU using blhost, my question is about generating a bin file from my project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I create a .bin file from my project?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can I do it from terminal?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 07:19:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328302#M46254</guid>
      <dc:creator>embedded_eng_</dc:creator>
      <dc:date>2021-08-24T07:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating my code from LPC55S16-EVK to LPC5514JBD64E</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328344#M46255</link>
      <description>&lt;P&gt;4) - see this FAQ&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE-Knowledge-Base/MCUXpresso-IDE-Creating-Binary-Files-S-Record-Intel-Hex-Binary/ta-p/1127323" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE-Knowledge-Base/MCUXpresso-IDE-Creating-Binary-Files-S-Record-Intel-Hex-Binary/ta-p/1127323&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 07:45:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328344#M46255</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-08-24T07:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating my code from LPC55S16-EVK to LPC5514JBD64E</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328501#M46259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;1)have already developed my application using LPC55S16-EVK, and in the middle time I designed the PCB. Can't I change my project to work with LPC5514JBD64E?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Generally, there is not problem that you use lpc55s16 project to download to LPC5514JBD64E, but you have to modify memory file, because flash size is different. That is why I suggest you create new project based on LPC5514 and copy the code from old project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q2) I need it to boot in ISP mode all the time, so PIO0_5 is pulled to GND.&lt;/P&gt;
&lt;P&gt;So PIO0_5 pulldown + USB external crystal are enough to make sure it will boot from in ISP mode, using USB-HS interface?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;I think so.&lt;/P&gt;
&lt;P&gt;3) Thanks.&lt;/P&gt;
&lt;P&gt;Q4) I do know how to flash the MCU using blhost, my question is about generating a bin file from my project.&lt;/P&gt;
&lt;P&gt;How can I create a .bin file from my project?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;Pls refer to another engineer link to get the *.bin file based on your application code&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 10:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-my-code-from-LPC55S16-EVK-to-LPC5514JBD64E/m-p/1328501#M46259</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-08-24T10:05:20Z</dc:date>
    </item>
  </channel>
</rss>

