<?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>i.MX ProcessorsのトピックRe: build_debug.sh</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1424478#M187939</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190388"&gt;@usala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for replying late.&lt;BR /&gt;1) Is there something else I need to do to get it to run?&lt;BR /&gt;-- It needs a bit weird, whether you ever try to program the generated boot image to the MIMXRT1170 EVK after clicking the build_release.sh.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 09:38:26 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2022-03-08T09:38:26Z</dc:date>
    <item>
      <title>build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1419811#M187525</link>
      <description>&lt;P&gt;Re-opening this issue since I didn't get any results from the last individual handling it.&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1415502#M187151" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1415502#M187151&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am trying to build Eval IMMXRT1176 Ethernet AVB demo as build_debug.sh and I get the following error:&amp;nbsp;`itcm' overflowed by 55880 bytes.&amp;nbsp; See attached log.&amp;nbsp; What can I do to fix this issue.&amp;nbsp; I do need the debug version.&amp;nbsp; See attached NXP instruction manual on how to duplicate the environment.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 13:27:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1419811#M187525</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-02-25T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1421096#M187636</link>
      <description>&lt;P&gt;Hi，&lt;BR /&gt;Sorry for replying late.&lt;BR /&gt;Actually, I don't encounter the build issue after following the&lt;BR /&gt;NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_3_3_rev1, you can see that I can generate the image.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1646125106813.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172084i9F3219FAF6733FE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1646125106813.png" alt="jeremyzhou_0-1646125106813.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 08:59:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1421096#M187636</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-01T08:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1421345#M187658</link>
      <description>&lt;P&gt;Jeremy you are building the tsn app and using build_release.sh.&amp;nbsp; You need to build avb_audio_app using ./build_debug.sh.&amp;nbsp; See attached file showing the path to the avb_audio_app project.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 17:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1421345#M187658</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-01T17:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1422460#M187727</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190388"&gt;@usala&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Sorry for replying late.&lt;BR /&gt;Now I basic replicate the issue, I guess it's related to the linker file and it needs to use the SDRAM as the primary RAM.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1646289954854.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172362iC04B00DBAB1E5BAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1646289954854.png" alt="jeremyzhou_0-1646289954854.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1646292940503.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172367i831EECD02F94E942/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1646292940503.png" alt="jeremyzhou_0-1646292940503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:35:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1422460#M187727</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-03T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1422719#M187760</link>
      <description>&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 13:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1422719#M187760</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-03T13:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1423212#M187805</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190388"&gt;@usala&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;After digging deeper, I work it out finially and please modify the linker file (~\genavb-apps-freertos-3_3_5\boards\evkmimxrt1170\demo_apps\avb_tsn\common\armgcc\MIMXRT1176xxxxx_cm7.ld) as the below figure shows.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1646386089534.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172502i7B602BE26F928C7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1646386089534.png" alt="jeremyzhou_0-1646386089534.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 09:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1423212#M187805</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-04T09:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1423415#M187823</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I made the change to the linker file and now it builds but the code is not running.&amp;nbsp; I use SEGGER's Ozone to download the image as I have been doing for the build_release.sh but the debug image is not running.&amp;nbsp; There is no print output to the shell terminal.&amp;nbsp; Is there something else I need to do to get it to run?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 18:37:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1423415#M187823</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-04T18:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1424478#M187939</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190388"&gt;@usala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for replying late.&lt;BR /&gt;1) Is there something else I need to do to get it to run?&lt;BR /&gt;-- It needs a bit weird, whether you ever try to program the generated boot image to the MIMXRT1170 EVK after clicking the build_release.sh.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 09:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1424478#M187939</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-08T09:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1424607#M187949</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to connect the MIMXRT1176 eval to a terminal program like Tera-term on to the USB port next to the NXP logo on the PCB. 115200 BAUD to see the actual logs from the firmware running.&amp;nbsp; After you build the build_debug.sh follow the steps in the manual on how to upload the build image onto the eval board.&amp;nbsp; You need to set the dip switch to bootloader mode and them drop the bin file onto the pop up window generated by the boot loader.&amp;nbsp; See&amp;nbsp;9.8. Flashing an image section on "NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_3_3_rev1.pdf".&amp;nbsp; If you build the build_release.sh the image produced will run normally and you'll see the logs on the terminal program, however if you build the build_debug.sh nothing is displayed on the terminal program as if not running at all.&amp;nbsp; this is the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ulises&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 13:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1424607#M187949</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-08T13:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1424879#M187971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190388"&gt;@usala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your clarification and I'll give it a test later.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 02:18:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1424879#M187971</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-09T02:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1425959#M188054</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Please comment out the below code lines in the startup_MIMXRT1176_cm7.S to avoid the FlexRAM assignment changes, then give it a try again.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt; /*
     * FlexRAM setup
     * Needs to be done before any usage of TCM memory.
     * DTCM  = 320 KB
     * ITCM  = 192 KB
     * OCRAM = 0 KB
     * Bank low  7   -  0
     *           DDDDDDDD
     * Bank high 15  -  8
     *           DDIIIIII
     */
    ; .equ    GPR17, 0x400E4044
    ; .equ    GPR18, 0x400E4048
    ; .equ    BANKCFGLOW, 0xAAAA
    ; .equ    BANKCFGHIGH, 0xAFFF
    ; .equ    MASK, 0xFFFF0000

    ; ldr     r0, =GPR17
    ; ldr     r1, [r0]
    ; ldr     r2, =MASK
    ; and     r1, r2
    ; ldr     r2, =BANKCFGLOW
    ; orr     r1, r2
    ; str     r1, [r0]

    ; ldr     r0, =GPR18
    ; ldr     r1, [r0]
    ; ldr     r2, =MASK
    ; and     r1, r2
    ; ldr     r2, =BANKCFGHIGH
    ; orr     r1, r2
    ; str     r1, [r0]

    ; /* ARM core ITCM/DTCM total size setup */
    ; /* Set ITCM/DTCM size to maximum supported, matching MPU mapping */
    ; .equ    GPR16, 0x400E4040
    ; .equ    TCMCFG, 0xAA07

    ; ldr     r0, =GPR16
    ; ldr     r1, [r0]
    ; mov     r2, #0xFFFF00FF
    ; and     r1, r2
    ; ldr     r2, =TCMCFG
    ; orr     r1, r2
    ; str     r1, [r0]&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Jeremy&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 08:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1425959#M188054</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-10T08:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1426173#M188066</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I commented out the code as you suggested and still nothing is been output to the shell terminal.&amp;nbsp; Attached is a renamed startup_MIMXRT1176_cm7.txt for your review.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 13:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1426173#M188066</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-10T13:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1429194#M188277</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Sorry for the reply late and the AE team suggests you follow below steps to fix the issue.&lt;BR /&gt;1) Add two MACRO into the CMakeFiles to enable the SDRAM at the boot time.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1647424662672.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/173891iAF7B98F1675B43E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1647424662672.png" alt="jeremyzhou_0-1647424662672.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2) Replace the old ld file with the attachment.3) After that, rebuild the project with either build_debug.sh or build_release.sh for testing.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 09:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1429194#M188277</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-16T09:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1429397#M188297</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I added the 2 lines to CMakeList.txt (see attached files) and replace&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;MIMXRT1176xxxxx_cm7.7z file with the one you enclosed and here are the results.&amp;nbsp; I build_debug and use SEGGER Ozone to upload the .elf image onto the target.&amp;nbsp; After the image loads with the JLink connected and run debug it immediately goes to the hard fault handler.&amp;nbsp; I attached captures of the console and image of the Ozone screen for your viewing.&amp;nbsp; The good news is that resetting the target the debug image runs okay standalone.&amp;nbsp; The hard fault happens only if try to debug using Ozone attached via JLink and what I am really looking for is to be able to debug the code.&amp;nbsp; Let me know what else you want me to try or any additional information you need. Best regards, Ulises&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ulises&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Mar 2022 15:04:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1429397#M188297</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-16T15:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1430978#M188401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190388"&gt;@usala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share me the Ozone preject? The issue is maybe caused by a in-correct init sdram, so please check that if there is a Jlink-script be called when do the debug, maybe named&amp;nbsp;&lt;STRONG&gt;evkmimxrt1170_connect_cm4_cm7side.jlinkscript,&amp;nbsp;&lt;/STRONG&gt;this one is used to init the sdram before run the code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; And also, in order to validate this, you can also change the boot option to the QSPI FLASH, and then debug the project with Ozone. If the hard-fault gone, we can verify that we need to add the&amp;nbsp;&lt;STRONG&gt;evkmimxrt1170_connect_cm4_cm7side.jlinkscript&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;into the Ozone project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;So please have a try first with the boot from the QSPI flash(0 0 1 0), then try to add the&amp;nbsp;&lt;STRONG&gt;evkmimxrt1170_connect_cm4_cm7side.jlinkscript&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;into the Ozone project.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 01:32:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1430978#M188401</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-21T01:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1431305#M188430</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I am not using a jlink script file perhaps that is part of the problem and if so can you help me set one up.&amp;nbsp; Attached is my project file for your viewing.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 12:51:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1431305#M188430</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-21T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432274#M188482</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190388"&gt;@usala&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Please have a try on the attached Ozone-project. &lt;BR /&gt;Note( I am using the Jlink-v7.60b, and the Ozone v3.10g, to make sure there are no errors on the version, please re-configure the project before debugging the code): &lt;BR /&gt;1. Select the chips by clicking tools-&amp;gt;J-Link Settings, then select our chip, mine is MIMXRT1176xxxA_M7:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crist_xu_0-1647943023902.png" style="width: 474px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174471i277FC22972718A1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="crist_xu_0-1647943023902.png" alt="crist_xu_0-1647943023902.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crist_xu_1-1647943083341.png" style="width: 710px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174472i2C446ACCA36F70FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="crist_xu_1-1647943083341.png" alt="crist_xu_1-1647943083341.png" /&gt;&lt;/span&gt; &lt;BR /&gt;2. Edit the IMXRT_1176.jdebug, and change the elf file to your path:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crist_xu_2-1647943183407.png" style="width: 686px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174473i4669CB7B5E1C2EF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="crist_xu_2-1647943183407.png" alt="crist_xu_2-1647943183407.png" /&gt;&lt;/span&gt;&lt;BR /&gt;3. change the reset-type to Reset &amp;amp; Halt&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1648000768711.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174474i8BC44B7FD7A065D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1648000768711.png" alt="jeremyzhou_0-1648000768711.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We can debug our code then.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 01:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432274#M188482</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-03-23T01:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432595#M188518</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I didn't receive any attachments from you.&amp;nbsp; I hope you were referring to making changes to the original attachment I sent to you of my Ozone project.&amp;nbsp; I tried your suggested changes and I am still getting the hard fault.&amp;nbsp; My setup is as follows.&lt;/P&gt;&lt;P&gt;Ozone version V3.23 (Beta) 2021-06-14.&amp;nbsp; This was the latest version at the time I installed it. I will get the same as your version and try it.&lt;/P&gt;&lt;P&gt;J-Link version 10.1.&amp;nbsp; This is the version that came with the J_Link adapter and I don't know if it can be changed.&lt;/P&gt;&lt;P&gt;The code jumps to the function&amp;nbsp;static void BusFault(uint32_t stack[]) in application_util.c and stays in the for(;;) loop indefinitely.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432595#M188518</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-23T12:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432612#M188520</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I have upgraded J-Link&amp;nbsp; to v7.60b and Ozone to v3.26c.&amp;nbsp; Ozone does not give you the option to pick it's download version as J-Link does.&amp;nbsp; I tried these with your suggested project file changes and I still get the hard fault but with more details than in the previous version.&amp;nbsp; I have enclosed the error log details as well as the new project file.&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The target stopped in HardFault exception state.&lt;/P&gt;&lt;P&gt;Reason: A fault with configurable priority has been escalated to a HardFault exception at 0x0000CADA.&lt;/P&gt;&lt;P&gt;For more information about analyzing faults on Cortex-M, refer to:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.segger.com/Cortex-M_Fault" target="_blank"&gt;https://wiki.segger.com/Cortex-M_Fault&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432612#M188520</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-23T13:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: build_debug.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432660#M188523</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I am building the debug version using build_debug.sh.&amp;nbsp; &amp;nbsp;I I make the changes you have suggested and I build release it does not hard fault and I am able to set breakpoints in the disassemble window of Ozone.&amp;nbsp; This is okay but ideally I will like to debug the c source code with the build_debug.sh.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ulises&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/build-debug-sh/m-p/1432660#M188523</guid>
      <dc:creator>usala</dc:creator>
      <dc:date>2022-03-23T14:31:05Z</dc:date>
    </item>
  </channel>
</rss>

