<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Erkan Güzeler</title>
    <description>The latest articles on DEV Community by Erkan Güzeler (@coderkan).</description>
    <link>https://dev.to/coderkan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F265188%2F663b2924-8dec-41f8-b2fc-04aabbd85e0f.jpeg</url>
      <title>DEV Community: Erkan Güzeler</title>
      <link>https://dev.to/coderkan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/coderkan"/>
    <language>en</language>
    <item>
      <title>MCUXpresso Usage</title>
      <dc:creator>Erkan Güzeler</dc:creator>
      <pubDate>Mon, 11 Jan 2021 11:22:13 +0000</pubDate>
      <link>https://dev.to/coderkan/mcuxpresso-usage-1mon</link>
      <guid>https://dev.to/coderkan/mcuxpresso-usage-1mon</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I would like to give you some information about using &lt;strong&gt;MCUXpresso IDE&lt;/strong&gt; that builded from &lt;strong&gt;NXP&lt;/strong&gt;. This chapter includes about how to &lt;strong&gt;Import&lt;/strong&gt; projects to our workspaces, how to builds them, and how to debug and build your projects in workspaces. I will use &lt;strong&gt;LPC1113 and LPC1768&lt;/strong&gt; MCU series in my works.&lt;/p&gt;

&lt;p&gt;Firstly, you need to install &lt;strong&gt;MCUXpresso IDE&lt;/strong&gt; from their official &lt;a href="https://www.nxp.com/support/developer-resources/run-time-software/mcuxpresso-software-and-tools/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE?tab=Design_Tools_Tab"&gt;websites&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Import Library&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I will explain how to include a library into our workspace in our projects. If you use to &lt;strong&gt;LPC&lt;/strong&gt; series you need to install &lt;strong&gt;CMSIS Library&lt;/strong&gt; to your workspaces. Easily you can download this libraries from my github page for &lt;a href="https://github.com/coderkan/CMSISv2p00_LPC11xx/tree/master"&gt;LPC11xx&lt;/a&gt; , &lt;a href="https://github.com/coderkan/CMSISv1p30_LPC17xx"&gt;LPC17xx&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;After installed these libraries we can open MCUXpresso IDE and go to &lt;strong&gt;Project Explorer&lt;/strong&gt; in workspace and right click then you see &lt;strong&gt;Import&lt;/strong&gt; section. Below image you can see detail.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dX4BJDpv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347179425/JnSM2MEvZ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dX4BJDpv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347179425/JnSM2MEvZ.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After clicked &lt;strong&gt;Import&lt;/strong&gt; section then you will see under &lt;strong&gt;General&lt;/strong&gt; section &lt;strong&gt;Existing Projects into Workspace&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8Lr3r-1i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347180893/aegfl4YhX.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8Lr3r-1i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347180893/aegfl4YhX.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After &lt;strong&gt;Existing Projects into Workspace&lt;/strong&gt; section we can click &lt;strong&gt;Browse&lt;/strong&gt; button then demonstrate our library paths.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--woGlUFHY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347182466/0IrigL18U.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--woGlUFHY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347182466/0IrigL18U.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Go to your library project files path and select it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--We55YbgF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347183970/oL8PSMozs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--We55YbgF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347183970/oL8PSMozs.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you successfully select your library path then you will show imported projects files in &lt;strong&gt;Import&lt;/strong&gt; pages. If more than one projects exist in your path you can select which you want. Then click &lt;strong&gt;Finish&lt;/strong&gt; button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nggcGtmj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347185853/Cs1yQBrbh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nggcGtmj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347185853/Cs1yQBrbh.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After added projects to your workspaces then you will see added projects like below images in &lt;strong&gt;Project Explorer&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WM9Dnz3r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347187460/5T19TmCKm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WM9Dnz3r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347187460/5T19TmCKm.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Import Project steps finished. You can &lt;strong&gt;build&lt;/strong&gt; added projects. Right click on project files and click &lt;strong&gt;Build Project&lt;/strong&gt;. If you don’t have any error in console, build projects has done.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HNjj5iYo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347189516/93eQB5I_M.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HNjj5iYo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347189516/93eQB5I_M.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Create Project&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This section you will demonstrate how to create new C/C++ project in &lt;strong&gt;MCUXpresso IDE&lt;/strong&gt; for &lt;strong&gt;LPC11xx&lt;/strong&gt; and &lt;strong&gt;LPC1768&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Firstly, we need to import &lt;strong&gt;CMSIS Library&lt;/strong&gt; our workspaces. After that we can create new &lt;strong&gt;LPC C/C++&lt;/strong&gt; embedded projects.&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;Project Explorer&lt;/strong&gt; section right click and select &lt;strong&gt;New&lt;/strong&gt; and &lt;strong&gt;New C/C++ Project&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1VYvYfC3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347191210/Tzl_eKQf3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1VYvYfC3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347191210/Tzl_eKQf3.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--RHQwglDf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347192768/wiuhbuNoV.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RHQwglDf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347192768/wiuhbuNoV.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then select which MCU Type you have. I have &lt;strong&gt;LPC1113/302&lt;/strong&gt; and &lt;strong&gt;LPC1768.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---f3A43Z1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347194335/eS8zRghrN.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---f3A43Z1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347194335/eS8zRghrN.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select which language develop your project opened panel. If you select LPCOpen projects before you need to download LPCOpen libraries. I will use &lt;strong&gt;CMSIS Library&lt;/strong&gt; so select C project. Then click &lt;strong&gt;Next&lt;/strong&gt; button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iYaHEsyk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347196464/gS1-nWWzz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iYaHEsyk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347196464/gS1-nWWzz.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Type your project name in &lt;strong&gt;Project name:&lt;/strong&gt; label then click &lt;strong&gt;Next&lt;/strong&gt; button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uWRVUkjU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347198004/hoWjlgllT.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uWRVUkjU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347198004/hoWjlgllT.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This section is important. You will see &lt;strong&gt;Wizard properties page&lt;/strong&gt; and select which library you want to use in &lt;strong&gt;CMSIS Core library&lt;/strong&gt;. You need to be careful when select core library because you have already imported your library in workspace before. I have already imported &lt;strong&gt;CMSISv2p00_LPC11xx and CMSISv1p30_LPC17xx&lt;/strong&gt; these libraries into my workspace.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tG4xB2uN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347199691/oe344Sv6q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tG4xB2uN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347199691/oe344Sv6q.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After select core library click &lt;strong&gt;Next&lt;/strong&gt; and you can simply see your project into your workspace.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dxMtIrMX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347201496/aOnyURiXL.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dxMtIrMX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347201496/aOnyURiXL.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Simply you can see your project that in &lt;strong&gt;Project Explorer&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qLwPFz1v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347203187/zbdkligh1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qLwPFz1v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347203187/zbdkligh1.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After all that time you can build your project, shown below images.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KIj5fJLa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347204712/XTBw13iZo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KIj5fJLa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347204712/XTBw13iZo.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These steps finished and your simple project has ready for development with in &lt;strong&gt;CMSIS&lt;/strong&gt; library.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Add External Library&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Most of our development times we create external or internal library for our purpose usage. Some libraries must be generic and use where you want. So we need to add these libraies our main projects. This section demonstrate you how to import &lt;strong&gt;external library&lt;/strong&gt; to your project.&lt;/p&gt;

&lt;p&gt;Firstly, right click on your project and go to &lt;strong&gt;Properties&lt;/strong&gt; than go to &lt;strong&gt;Settings&lt;/strong&gt; label under &lt;strong&gt;C/C++ Build&lt;/strong&gt; section.&lt;/p&gt;

&lt;p&gt;Properties | C/C++ Build&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CS9t2c6J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347206064/di5xDnPyZ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CS9t2c6J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347206064/di5xDnPyZ.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XVsbOV7z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347207507/HECfzjeY0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XVsbOV7z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347207507/HECfzjeY0.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After selected &lt;strong&gt;Settings&lt;/strong&gt; label than select Includes under &lt;strong&gt;Tool Settings&lt;/strong&gt; than add your library path in &lt;strong&gt;Include paths (-l)&lt;/strong&gt; label with &lt;strong&gt;Add&lt;/strong&gt; button. You can simply see how to add library paths as below images.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jMXNzdSi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347208986/qIv0vVOO-.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jMXNzdSi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347208986/qIv0vVOO-.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8pdo9BRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347210838/UzAo4y-Lw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8pdo9BRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347210838/UzAo4y-Lw.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--x_uwFSiH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347212424/9RJ7koml7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--x_uwFSiH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347212424/9RJ7koml7.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--O3vSagaP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347213968/YGorShlTf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--O3vSagaP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347213968/YGorShlTf.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After all that you can &lt;strong&gt;Build&lt;/strong&gt; your project and see has any error or other things you need.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Debug Project&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Development time all developers need to &lt;strong&gt;Debug&lt;/strong&gt; so this section demonstrate how to debug &lt;strong&gt;MCUXpresso&lt;/strong&gt; project.&lt;/p&gt;

&lt;p&gt;In order to debug the created project we select our project in &lt;strong&gt;Project Explorer&lt;/strong&gt; and then click on the &lt;strong&gt;Debug&lt;/strong&gt; tab in the &lt;strong&gt;Quick Start&lt;/strong&gt; panel and then wait for &lt;strong&gt;Jlink&lt;/strong&gt; to run.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--H-rxKR7J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347215479/ACy0vHDaV.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--H-rxKR7J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347215479/ACy0vHDaV.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first time we run the JLink screen will continue to select the future and we are ready to use the screen by clicking on &lt;strong&gt;Accept&lt;/strong&gt; button.&lt;/p&gt;

&lt;p&gt;In order to be able to install the program, the energy of the cycle should be given your device circuit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zrCJSMvP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347217561/8_SqPgRAg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zrCJSMvP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347217561/8_SqPgRAg.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If &lt;strong&gt;Debug&lt;/strong&gt; succeeds, the &lt;strong&gt;main&lt;/strong&gt; function will also fall to &lt;strong&gt;breakpoint&lt;/strong&gt;. Then you can run the project by pressing the &lt;strong&gt;Resume All Debug&lt;/strong&gt; button at the bottom.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hWkAXnZ2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347219134/64HueMQwN.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hWkAXnZ2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1610347219134/64HueMQwN.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope you enjoy reading.&lt;/p&gt;

&lt;p&gt;Have a nice coding…&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.ocfreaks.com/tutorial-using-mcuxpresso-create-cortex-m-project-cmsis/"&gt;Cover Image&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>mcu</category>
      <category>embedded</category>
      <category>tool</category>
    </item>
  </channel>
</rss>
