<?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>S32KのトピックRe: IAR Workbench Debug Externally Build S32K SW</title>
    <link>https://community.nxp.com/t5/S32K/IAR-Workbench-Debug-Externally-Build-S32K-SW/m-p/1390969#M13352</link>
    <description>&lt;P&gt;Regarding how to use IAR, it is recommended to submit a &lt;A href="https://www.iar.com/knowledge/support/request-technical-support/" target="_self"&gt;Request technical support&lt;/A&gt; to IAR.&lt;BR /&gt;Sorry for not helping you.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;</description>
    <pubDate>Thu, 23 Dec 2021 01:19:57 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2021-12-23T01:19:57Z</dc:date>
    <item>
      <title>IAR Workbench Debug Externally Build S32K SW</title>
      <link>https://community.nxp.com/t5/S32K/IAR-Workbench-Debug-Externally-Build-S32K-SW/m-p/1390892#M13349</link>
      <description>&lt;P&gt;I have S32K142 software that was written using Notepad++ and built into an .elf file using a makefile. I am able to use IAR Embedded Workbench for ARM 8.40 &amp;amp; pemicro multilink to flash the software.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I imported the existing elf into IAR following these steps: &lt;A href="https://www.iar.com/knowledge/support/technical-notes/debugger/debugging-an-externally-built-executable-file" target="_blank"&gt;Debugging an externally built executable file | IAR Systems&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user8_0-1640198608560.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165996i788888103C70E6EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user8_0-1640198608560.png" alt="user8_0-1640198608560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to "download and debug" the program using IAR and my PEmicro Multilink. The debugger initially stops at main() like I configured in the debugger options menu. I am able to resume and pause the debugger. The correct C file will pop up in the IDE with a line of code highlighted green. So the debugger is able to find the source files that are elsewhere in my PC that I used to build the elf file.&lt;/P&gt;&lt;P&gt;My question is how do I set breakpoints in the C code myself before I start the debugger? I have tried Project &amp;gt; Add Files and added the files I want to debug. However when I try to flash the HW, I get build errors from the newly added C files. I IAR is trying to build the C files added to the project.&lt;/P&gt;&lt;P&gt;Ideally I want to use Notepad++ and makefile to edit and build the source code. I just want to be able to set breakpoints and debug the code using IAR. Is my only option to create a new IAR project and import all the source files, linker, etc?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 18:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/IAR-Workbench-Debug-Externally-Build-S32K-SW/m-p/1390892#M13349</guid>
      <dc:creator>user8</dc:creator>
      <dc:date>2021-12-22T18:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: IAR Workbench Debug Externally Build S32K SW</title>
      <link>https://community.nxp.com/t5/S32K/IAR-Workbench-Debug-Externally-Build-S32K-SW/m-p/1390969#M13352</link>
      <description>&lt;P&gt;Regarding how to use IAR, it is recommended to submit a &lt;A href="https://www.iar.com/knowledge/support/request-technical-support/" target="_self"&gt;Request technical support&lt;/A&gt; to IAR.&lt;BR /&gt;Sorry for not helping you.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 01:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/IAR-Workbench-Debug-Externally-Build-S32K-SW/m-p/1390969#M13352</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-12-23T01:19:57Z</dc:date>
    </item>
  </channel>
</rss>

