<?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: LPCXpresso54628 with Keil V5.27 Compiler in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947932#M37687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's strange that it worked only after I do a 'Start/Stop Debug Session', not when I download the firmware into flash. But that's ok, I think this resolved my issue.&lt;/P&gt;&lt;P&gt;My last question is that if I wanted to port the whole project created from MCUXpresso IDE into Keil MDK, will I create a new project in Keil and import each file individually, since Keil doesn't have an import project function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2019 22:09:26 GMT</pubDate>
    <dc:creator>vn2000</dc:creator>
    <dc:date>2019-06-11T22:09:26Z</dc:date>
    <item>
      <title>LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947923#M37678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using OM13098 (LPCXpresso54628) development kit with MCUXpresso IDE. I was having issues with this compiler, such as inconsistency, unstability, etc..&lt;/P&gt;&lt;P&gt;I also have a licensed Keil MDK V5.27 compiler. I also have some LPCXpresso54628 examples for Keil. I am able to compile the programs in Keil,&amp;nbsp;and&amp;nbsp;the output&amp;nbsp;has extension .out.&lt;/P&gt;&lt;P&gt;How do I need to configure Keil in order to download the file to the OM13098 board directly? Do I need to output a different file extension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 00:57:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947923#M37678</guid>
      <dc:creator>vn2000</dc:creator>
      <dc:date>2019-06-05T00:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947924#M37679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Viet,&lt;/P&gt;&lt;P&gt;If you want to use the Keil to download the code to flash, you have to configure the device with which you download code for example J-Link, CMSIS-DAP Debugger..., on the Keil tools, pls click Flash-&amp;gt;Configure Flash Tools, the Option for Traget... menu will appear as following:&lt;/P&gt;&lt;P&gt;You have to select the your device you are using by click Debug, even you have to click "Setting" in the the Option for Target menu to configure the device.&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/85396iC261E8DB1FCBC2BD/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;after you select the device correctly, you can download the code by click Debug-&amp;gt;Start/Stop Debug session as following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85397i8F3BA403981E97F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 07:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947924#M37679</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-06-05T07:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947925#M37680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello XiangJun Rong,&lt;/P&gt;&lt;P&gt;I found out the problem is that when I first plug in the OM13098, I see an LPC device in Device Manager in Windows. Only when I executed LPCXpresso IDE and go to a debug session, then the OM13098 changed to LPC-linkII UCom Port under 'Ports' in Device Manager. Then I have to get out of Debug mode. That's only when I can configure Keil the way you suggested. By that time I can configure in Keil as LPC-LINK2 CMSIS.&lt;/P&gt;&lt;P&gt;CMSIS-DAP is the only option that recognized OM13098. But when I go to 'Debug', 'Start/Stop Debug Session', then I see this error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Keil_CMSIS_error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85455i80CC7BBFE56AD803/image-size/large?v=v2&amp;amp;px=999" role="button" title="Keil_CMSIS_error.png" alt="Keil_CMSIS_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Build Ouput of Keil, it says:&amp;nbsp;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; "Cortex-M4"&lt;/P&gt;&lt;P&gt;I am using USB Debug Link J8 Connector to the PC. I see&amp;nbsp; the user manual UM11035 Page 4 mentioning about Link2 Debug probe.&lt;/P&gt;&lt;P&gt;Do I need an external probe or can I use the same USB connector J8 as I used with MCUXpresso IDE?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 23:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947925#M37680</guid>
      <dc:creator>vn2000</dc:creator>
      <dc:date>2019-06-05T23:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947926#M37681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Viet,&lt;/P&gt;&lt;P&gt;Regarding your question that the PC can not recognize the OM13098, I suppose that you close the JP5(DFU LINK) on the board, pls open the JP5 jumper.&lt;/P&gt;&lt;P&gt;Secondly, I suppose that the Keil can not find out the flash algorithms which leads to the error, pls refer to the following figure. If the programing Algorithms is blank, pls click the&amp;nbsp; Add software button to add the flash algorithms.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/85478i9E26F4DA558D52B7/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 05:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947926#M37681</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-06-06T05:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947927#M37682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;I added the flash algorithms as you said. But somehow the address shown is a little different from your example (10000000H instead of 00000000H).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Keil_CMSIS_flash_error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85638iD05B5CDA9E5613E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Keil_CMSIS_flash_error.png" alt="Keil_CMSIS_flash_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With the address 10000000H, I see this error:&lt;/P&gt;&lt;P&gt;Load "debug\\hello_world.out" &lt;BR /&gt;No Algorithm found for: 00000000H - 00002D13H&lt;BR /&gt;Erase skipped!&lt;BR /&gt;Error: Flash Download failed - "Cortex-M4"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changed the address to 00000000H, I see this error:&lt;/P&gt;&lt;P&gt;Load "debug\\hello_world.out" &lt;BR /&gt;Insufficient RAM for Flash Algorithms !&lt;BR /&gt;Erase Failed!&lt;BR /&gt;Error: Flash Download failed - "Cortex-M4"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed the Device Type in my environment says it Ext Flash SPI. In your dialog I see 'On-chip Flash'. The only logical choice for adding algorithm is&amp;nbsp;LPC5460x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when I looked at the Keil_v5/ARM/Flash directory, here is what I see:&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/85696i332F77BA5ED832C5/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;Here I only have one choice for LPC5460x_MT25QL128. So there is no LPC5460x_IAP as you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think I should correct?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 21:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947927#M37682</guid>
      <dc:creator>vn2000</dc:creator>
      <dc:date>2019-06-06T21:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947928#M37683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to create a new project similar to your LPC5460x_IAP but I&amp;nbsp;don't know what need to be changed. If you can send me the source files in your LPC5460x_IAP directory under /Keil_v5/ARM/Flash directory I might be able to compile and set it up correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 23:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947928#M37683</guid>
      <dc:creator>vn2000</dc:creator>
      <dc:date>2019-06-07T23:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947929#M37684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Viet,&lt;/P&gt;&lt;P&gt;This is the directory and file:&lt;/P&gt;&lt;P&gt;I attach the the zipped arm directory.&lt;/P&gt;&lt;P&gt;I suggest you use the park installer to install the file.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&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/85744iBF54D9A72B99CE3D/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947929#M37684</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-06-10T08:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947930#M37685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;After I copied your files into&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;/Keil_v5/ARM/Flash directory, I can compile and download the hello_world example. But I don't see the "hello world" output at the serial terminal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&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/85844i18E2CE956758ADCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 23:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947930#M37685</guid>
      <dc:creator>vn2000</dc:creator>
      <dc:date>2019-06-10T23:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947931#M37686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Viet,&lt;/P&gt;&lt;P&gt;As the following screenshot, if you set the COM port as COM16, baudrate as 115200, PuTTY tools can display hello world.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85865i40D6A962F0C6B9CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947931#M37686</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-06-11T05:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947932#M37687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's strange that it worked only after I do a 'Start/Stop Debug Session', not when I download the firmware into flash. But that's ok, I think this resolved my issue.&lt;/P&gt;&lt;P&gt;My last question is that if I wanted to port the whole project created from MCUXpresso IDE into Keil MDK, will I create a new project in Keil and import each file individually, since Keil doesn't have an import project function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 22:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947932#M37687</guid>
      <dc:creator>vn2000</dc:creator>
      <dc:date>2019-06-11T22:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947933#M37688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Viet,&lt;/P&gt;&lt;P&gt;If you have project based MCUXpresso tools, now you want to import the project to Keil tools, I think it is difficult, as you said, you have to create a new project based on Keil, copy the file from MCUXpresso tools to Keil.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 03:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947933#M37688</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-06-12T03:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54628 with Keil V5.27 Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947934#M37689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that's the only way to port the project into Keil.&lt;/P&gt;&lt;P&gt;Thank you for all the suggestions and assistance.&lt;/P&gt;&lt;P&gt;Viet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 04:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54628-with-Keil-V5-27-Compiler/m-p/947934#M37689</guid>
      <dc:creator>vn2000</dc:creator>
      <dc:date>2019-06-12T04:46:54Z</dc:date>
    </item>
  </channel>
</rss>

