<?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: Baremetal programming in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555754#M50749</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;&amp;nbsp;I think i have installed the jlink software and thinks if the configuration on the board needs to be changed.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 10:50:48 GMT</pubDate>
    <dc:creator>smishra125</dc:creator>
    <dc:date>2022-11-17T10:50:48Z</dc:date>
    <item>
      <title>Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554090#M50710</link>
      <description>&lt;P&gt;I am using&amp;nbsp;LPC55S69JBD100 controller of&amp;nbsp;LPCXpresso55S69 Development Board. I am doing baremetal programming and trying to create led blinking project but don't know how to start. I tried to copy CMSIS from arm website but it haven't worked. Since I am beginner in the NXP family, can you send me some links and tutorial to start with the baremetal programming.&lt;/P&gt;&lt;P&gt;I am using MCUXpresso IDE of NXP.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 13:18:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554090#M50710</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-15T13:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554118#M50711</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; I tried to copy CMSIS from arm website but it haven't worked.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ARM's CMSIS only covers the generic part of the core, common to all vendors. You will not find anything specific there.&lt;/P&gt;&lt;P&gt;My recommendation would be to start with the user manual of the MCU (the PDF), and the SDK for your MCU (for the MCUxpresso IDE).&lt;/P&gt;&lt;P&gt;The user manual provides the description of all required core and peripheral registers, and the required sequence(s) to achieve certain functionalities.&lt;/P&gt;&lt;P&gt;The SDK provides example implementation for most of the interesting/relevant use cases.&lt;/P&gt;&lt;P&gt;Starting from there, you could understand and reproduce the functionality of the examples, start to strip it down, and remove code/functionality unnecessary for your application.&lt;/P&gt;&lt;P&gt;However, compared to other environments (e.g. a competitor's tool/IDE named after a 3D geometric object), NXP's SDKs come with very little overhead, and without questionably design framework choices forced upon the user.&lt;/P&gt;&lt;P&gt;In a commercial environment, such bare-metal coding is only oursued when the (often relatively small) gains in performance and size outweights the reduced portability and testability, and increased development time and costs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 14:01:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554118#M50711</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-11-15T14:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554162#M50712</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208808"&gt;@smishra125&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I recommend you start with the NXP SDK examples (): they are pretty easy to understand, and there is a 'blinky' example too.&lt;/P&gt;&lt;P&gt;Get the SDK from &lt;A href="https://mcuxpresso.nxp.com/," target="_blank"&gt;https://mcuxpresso.nxp.com/,&lt;/A&gt; drag it into the 'Installed SDK' view of the IDE and start coding. Or use the view: Menu Show &amp;gt; View &amp;gt; Install MCUXpresso SDK.&lt;/P&gt;&lt;P&gt;Use the Import SDK Example from the Quickstart Panel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichStyger_0-1668526044324.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200429i45EB4035C5194193/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichStyger_0-1668526044324.png" alt="ErichStyger_0-1668526044324.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Select your board:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichStyger_1-1668526090620.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200430i40CBF627830128F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichStyger_1-1668526090620.png" alt="ErichStyger_1-1668526090620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then import the 'blinky':&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichStyger_2-1668526119165.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200431iF8AC03A41F50B56E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichStyger_2-1668526119165.png" alt="ErichStyger_2-1668526119165.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;build and debug, and you should have it running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case you want to go bare-bare metal with CMake, I wrote about this here: &lt;A href="https://mcuoneclipse.com/2022/09/04/tutorial-creating-bare-bare-embedded-projects-with-cmake-with-eclipse-included/" target="_blank"&gt;https://mcuoneclipse.com/2022/09/04/tutorial-creating-bare-bare-embedded-projects-with-cmake-with-eclipse-included/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But this is more for the Pro, if you are well in CMake and the GNU build tools.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554162#M50712</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-11-15T15:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554505#M50719</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;Thanks for the support. I will implement it today.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 05:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554505#M50719</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-16T05:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554783#M50725</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;I am getting the error while running the cmake.init as in screenshot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 09:55:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554783#M50725</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-16T09:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554964#M50731</link>
      <description>&lt;P&gt;not sure, but it looks like make is not found?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 14:28:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1554964#M50731</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-11-16T14:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555186#M50735</link>
      <description>&lt;P&gt;I started with a different example, and am trying to port blinky timer to it.&amp;nbsp; But I can't find where blinky enables the systick interrupt. It's not described in the read me.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 19:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555186#M50735</guid>
      <dc:creator>Oxolotol</dc:creator>
      <dc:date>2022-11-16T19:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555707#M50745</link>
      <description>&lt;P&gt;The systick timer, as part of the core, is handled in ARM CMSIS functions.&lt;BR /&gt;Usually as a call to &lt;FONT face="courier new,courier" color="#0000FF"&gt;SysTick_Config()&lt;/FONT&gt;, which is an inline function implemented in core_cm&amp;lt;x&amp;gt;.h (core_cm4.h in my case).&lt;BR /&gt;At least it was last time I used it.&lt;/P&gt;&lt;P&gt;This function enables the interrupt as last step.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 09:36:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555707#M50745</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-11-17T09:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555723#M50746</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;I have successfully compiled the project and imported the debug folder into McuXpresso IDE. I have done the similar configuration you have said in the link but it shows error as jlink is not connected. Am i missing something as my xpresso board is on default setting or i need to connect the external debugger.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 09:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555723#M50746</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-17T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555752#M50748</link>
      <description>&lt;P&gt;Can you see the JLink in the device manager (assuming Windows) ?&lt;BR /&gt;On Linux, you could use the &lt;FONT face="courier new,courier"&gt;lsusb&lt;/FONT&gt; command.&lt;/P&gt;&lt;P&gt;The respective drivers should be installed as well.&lt;BR /&gt;This installation usually puts Segger tools on your system, check "applications-&amp;gt;Segger-&amp;gt;J-Link Vn.nn" in your Windows menu.&lt;BR /&gt;If it is not there, the driver(s) are probably not installed.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 10:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555752#M50748</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-11-17T10:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555754#M50749</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;&amp;nbsp;I think i have installed the jlink software and thinks if the configuration on the board needs to be changed.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 10:50:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1555754#M50749</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-17T10:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557484#M50778</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;I have followed the document and fulfilled all the steps in it. But when i go for the debugging, after the debugger disappears.&lt;/P&gt;&lt;P&gt;I think my board is supporting 55s28 controller not 55s69 that's why it is not been debugged properly. You can see my board in screenshot. I think my development board has both controllers.&lt;/P&gt;&lt;P&gt;Is this&amp;nbsp;&lt;A title="LPC55S69-EVK" href="https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/MCUXpresso/LPC55S69-EVK" target="_blank" rel="noopener"&gt;LPC55S69-EVK&lt;/A&gt;&amp;nbsp;github example&amp;nbsp;&lt;A href="https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/MCUXpresso/LPC55S69-EVK/LPC55S69_CMake_Template" target="_blank" rel="noopener"&gt;https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/MCUXpresso/LPC55S69-EVK/LPC55S69_CMake_Template&lt;/A&gt;&amp;nbsp;is compatible with LPC55s28 controller.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 05:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557484#M50778</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-22T05:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557509#M50779</link>
      <description>&lt;P&gt;May be this screenshot will help to understand the situation better.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 06:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557509#M50779</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-22T06:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557532#M50781</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; I think my board is supporting 55s28 controller not 55s69 that's why it is not been debugged properly.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would think so.&lt;BR /&gt;I don't have any LPC55Sxx eval board, but one for a LPC54628 which alternatively supports several MCU variants as well. The one "checkmarked" on the print should be the one you have. But I would cross-check with the label of the MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But generally, Flash / RAM areas of different variants do not match in both size and start addresses. Thus debugging fails already during the flash process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A pragmatic solution would be to setup the LPCXpresso project again for the 55S28 controller, and continue with this board for the time being..&lt;BR /&gt;If you application needs the 55S69, you could have a proper "replacement" board ordered in the meantime.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 06:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557532#M50781</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-11-22T06:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557582#M50782</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/74464"&gt;@fre&lt;/a&gt;&amp;nbsp;Do you have baremetal project example for LPC55S28 controller&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 07:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557582#M50782</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-22T07:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557598#M50786</link>
      <description>&lt;P&gt;I think that board might support both devices, but you have to check what is actually on your board.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 08:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-programming/m-p/1557598#M50786</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-11-22T08:16:41Z</dc:date>
    </item>
  </channel>
</rss>

