<?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>MCUXpresso GeneralのトピックRe: How to modify system initialization (LPCOpen project)</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1520165#M4707</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I recommend to use at first the examples, then if you need more information let me know.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;use the 3rd option.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1662764434855.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193195iDE177B7D9B235FC7/image-size/small?v=v2&amp;amp;px=200" role="button" title="Pavel_Hernandez_0-1662764434855.png" alt="Pavel_Hernandez_0-1662764434855.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;then find the LPCOpen project at this direction,&amp;nbsp;C:\nxp\MCUXpressoIDE_11.6.0_8187\ide\Examples\LPCOpen.&lt;/LI&gt;
&lt;LI&gt;Select the MCU.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_1-1662764579991.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193196i91F8EAE94621230D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_1-1662764579991.png" alt="Pavel_Hernandez_1-1662764579991.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click next and select the example.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_2-1662764617891.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193197i98E834677F096718/image-size/small?v=v2&amp;amp;px=200" role="button" title="Pavel_Hernandez_2-1662764617891.png" alt="Pavel_Hernandez_2-1662764617891.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2022 23:04:25 GMT</pubDate>
    <dc:creator>Pavel_Hernandez</dc:creator>
    <dc:date>2022-09-09T23:04:25Z</dc:date>
    <item>
      <title>How to modify system initialization (LPCOpen project)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1519479#M4704</link>
      <description>&lt;P&gt;I'm learning MCUXpresso, so I created "LPCOpen - C project" for LPC1788 MCU, no board.&lt;/P&gt;&lt;P&gt;In "cr_startup_lpc177x_8x.c" source file "ResetISR" calls "SystemInit", which after several more invocations ends up calling "Chip_SetupIrcClocking" located in "sysinit_17xx_40xx.c" source file wherein internal oscillator IRC is setup. This all happens before "main" is called.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I change this setup, for example switch to external oscillator? Do I change "sysinit_17xx_40xx.c" source file (downloaded with LPCOpen 2.10 devkit) directly or shall I write my own clock configuration routine and call it from "main"?&lt;/P&gt;&lt;P&gt;Note that this is NOT a question regarding which registers need which values.&lt;/P&gt;&lt;P&gt;Understandably, "Clocks" perspective doesn't work since my project is not based on MCUXpresso SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 15:17:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1519479#M4704</guid>
      <dc:creator>Eugene723</dc:creator>
      <dc:date>2022-09-08T15:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify system initialization (LPCOpen project)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1519600#M4705</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In order to get more details or what are trying to do,&amp;nbsp; Could you tell me what example are you trying to set up?&lt;/P&gt;
&lt;P&gt;If you want to set up the external crystal you could use the&amp;nbsp;&lt;SPAN&gt;sysinit_17xx_40xx.h to use the function to enable the external crystal [Chip_Clock_EnableCrystal].&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Pavel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 21:44:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1519600#M4705</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-09-08T21:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify system initialization (LPCOpen project)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1520075#M4706</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;Thanks for the reply. My goal eventually is to port source code developed for our proprietary board into MCUXpresso toolchain.&lt;/P&gt;&lt;P&gt;I'm not using any example: on newly installed MCUXpresso, I picked "New Project" from Quickstart Panel, then selected LPC1788 and no board. Step-by-step wizard generated two projects: "lpc_chip_177x_8x" that compiles into library and my test project where "main" function resides.&lt;/P&gt;&lt;P&gt;Following your suggestion, I found function “Chip_SetupXtalClocking” that isn’t called from anywhere in the generated code. I can invoke it from “Chip_SystemInit” found in “sysinit_17xx_40xx.c” instead of “Chip_SetupIrcClocking”. But my question is – since “sysinit_17xx_40xx.c” was supplied as part of LPCOpen chip library – is it OK to edit this code file?&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 15:07:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1520075#M4706</guid>
      <dc:creator>Eugene723</dc:creator>
      <dc:date>2022-09-09T15:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify system initialization (LPCOpen project)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1520165#M4707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I recommend to use at first the examples, then if you need more information let me know.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;use the 3rd option.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1662764434855.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193195iDE177B7D9B235FC7/image-size/small?v=v2&amp;amp;px=200" role="button" title="Pavel_Hernandez_0-1662764434855.png" alt="Pavel_Hernandez_0-1662764434855.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;then find the LPCOpen project at this direction,&amp;nbsp;C:\nxp\MCUXpressoIDE_11.6.0_8187\ide\Examples\LPCOpen.&lt;/LI&gt;
&lt;LI&gt;Select the MCU.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_1-1662764579991.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193196i91F8EAE94621230D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_1-1662764579991.png" alt="Pavel_Hernandez_1-1662764579991.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click next and select the example.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_2-1662764617891.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193197i98E834677F096718/image-size/small?v=v2&amp;amp;px=200" role="button" title="Pavel_Hernandez_2-1662764617891.png" alt="Pavel_Hernandez_2-1662764617891.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 23:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1520165#M4707</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-09-09T23:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify system initialization (LPCOpen project)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1520744#M4710</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thank you very much for replying my question, I already figure out how to add library path for releases. I created another&amp;nbsp; two new cases 1. I need secondary boot loader c code for lpc11u24 . 2. Could I convert keil project to lpcopen? since I use keil software development tool for long time, now I want switch it to lPCXpressor. Thank you again!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 23:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1520744#M4710</guid>
      <dc:creator>Feiy</dc:creator>
      <dc:date>2022-09-12T23:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify system initialization (LPCOpen project)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1521336#M4713</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have your case too, for the secondary bootloader, let me get more information today, and about the Keil to LPCOpen let me do a review but I do not warranty anything. And you want to use LPCxpresso or MCUXpresso?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 14:55:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-modify-system-initialization-LPCOpen-project/m-p/1521336#M4713</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-09-13T14:55:34Z</dc:date>
    </item>
  </channel>
</rss>

