<?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: Developing for lpc17xx chip on a custom board lpc link 2</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036319#M40348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfecto! Ok that makes sense now. I did not realise the significance of the SDK Vs non SDK LPC open tool. I've done a bit of old school muc development so no problems now I know I don't need to worry about the configure tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tommy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2020 19:14:09 GMT</pubDate>
    <dc:creator>thomasbrickell</dc:creator>
    <dc:date>2020-03-20T19:14:09Z</dc:date>
    <item>
      <title>Developing for lpc17xx chip on a custom board lpc link 2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036315#M40344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I am trying to set up and develop on a LPC17xx chip, specifically LCP1758. The chip is currently already in a custom board and needs some firmware changes. I have a LPC link2 debug board, I also have a olimex jtag available from previous adventures into ARM. Unfortunately I do not have the target board available yet however I have a very short window to be able to work on it so am trying to prepare.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I have set-up a test LPC 1758 work-space and project in mcuxpresso but because there is no target connected to the Link2 debugger I can't go any further.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;&amp;nbsp;questions:&lt;/P&gt;&lt;H1 style="color: #242729; background-color: #ffffff; border: 0px; font-weight: bold !important; margin: 0px 0px 1em;"&gt;1.&lt;/H1&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I getting confused as to whether I should be using the J-link firmware or the CMSIS-DAP? I am guessing the CMSIS-DAP... How can I stitch between JTAG and SWD?&lt;/P&gt;&lt;H1 style="border: 0px; font-weight: bold !important; margin: 0px 0px 1em;"&gt;2.&lt;/H1&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;I am unable to do any pin configuration to the target within the project. One route in gives me the error "MCU not selected", but this should be solved by the mcuxpresso downloading config online (different to the LPCopen SDK?). Another error message also pops up with a dialog "The selected project is not based on MCUxpresso SDK which I guess is because it is LCP open. If this is the case how do I go about configuring the peripherals on the chip? Do I just have to manually do it as per the user manual (chapter 8 and on)? Possible but hardly quick start.&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;I feel like I am missing a few bits of information that are stopping fully understanding the development process with mcuxpresso.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 20:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036315#M40344</guid>
      <dc:creator>thomasbrickell</dc:creator>
      <dc:date>2020-03-16T20:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Developing for lpc17xx chip on a custom board lpc link 2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036316#M40345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;I'll be happy to guide you through your questions.&lt;/P&gt;&lt;P&gt;1. First I'd like to point you to the debug considerations post we have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/388998"&gt;Design Considerations for Debug&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you will find described&amp;nbsp;"Switching between JTAG and SWD modes of debug". If you wish to switch your debug considerations, you need to select your project in mcuxpresso right click and find the option &lt;STRONG&gt;Debug As&lt;/STRONG&gt;..&lt;/P&gt;&lt;P&gt;Here you can select JTAG or SWD.&lt;/P&gt;&lt;P&gt;2. The steps found in this thread will allow you to import the example projects provided in the LPCOpen folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;*Note: For this LPC, since it is an older family the examples will be found in LPCOpen, there is not an SDK builder for this particular chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The path to find this folder is&amp;nbsp;&lt;STRONG&gt;C:\nxp\MCUXpressoIDE_11.1.0_3209\ide\Examples\LPCOpen&amp;nbsp;&lt;/STRONG&gt; I recommend to use the following zip folder.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99866i759117535890BD97/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When importing the examples please make sure you have selected the two projects as shown in the thread, if not it will not be able to build with the configurations for the chip.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/503675"&gt;Programing a LPC17XX with NXP IDE&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have further questions.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 20:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036316#M40345</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-18T20:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Developing for lpc17xx chip on a custom board lpc link 2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036317#M40346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have the lpc projects and specifically the LPC1769 zip in my workspace. I start a new project and base it on the LPC1758, the project compiles, but there is "no mcu selected" and the config tool doesn't allow me to do anything.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103455i846D38430BE312A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All ok and compiles with newly created project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103499i5B1B10F6CE4E9F96/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I still can't set up the peripherals or am I just meant to manual set the registers from defined in the chips user manual?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to this When I reopen the project by opening the workspace and then selecting project from the drop down menu I get this error. This means now the "build" link is greyed out.&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/103175i513B64EEC64C4EEB/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;and the below error is shown.&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/103426i32BD6E00FB6A3473/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 08:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036317#M40346</guid>
      <dc:creator>thomasbrickell</dc:creator>
      <dc:date>2020-03-19T08:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Developing for lpc17xx chip on a custom board lpc link 2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036318#M40347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you for the images. I now understand what is going on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The LPC17xx is an older family which is not part of an SDK in addition the config tools provided in mcuxpresso ide, such as the pins tools, clocks tool, peripheral tool, etc are not enabled for this part. So you will not be able to use it as you might have done in the past with other microcontrollers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this same manner, the build option will be greyed out, because it is not compatible with working with these windows. You should return to the normal code view by clicking the develop button.&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/100131i1730A50FC44FEBF9/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;&lt;/P&gt;&lt;P&gt;The libraries included in the zip folders I previously mentioned of the LPCOpen already have functions and macros defined that will help you get started. You can follow the example code provided or you can browse these functions within the src folder of the chip folder.&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/100266i9E7B6C85034CD4DE/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;Here for example you have an ACD_init which you can refer to setup this particular peripheral.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100419i44088E66B1255F24/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use the ADC example in the same zip LPCOpen folder to base your application on.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100854i2AF96544D0BC9C62/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 18:27:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036318#M40347</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-20T18:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Developing for lpc17xx chip on a custom board lpc link 2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036319#M40348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfecto! Ok that makes sense now. I did not realise the significance of the SDK Vs non SDK LPC open tool. I've done a bit of old school muc development so no problems now I know I don't need to worry about the configure tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tommy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 19:14:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036319#M40348</guid>
      <dc:creator>thomasbrickell</dc:creator>
      <dc:date>2020-03-20T19:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Developing for lpc17xx chip on a custom board lpc link 2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036320#M40349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad to help!&lt;/P&gt;&lt;P&gt;Don't hesitate to contact us again in the future if you have more questions or doubts!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2020 22:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Developing-for-lpc17xx-chip-on-a-custom-board-lpc-link-2/m-p/1036320#M40349</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-23T22:00:44Z</dc:date>
    </item>
  </channel>
</rss>

