<?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>Wireless MCUのトピック回复： QN9090DK6 Blinky fails on devkit</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754162#M15871</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There is no misunderstanding, I selected IAR for SDK, set clock to 32Mhz, generated a blinky from it.&lt;/P&gt;&lt;P&gt;I see the IAR files in it,&lt;/P&gt;&lt;P class=""&gt;IAR doesn't seem to find the main function unless I step it in assembly.&lt;/P&gt;&lt;P class=""&gt;Even if I program it and let it go it &lt;STRONG&gt;does not blink the LED&lt;/STRONG&gt; on board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recorded the entire process: &lt;A href="https://youtu.be/t9puSxciXv8" target="_blank" rel="noopener"&gt;https://youtu.be/t9puSxciXv8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm attaching the generated project, could you try to run this? Do you see the LED blinking?&lt;/P&gt;&lt;P&gt;Still no LED when I don't select 32Mhz clock and use default config.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW post action fails because I don't have arm-none-eabi-objcopy installed, only IAR, but post action is not essential.&lt;/P&gt;&lt;P class=""&gt;If I turn optimalization from Low to None then it finds main().&lt;BR /&gt;But still gets stuck at&lt;BR /&gt;BOARD_BootClockRUN()::CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);&lt;/P&gt;&lt;P class=""&gt;so still no blinking.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I think there is a problem with startup code or HAL maybe.&lt;/P&gt;&lt;P class=""&gt;At least please attach your working blinky example so I can try on devboard with IAR.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 17:17:50 GMT</pubDate>
    <dc:creator>arpad_toth</dc:creator>
    <dc:date>2023-11-08T17:17:50Z</dc:date>
    <item>
      <title>QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1751248#M15852</link>
      <description>&lt;P&gt;Generating blinky via&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MCUX_SDK_2_6_12&lt;/LI&gt;&lt;LI&gt;MCUX_CFG_v14&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Errors out of the box:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;led_blinky.out
.postbuild
FAILED: C:/sandboxes/nxpexample/beacon9090_sdk265_blinky3/led_blinky/debug/.postbuild
cmd /C cd C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky &amp;amp;&amp;amp; C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky/dk6_iarpostbuild.bat C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out 294912 &amp;amp;&amp;amp; echo &amp;gt; "C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug/.postbuild"
C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky&amp;gt;set script_path=C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky/dk6_iarpostbuild.bat
C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky&amp;gt;set file=C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out
C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky&amp;gt;set stated_size=294912
C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky&amp;gt;set app_id=
C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky&amp;gt;set python_script=C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky/dk6_image_tool.py
C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky&amp;gt;if "294912" == "" (py -3 C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky/dk6_image_tool.py C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out ) else (if "" == "" (py -3 C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky/dk6_image_tool.py -s 294912 C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out ) else (py -3 C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky/dk6_image_tool.py -s 294912 -i C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out ) )
Unable to create process using 'C:\Python312\python.exe C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky/dk6_image_tool.py -s 294912 C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out': The system cannot find the file specified.
C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky&amp;gt;arm-none-eabi-objcopy -O binary C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out C:\sandboxes\nxpexample\beacon9090_sdk265_blinky3\led_blinky\debug\led_blinky.out.bin
'arm-none-eabi-objcopy' is not recognized as an internal or external command,
operable program or batch file.
Total number of errors: 1
Total number of warnings: 0
Resolving dependencies...
Build failed&lt;/LI-CODE&gt;&lt;P class=""&gt;After removing post Build action it compiles.&lt;/P&gt;&lt;P class=""&gt;But doesn't get to main in&lt;STRONG&gt; IAR 9.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;It's just wonders around in:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_0-1698936091406.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248178i76C4AF88E761A2EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_0-1698936091406.png" alt="arpad_toth_0-1698936091406.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_0-1698936091406.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why is that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;In I&lt;STRONG&gt;AR 8.2:&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Linking
Performing Post-Build Action
Error while running C:\sandboxes\nxpexample\beacon9090_sdk265_blinky4\led_blinky4/dk6_iarpostbuild.bat C:\sandboxes\nxpexample\beacon9090_sdk265_blinky4\led_blinky4\debug\led_blinky4.out 294912 &lt;/LI-CODE&gt;&lt;P class=""&gt;After removing post build it compiles.&lt;/P&gt;&lt;P class=""&gt;It finally gets to &lt;STRONG&gt;main&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;but debugging dies in &lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BOARD_BootClockRUN();

     -&amp;gt; CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);&lt;/LI-CODE&gt;&lt;P class=""&gt;If I step on Disassembly view then it gets over it.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I have 32Mhz selected in GUI&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_1-1698936314681.png" style="width: 570px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248181iE7A30EAFFAA7DD7C/image-dimensions/570x166?v=v2" width="570" height="166" role="button" title="arpad_toth_1-1698936314681.png" alt="arpad_toth_1-1698936314681.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_1-1698936314681.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;Same issue with two devkits. And this is only a blinky.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_3-1698937924477.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248187i292983ECF3E6435F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_3-1698937924477.png" alt="arpad_toth_3-1698937924477.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_3-1698937924477.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Jlink Plus debugger, never had problems with it on STM32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attaching the project, please fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 15:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1751248#M15852</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2023-11-02T15:13:12Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1752509#M15865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72667"&gt;@arpad_toth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Hope you are doing well!&lt;/P&gt;
&lt;P&gt;MCUXpresso SDK Builder provided a IAR toolchain option for QN9090DK6. Would you please have a try with it?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gavin_Jia_0-1699250420703.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248535iD72DAA17E5A64E96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gavin_Jia_0-1699250420703.png" alt="Gavin_Jia_0-1699250420703.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Gavin_Jia_0-1699250420703.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Gavin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 06:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1752509#M15865</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2023-11-06T06:00:31Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1752731#M15866</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I always have IAR version selected,&lt;/P&gt;&lt;P class=""&gt;I tried the latest version&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_0-1699264362253.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248605i5448FE4DBC116C68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_0-1699264362253.png" alt="arpad_toth_0-1699264362253.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_0-1699264362253.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;and generated a blinky again from it, ran it on IAR 8.32.1, &lt;STRONG&gt;and it doesn't even stop at main( )&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I just wonders around at:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_1-1699264442571.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248606iAEAA87F0081214AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_1-1699264442571.png" alt="arpad_toth_1-1699264442571.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_1-1699264442571.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the previous example I attached&amp;nbsp; work for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 09:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1752731#M15866</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2023-11-06T09:55:24Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1753849#M15869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72667"&gt;@arpad_toth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the information.&lt;/P&gt;
&lt;P&gt;We believe that there is a misunderstanding on the SDK and Config Tool.&lt;/P&gt;
&lt;P&gt;On the web MCUXpress SDK Builder, we can find some boards' SDKs support different IDE Tool Chains, such as MCUXpresso IDE, IAR, and Keil.&lt;/P&gt;
&lt;P&gt;If it meet our requirements, we can just build and download the corresponding one. Then we can use it directly in IDE with out Config Tool converting. But if you want to use IAR while the SDK Builder only provided MCUXpresso IDE version, and&amp;nbsp;in this scenario, we can then use the Config Tool to make the conversion. (SDK MCUXpresso to SDK IAR)&lt;/P&gt;
&lt;P&gt;For your use case, there is no need to use the config tool again for conversion.&lt;/P&gt;
&lt;P&gt;I tried on my side with the&amp;nbsp; IAR Version SDK directly, it works well. And also, I downloaded a MCUXpresso Version SDK and converted with Config Tool to IAR Version SDK, it is ok.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I attached my screen here for your reference:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iar_build_succeeded.png" style="width: 459px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248900iF227BD089ED5BC63/image-size/large?v=v2&amp;amp;px=999" role="button" title="iar_build_succeeded.png" alt="iar_build_succeeded.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;iar_build_succeeded.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iar_message.png" style="width: 632px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248901iFA80E903E8A6109E/image-size/large?v=v2&amp;amp;px=999" role="button" title="iar_message.png" alt="iar_message.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;iar_message.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Gavin&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 03:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1753849#M15869</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2023-11-08T03:47:34Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754162#M15871</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There is no misunderstanding, I selected IAR for SDK, set clock to 32Mhz, generated a blinky from it.&lt;/P&gt;&lt;P&gt;I see the IAR files in it,&lt;/P&gt;&lt;P class=""&gt;IAR doesn't seem to find the main function unless I step it in assembly.&lt;/P&gt;&lt;P class=""&gt;Even if I program it and let it go it &lt;STRONG&gt;does not blink the LED&lt;/STRONG&gt; on board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recorded the entire process: &lt;A href="https://youtu.be/t9puSxciXv8" target="_blank" rel="noopener"&gt;https://youtu.be/t9puSxciXv8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm attaching the generated project, could you try to run this? Do you see the LED blinking?&lt;/P&gt;&lt;P&gt;Still no LED when I don't select 32Mhz clock and use default config.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW post action fails because I don't have arm-none-eabi-objcopy installed, only IAR, but post action is not essential.&lt;/P&gt;&lt;P class=""&gt;If I turn optimalization from Low to None then it finds main().&lt;BR /&gt;But still gets stuck at&lt;BR /&gt;BOARD_BootClockRUN()::CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);&lt;/P&gt;&lt;P class=""&gt;so still no blinking.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I think there is a problem with startup code or HAL maybe.&lt;/P&gt;&lt;P class=""&gt;At least please attach your working blinky example so I can try on devboard with IAR.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 17:17:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754162#M15871</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2023-11-08T17:17:50Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754885#M15877</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72667"&gt;@arpad_toth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Hope you are doing well!&lt;/P&gt;
&lt;P&gt;I followed your video but it still works well. I attached my IAR project file here (after modifying the clock with Config Tools). My IAR version is 9.32.1.&lt;/P&gt;
&lt;P&gt;In your side,&amp;nbsp; it can't execute make successfully without any modification? By any chance would you please try to select all components while building the SDK?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Really sorry as judging from the steps in the video it should be ok but not...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gavin&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 10:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754885#M15877</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2023-11-09T10:12:04Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754923#M15879</link>
      <description>&lt;P class=""&gt;Interesting&lt;/P&gt;&lt;P class=""&gt;Your project in IAR 9.40.2&lt;/P&gt;&lt;P class=""&gt;Fails the same way with Jlink, it wonders around instead of break on main()&lt;/P&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_1-1699526049759.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249212iFF78940F2B2C019E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_1-1699526049759.png" alt="arpad_toth_1-1699526049759.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_1-1699526049759.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;BUT it stops correctly at main with CMSIS DAP!&lt;/P&gt;&lt;P class=""&gt;Although it still has verification error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_2-1699527952103.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249215iFA3D77248A337142/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_2-1699527952103.png" alt="arpad_toth_2-1699527952103.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_2-1699527952103.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;AND only stops at 2nd attempt of running after programming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (first time it seems to wonder in RAM, not in flash!)&lt;/P&gt;&lt;P&gt;And after that I let it go and see blinking!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very weird, please see the video&lt;/P&gt;&lt;P class=""&gt;&lt;A href="https://youtu.be/iOjWRgYwe8E" target="_blank" rel="noopener"&gt;https://youtu.be/iOjWRgYwe8E&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;My Blinky fails with both JLINK, and CMSIS DAP debugger.&lt;/P&gt;&lt;P class=""&gt;But all files are the same! (so SDK is the same)&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Side note, Post build still fails in yours:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_0-1699525807419.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249209i16A2BB9B988BD6BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_0-1699525807419.png" alt="arpad_toth_0-1699525807419.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_0-1699525807419.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;I do have python in PATH.&lt;/P&gt;&lt;P class=""&gt;But IAR can generate .bin/.hex outputs, so no post build is needed, especially for blinky.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;So questions&lt;/P&gt;&lt;P class=""&gt;why it fails with JLINK on mine? (I have jlink v7.92 latest, no problem with QN9080/STM32s)&lt;/P&gt;&lt;P class=""&gt;are you using JLINK?&lt;/P&gt;&lt;P class=""&gt;why the verification error with CMSIS DAP?&lt;/P&gt;&lt;P class=""&gt;Why it only works for the second time?&lt;/P&gt;&lt;P class=""&gt;Could you do the same process on a fresh PC?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;with IAR 8.x if possible&lt;/P&gt;&lt;P class=""&gt;with these settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_3-1699528844207.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249217i80AE95B794778597/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_3-1699528844207.png" alt="arpad_toth_3-1699528844207.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_3-1699528844207.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpad_toth_4-1699528851867.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249218i5C91A00229E95C83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpad_toth_4-1699528851867.png" alt="arpad_toth_4-1699528851867.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;arpad_toth_4-1699528851867.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you shouldn't get a verification error,&lt;/P&gt;&lt;P&gt;it should stop at main on first attempt,&lt;/P&gt;&lt;P&gt;and it should blink after you let it go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was far easier with QN9080 to get started.&lt;/P&gt;&lt;P&gt;If we could solve this in 1week that would be great, we are behind schedule.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;UPDATE:&lt;/P&gt;&lt;P class=""&gt;setting this to zero turned my blinky into your blinky, thus fails the same way&lt;/P&gt;&lt;P class=""&gt;&amp;lt;name&amp;gt;TrustZoneModes&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;state&amp;gt;0&amp;lt;/state&amp;gt;&lt;/P&gt;&lt;P class=""&gt;In led_blinkyv8.ewp&lt;/P&gt;&lt;P class=""&gt;Please update your SDK templates with this.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 11:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754923#M15879</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2023-11-09T11:35:38Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754976#M15880</link>
      <description>&lt;P class=""&gt;I think it has to do with post build step,&lt;/P&gt;&lt;P class=""&gt;it patches the elf file to make it work with IAR, and might do something with TrustZone&lt;/P&gt;&lt;P class=""&gt;it requires python2.7 and arm gcc, which I won't install .&lt;/P&gt;&lt;P class=""&gt;QN9080 worked without post build action together with JLINK.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Could you get it working with IAR without post build step?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 13:09:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1754976#M15880</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2023-11-09T13:09:15Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1755281#M15885</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72667"&gt;@arpad_toth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can have a look at&amp;nbsp;dk6_iarpostbuild.bat.&lt;/P&gt;
&lt;P&gt;This bat file will call python script and&amp;nbsp;&lt;SPAN&gt;arm-none-eabi-objcopy. The build process is not complete without them. A complete tool chain is necessary, at least for QN9090.&amp;nbsp;Even if change to using MCUXpresso IDE, these two tools are still a must.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Gavin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 02:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1755281#M15885</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2023-11-10T02:41:05Z</dc:date>
    </item>
    <item>
      <title>回复： QN9090DK6 Blinky fails on devkit</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1755576#M15888</link>
      <description>Understood, although this is a disadvantage compared to other products/brands.&lt;BR /&gt;&lt;BR /&gt;Please try to avoid extra steps in new products, or sort it out with IAR.&lt;BR /&gt;&lt;BR /&gt;Thank you for the support!</description>
      <pubDate>Fri, 10 Nov 2023 10:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9090DK6-Blinky-fails-on-devkit/m-p/1755576#M15888</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2023-11-10T10:54:24Z</dc:date>
    </item>
  </channel>
</rss>

