<?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 Converting uVision Project to MCUXPresso in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1212733#M43584</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The question is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IS POSSIBLE TO DO IT&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The used microcontroller is &lt;STRONG&gt;LPC54616J512BD100&lt;/STRONG&gt; - LQFP 100 pins Package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DESCRIPTION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I received a Source Code to add new functions and peripherals.&lt;/P&gt;&lt;P&gt;It was done on uVisoln and builds and works propperly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEMS FOUND WITH uVison infrastructore&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;1) For some reason I can only make a opload using Debbugger. But for some reason I could detect in some cases after complete uploads it do not boots.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I Created a .bin and .hex file using uVision and tryed to download them using &lt;STRONG&gt;USART USP Mode&lt;/STRONG&gt; using a &lt;STRONG&gt;FlashMagic&lt;/STRONG&gt; tool. Flashing wit Verify works propperly.&amp;nbsp; For certification I read the flashed image as binary and externaly compare it .bin with source and matches. &lt;STRONG&gt;But it code do not boots&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STRAGEGY FOR MIGRATION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The source code done on uVision is very offusced, and not easy to maintain an add the new functionality are needed.&lt;/P&gt;&lt;P&gt;The MCUXpresso eclipse IDE is muth more friendly to works so I preffer to mannually migrate it source code to a new project on MCUXpresso eclipse IDE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAIN FIRMWARE FUNCTION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Controls Digital Inputs and Outputs. The communication channel is USB_HID with presseted VID/PID using proprietary communication protocol. It Firmware is very Simple.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MCU CONFIGURATION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1) One Flexcomm USART 4 for debbugging,&lt;/P&gt;&lt;P&gt;2) SPI channels for external EEPROM.&lt;/P&gt;&lt;P&gt;3) GPIO ports.&lt;/P&gt;&lt;P&gt;4) USB_HID for Host Communication. &lt;STRONG&gt;**(Here was my hardest problem)**&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I Started the converting source code by Board,c/h and it was done successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;STRONG&gt;when I tried to import USB_HID Source Codes I found problems&lt;/STRONG&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;it uses Keil NXP USB_HID Drivers and API that I colud not find them on MXUxpresso.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jan 2021 10:23:11 GMT</pubDate>
    <dc:creator>OliveiraNxp</dc:creator>
    <dc:date>2021-01-16T10:23:11Z</dc:date>
    <item>
      <title>Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1212733#M43584</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The question is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IS POSSIBLE TO DO IT&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The used microcontroller is &lt;STRONG&gt;LPC54616J512BD100&lt;/STRONG&gt; - LQFP 100 pins Package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DESCRIPTION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I received a Source Code to add new functions and peripherals.&lt;/P&gt;&lt;P&gt;It was done on uVisoln and builds and works propperly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEMS FOUND WITH uVison infrastructore&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;1) For some reason I can only make a opload using Debbugger. But for some reason I could detect in some cases after complete uploads it do not boots.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I Created a .bin and .hex file using uVision and tryed to download them using &lt;STRONG&gt;USART USP Mode&lt;/STRONG&gt; using a &lt;STRONG&gt;FlashMagic&lt;/STRONG&gt; tool. Flashing wit Verify works propperly.&amp;nbsp; For certification I read the flashed image as binary and externaly compare it .bin with source and matches. &lt;STRONG&gt;But it code do not boots&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STRAGEGY FOR MIGRATION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The source code done on uVision is very offusced, and not easy to maintain an add the new functionality are needed.&lt;/P&gt;&lt;P&gt;The MCUXpresso eclipse IDE is muth more friendly to works so I preffer to mannually migrate it source code to a new project on MCUXpresso eclipse IDE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAIN FIRMWARE FUNCTION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Controls Digital Inputs and Outputs. The communication channel is USB_HID with presseted VID/PID using proprietary communication protocol. It Firmware is very Simple.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MCU CONFIGURATION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1) One Flexcomm USART 4 for debbugging,&lt;/P&gt;&lt;P&gt;2) SPI channels for external EEPROM.&lt;/P&gt;&lt;P&gt;3) GPIO ports.&lt;/P&gt;&lt;P&gt;4) USB_HID for Host Communication. &lt;STRONG&gt;**(Here was my hardest problem)**&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I Started the converting source code by Board,c/h and it was done successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;STRONG&gt;when I tried to import USB_HID Source Codes I found problems&lt;/STRONG&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;it uses Keil NXP USB_HID Drivers and API that I colud not find them on MXUxpresso.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 10:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1212733#M43584</guid>
      <dc:creator>OliveiraNxp</dc:creator>
      <dc:date>2021-01-16T10:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1212987#M43592</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-I lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182404" target="_self"&gt;&lt;SPAN class=""&gt;OliveiraNxp&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;You can only create a new MCUXpresso project or open a demo, then porting the code from KEIL to MCUXpresso by hand.&lt;/P&gt;
&lt;P&gt;Abbout USB_HID drivers, MCUXpresso sdk also has, open a USB_HID demo ,you can find them:&lt;/P&gt;
&lt;DIV id="tinyMceEditorAlice_Yang_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hid.jpg" style="width: 948px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134966i3310E24AAF077DDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="hid.jpg" alt="hid.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 06:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1212987#M43592</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-01-18T06:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1213412#M43605</link>
      <description>&lt;P&gt;Alice Yaung,&lt;/P&gt;&lt;P&gt;O will do what you suggested and relpy the result.&lt;/P&gt;&lt;P&gt;Thank you very muth for it hint.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 14:39:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1213412#M43605</guid>
      <dc:creator>OliveiraNxp</dc:creator>
      <dc:date>2021-01-18T14:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1216577#M43619</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I´m trying to find the &lt;STRONG&gt;dev_hid_generic&amp;nbsp;&lt;/STRONG&gt;and couldnt find it.&lt;/P&gt;&lt;P&gt;Can you explain the procedure ou send me the download link for it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Oliveira&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 06:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1216577#M43619</guid>
      <dc:creator>OliveiraNxp</dc:creator>
      <dc:date>2021-01-19T06:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1216708#M43629</link>
      <description>&lt;P&gt;Hello Oliveira,&lt;/P&gt;
&lt;P&gt;Please open the link and then refer to my attachment to download,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;https://mcuxpresso.nxp.com/en/select&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;After download, you can find the USB demos under the path:&lt;/P&gt;
&lt;P&gt;SDK_2.7.0_LPCXpresso54618\boards\lpcxpresso54618\usb_examples .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 08:58:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1216708#M43629</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-01-19T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1217138#M43638</link>
      <description>&lt;P&gt;Once more,&lt;/P&gt;&lt;P&gt;Thanks for sending your video.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I didnt found is because I dont have it developing board, but, i will try to get it following your instructions.&lt;/P&gt;&lt;P&gt;I found another USB_HID source code for LPC54608.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Sussessfull migrate it code to LPC54516, loaded into my board but, only after it I see that my board uses USB0_DM/DP pins and it project expect tu uses GPIO_29 &amp;amp; GPIO_30 for usb communication.&lt;/P&gt;&lt;P&gt;I Attache it for you see Okay!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 22:07:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1217138#M43638</guid>
      <dc:creator>OliveiraNxp</dc:creator>
      <dc:date>2021-01-19T22:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1217780#M43651</link>
      <description>&lt;P&gt;Hello Oliveira ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you meaning in the BOARD_InitPins() function?&lt;/P&gt;
&lt;P&gt;The PIO0_29 and PIO0_30 are configured as FC0_RXD_SDA_MOSI and FC0_TXD_SCL_MISO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 09:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1217780#M43651</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-01-20T09:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1217877#M43654</link>
      <description>&lt;P&gt;Hello Alice Yang,&lt;/P&gt;&lt;P&gt;I´m very happy you are keeping ation on my problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are right: is exatly these pins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached a PDF with have the Hardware Design of the original project I Received. As you will see.&lt;/P&gt;&lt;P&gt;The firmware is not complex nor hard to develop because use a lot of GPIO pins configured as digital Inputs and outputs.&lt;/P&gt;&lt;P&gt;The IC4 - MAXQ1061 is a&amp;nbsp;&lt;SPAN&gt;Cryptographic Controlle and has no firmware code written to use it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The IC2 0 AT25DF081A is an SPI Flash memory used to save configuration and logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The IC10,11 and 12 are used as FLEXCOMM PORT SPI and USART to connect one external board that we didnt received. The IC13-15 are used to commute internal and external SWD mode the signal SWD-ADC is controlled by PIO1_7 pin I8.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I beleave that these it is used for specific action that i unknow. May be an specific firmware that we dont have it source code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The IC9 MAX845CSA IC9 is a RS385 interface. It was not configured nor used on current firmware, but, it will be used on new firmware to communicate with another microcontroller using a proprietary crypto protocol.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All other componnents are used for POWER, up to 16 digital OUTPUTS, and 32 digital INPUTS ( 04 x 8 bits - controlled by two out bits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I told you, the source code uses uVision IDE. It build propperly w/o error nor warnings. it loads using ST-link debbugger and others. We made an external option to load the builded binary firmware using ISP Mode USART. But, after upload it is not working. As MCUxpresso IDE is a eclipse based and much more easy to use. We decided migrate.&amp;nbsp; We are having problem to megrate USB HID function and this is very important because it has a proprietary communication protocol with external PC used as controller by Driver/API.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 10:50:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1217877#M43654</guid>
      <dc:creator>OliveiraNxp</dc:creator>
      <dc:date>2021-01-20T10:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1219345#M43701</link>
      <description>&lt;P&gt;Hello Oliveira ,&lt;/P&gt;
&lt;P&gt;So do you still have question now ? The USB HID porting, remmend use demo under MCUXpresso IDE as I said before .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 05:53:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1219345#M43701</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-01-22T05:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting uVision Project to MCUXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1219659#M43711</link>
      <description>&lt;P&gt;Alice Yang,&lt;/P&gt;&lt;P&gt;First I whant to thanks you for all hints that you gave.&lt;/P&gt;&lt;P&gt;Now I´m able to migrate a uVision project to MCUxpresso.&lt;/P&gt;&lt;P&gt;Its not so easy as I was thing, but, is possible. Its good because I have no experience with NXP IDE and products.&lt;/P&gt;&lt;P&gt;Oh: I Saw that there are a lot of demo for many situations. Very interesting. Using Interrupts, DMA&amp;nbsp; and FreeRTOS improve significantly the proccessing.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oliveira.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 14:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Converting-uVision-Project-to-MCUXPresso/m-p/1219659#M43711</guid>
      <dc:creator>OliveiraNxp</dc:creator>
      <dc:date>2021-01-22T14:09:35Z</dc:date>
    </item>
  </channel>
</rss>

