<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102608/hello_world-and-other-samples-do-not-build-properly-for-thingy53_nrf5340_cpuapp_ns</link><description>I cannot build the hello_world sample (and blinky for that matter). Target I have tested here is thingy53_NRF5340_cpuapp_ns. Everything is installed according to the recommendations using the nRF connect for desktop. The version of sdk is v.2.4.1 
 In</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Feb 2024 10:00:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102608/hello_world-and-other-samples-do-not-build-properly-for-thingy53_nrf5340_cpuapp_ns" /><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/470201?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 10:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e22d1b4-8a2e-4ddd-bf71-d7f528e7fbba</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Your issue looks a bit different.&lt;/p&gt;
&lt;p&gt;Since my colleague is working on your issue, I recommend you follow the discussion there.&lt;/p&gt;
&lt;p&gt;Follow the devzone thread:&lt;a href="https://devzone.nordicsemi.com/support-private/support/322519"&gt;https://devzone.nordicsemi.com/support-private/support/322519&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/470101?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2024 18:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63dc7f66-b0fe-4fd9-9bc6-dfcdb2521864</guid><dc:creator>nickdr</dc:creator><description>&lt;p&gt;I am having the same issue.&amp;nbsp; Tried both blinky LED and hello world examples and I never get to the break point set on the first line in the main function.&amp;nbsp; I am using a NORA-B126 (nrf5340) module. Here is a screenshot of where it stops.&amp;nbsp; I have &amp;quot;Optimize for debugging (-Og) set as the optimization level. I am building an Non Secure app. Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8547.nrf5340.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/443520?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 09:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a74eef0-0cd3-47de-989b-c6845ed2f15a</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="Trento"]Does it mean that my Thingy53s are damaged now?[/quote]
&lt;p&gt;I don&amp;#39;t think this will break your device. Try to program your device with a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/thingy53_gs.html#id18"&gt;precompiled file that comes with thingy_firmware&lt;/a&gt;. See the sections on&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/thingy53_gs.html#id19"&gt; updating through BLE&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/thingy53_gs.html#id20"&gt;updating through USB&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/443414?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 14:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:842a4945-d656-477c-ba2f-119761d05417</guid><dc:creator>Trento</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Abhijith,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks for your reply. Unfortunately, I did not pay attention to that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does it mean that my Thingy53s are damaged now?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/443346?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 11:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe4659f6-59f1-4b97-8bbc-68fe4f5b0687</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="Trento"]As external debuggers, I used nRF52840DK and nRF52833DK. Is there any way for a factory reset?[/quote]
&lt;p&gt;For thingy53, you need to use an external debugger that supports Arm cortex-M33; &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/thingy53_gs.html#:~:text=The%20external%20debug%20probe%20must%20support%20Arm%20Cortex%2DM33%2C%20such%20as%20the%20nRF5340%20DK.%20You%20need%20a%2010%2Dpin%202x5%20socket%2Dsocket%201.27%20mm%20IDC%20(Serial%20Wire%20Debug%20(SWD))%20JTAG%20cable%20to%20connect%20to%20the%20external%20debug%20probe."&gt;see here&lt;/a&gt;. You can use nRF5340dk, but the DKs you mentioned cannot be used as an external debugger for thingy53.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/443250?ContentTypeID=1</link><pubDate>Sun, 27 Aug 2023 10:00:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1febd035-0a95-46ac-87c9-b0d5198d1e16</guid><dc:creator>Trento</dc:creator><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I am encountering the same error when trying to debug all my three Thingy53. They worked off-the-shelf and I managed to flash the blinky example a couple of times into all of them but then suddenly they stopped working properly. Now, even the blinky example does not work. The flashing process completes (via external debugger and USB) but has no effect. When I try to debug, it gives me the issue with fih_panic_loop. I am using Visual Studio Code on Windows 10, but I also tried Ubuntu, and the problem is the same. As external debuggers, I used nRF52840DK and nRF52833DK. Is there any way for a factory reset?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/441610?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 12:32:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81030d6c-e7e1-47b2-9b80-2ae17eaec984</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;Thanks, good to know.&lt;/p&gt;
&lt;p&gt;I would think it is important that hello_world demos work without any hick-ups. For my part I have found a workaround.&lt;/p&gt;
&lt;p&gt;br henning&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/441602?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 12:23:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b03cc7bb-7ab3-4a8f-b4fa-a22fd7079e36</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Yes, I tried this here and was able to produce the same error you are getting.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692188562627v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It looks a bit strange to me. I think it is because the bootloader is crashing while setting the breakpoint. But I am not sure of the root cause. So I will discuss this with my colleague and try to ask this internally.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/441041?ContentTypeID=1</link><pubDate>Sat, 12 Aug 2023 16:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:455a4332-3e6d-4bc1-836f-1426799a2a60</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;I created the target with the debug option on and off and the problem does not differ in those two targets. When debugging - it does not run, but loops into the fih_panic loop and apparently never goes though main.&lt;/p&gt;
&lt;p&gt;Can you please just try the same on your side and tell me if the application runs or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/440943?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 11:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab55c5e5-9c36-4575-ba41-fc2811f1dbdf</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the long response time. I was sick for a few days.&lt;/p&gt;
&lt;p&gt;Are you enabling the enable debug option in the build configuration? See a &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80904/debug-cannot-go-to-the-breakpoint-for-the-hello-world-sample-app"&gt;similar old thread&lt;/a&gt;. Kindly go through the debug optimisation section provided in the thread.&lt;/p&gt;
&lt;p&gt;Can you please check this and update me? If it&amp;#39;s still breaking, I will try it here.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/440554?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 15:20:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cbc0c33-b495-46b8-bf44-7b44706545db</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;I really would appreciate to know at least this:&lt;/p&gt;
&lt;p&gt;Does the hello_world demo application built for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Thingy53_NRF5340_cpuapp_ns&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;as target run and debug out of the box?&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t get it to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/440367?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 20:00:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:198f637e-2480-41bb-b8b2-3f066ef8d022</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have still not been able to launch a succesful debug session with the &lt;strong&gt;Thingy53_NRF5340_cpuapp_ns&lt;/strong&gt; as target for app&amp;nbsp;&lt;strong&gt;hello_world&lt;/strong&gt;. &lt;strong&gt;It builds but it fails to debug or run!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You wrote that it builds for you &lt;em&gt;&lt;strong&gt;but can you also debug the code - set a breakpoint in main and it stops execution there?&lt;/strong&gt;&lt;/em&gt; This does not work here. Here it enters the panic loop.&lt;/p&gt;
&lt;p&gt;What _does work_ is build &lt;strong&gt;hello_world&lt;/strong&gt; with target set to &lt;strong&gt;nrf5340dk_nrf5340_cpuapp_ns.&lt;/strong&gt; But using the thingy53 board as actual target - = the same board as the failing case.&lt;/p&gt;
&lt;p&gt;This means that the hardware is working and at least some part of the procedure I take is right.&lt;/p&gt;
&lt;p&gt;Below are images of the VS code window when&amp;nbsp;nrf5340dk_nrf5340_cpuapp_ns is the target followed by&amp;nbsp;&lt;span&gt;the similar window when switched to the other target&amp;nbsp;&lt;/span&gt;Thingy53_NRF5340_cpuapp_ns. I.e. the hello_world application is set to have two targets but in this case same physical hardware.&lt;/p&gt;
&lt;p&gt;I notice one peculiar thing - the layout of the build_XX folder display (see below images) is different in the two different target builds - is this to expect?&lt;/p&gt;
&lt;p&gt;Why is is different and what causes this?&lt;/p&gt;
&lt;p&gt;Do you see the same difference? At least the debugging works different here.&lt;/p&gt;
&lt;p&gt;Any idea why the hello_world/Thingy53_NRF5340_cpuapp_ns&lt;span&gt;&amp;nbsp; does not run here?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;henning&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Summary:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;a) hello_world with build target=&lt;strong&gt;Thingy53_NRF5340_cpuapp_ns&lt;/strong&gt;&amp;nbsp;&amp;nbsp;on Thingy53 HW --- Does build but&amp;nbsp;&lt;strong&gt;not&lt;/strong&gt; debug/run&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;b)&amp;nbsp;hello_world with build target=&lt;strong&gt;nrf5340dk_nrf5340_cpuapp_ns&amp;nbsp;&lt;/strong&gt;on Thingy53 HW --- Does build and run.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;VS code window when&amp;nbsp;nrf5340dk_nrf5340_cpuapp_ns is the target:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:945px;max-width:520px;" height="945" src="https://devzone.nordicsemi.com/resized-image/__size/1040x1890/__key/communityserver-discussions-components-files/4/pastedimage1691523716300v1.png" width="520" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And here is the similar window when switched to the other target&amp;nbsp;&lt;strong&gt;Thingy53_NRF5340_cpuapp_ns&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:913px;max-width:510px;" height="913" src="https://devzone.nordicsemi.com/resized-image/__size/1020x1826/__key/communityserver-discussions-components-files/4/pastedimage1691523918742v3.png" width="510" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/440173?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 15:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09555253-c90f-4111-81f0-4e6dc6e800a2</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Ok now I have from inside the nRF connect for desktop v4.1.2/ toolchain manager (TCM) v1.2.5 removed sdk 2.4.0, v2.4.1.&lt;/p&gt;
&lt;p&gt;Reinstalled from inside TCM sdk 2.4.0.&lt;/p&gt;
&lt;p&gt;Checked the voltage on the board (VOUTB=3.0V)&lt;/p&gt;
&lt;p&gt;Inside VS Code Build a hello_world app with target thingy53_nrf5340_cpuapp_ns with debug enabled.&lt;/p&gt;
&lt;p&gt;Added a breakpoint in the main.c code.&lt;/p&gt;
&lt;p&gt;Started debug: It downloads and verifies apparently correct.&lt;/p&gt;
&lt;p&gt;Then same as before never enters the main code but loops in fih_panic_loop()&lt;/p&gt;
&lt;p&gt;with this call stack and DEBUG CONSOLE listed below.&lt;/p&gt;
&lt;p&gt;I really hope you have an idea what can be wrong.&lt;/p&gt;
&lt;p&gt;In theory it can be a broken board and I can get hold of another. But I am not optimistic on that.&lt;/p&gt;
&lt;p&gt;Br henning&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:105px;max-width:672px;" height="105" src="https://devzone.nordicsemi.com/resized-image/__size/1344x210/__key/communityserver-discussions-components-files/4/pastedimage1691419378026v1.png" width="672" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And this DEBUG CONSOLE:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;JLinkGDBServerCL: SEGGER J-Link GDB Server V7.90 Command Line Version&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;JLinkGDBServerCL: JLinkARM.dll V7.90 (DLL compiled Aug 2 2023 15:24:12)&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;JLinkGDBServerCL: -----GDB Server start settings-----&lt;br /&gt;JLinkGDBServerCL: GDBInit file: none&lt;br /&gt;JLinkGDBServerCL: GDB Server Listening port: 63307&lt;br /&gt;JLinkGDBServerCL: SWO raw output listening port: 2332&lt;br /&gt;JLinkGDBServerCL: Terminal I/O port: 2333&lt;br /&gt;JLinkGDBServerCL: Accept remote connection: localhost only&lt;br /&gt;JLinkGDBServerCL: Generate logfile: off&lt;br /&gt;JLinkGDBServerCL: Verify download: off&lt;br /&gt;JLinkGDBServerCL: Init regs on start: off&lt;br /&gt;JLinkGDBServerCL: Silent mode: on&lt;br /&gt;JLinkGDBServerCL: Single run mode: on&lt;br /&gt;JLinkGDBServerCL: Target connection timeout: 0 ms&lt;br /&gt;JLinkGDBServerCL: ------J-Link related settings------&lt;br /&gt;JLinkGDBServerCL: J-Link Host interface: USB&lt;br /&gt;JLinkGDBServerCL: J-Link script: none&lt;br /&gt;JLinkGDBServerCL: J-Link settings file: none&lt;br /&gt;JLinkGDBServerCL: ------Target related settings------&lt;br /&gt;JLinkGDBServerCL: Target device: nRF5340_xxAA_APP&lt;br /&gt;JLinkGDBServerCL: Target device parameters: none&lt;br /&gt;JLinkGDBServerCL: Target interface: SWD&lt;br /&gt;JLinkGDBServerCL: Target interface speed: 12000kHz&lt;br /&gt;JLinkGDBServerCL: Target endian: little&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;=thread-group-added,id=&amp;quot;i1&amp;quot;&lt;br /&gt;=cmd-param-changed,param=&amp;quot;pagination&amp;quot;,value=&amp;quot;off&amp;quot;&lt;br /&gt;fih_panic_loop () at C:/ncs/v2.4.0/bootloader/mcuboot/boot/bootutil/src/fault_injection_hardening.c:68&lt;br /&gt;68 __asm volatile (&amp;quot;b fih_panic_loop&amp;quot;);&lt;br /&gt;[New Remote target]&lt;/p&gt;
&lt;p&gt;Thread 2 received signal SIGTRAP, Trace/breakpoint trap.&lt;br /&gt;fih_panic_loop () at C:/ncs/v2.4.0/bootloader/mcuboot/boot/bootutil/src/fault_injection_hardening.c:68&lt;br /&gt;68 __asm volatile (&amp;quot;b fih_panic_loop&amp;quot;);&lt;br /&gt;Execute debugger commands using &amp;quot;-exec &amp;lt;command&amp;gt;&amp;quot;, for example &amp;quot;-exec info registers&amp;quot; will list registers in use (when GDB is the debugger)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/440102?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 12:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea9be2c2-e4cc-45b9-b934-d2b462b6829a</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for your answer.&lt;/p&gt;
&lt;p&gt;I installed sdk according to the recommendations using the tool for that. And I have tried two different pc&amp;#39;s with same result.&lt;/p&gt;
&lt;p&gt;I have built as you suggest using bash terminal and it builds but with a number of warnings. Actually it also builds in VS code. But does not execute. (note 1#)&lt;/p&gt;
&lt;p&gt;I realize that the messages I describe above are warnings, despite they appear quite substantial like&lt;/p&gt;
&lt;p&gt;&amp;quot;No SOURCES given to Zephyr library: lib__libc__common&amp;quot;&lt;/p&gt;
&lt;p&gt;I also note that the &amp;quot;PROBLEMS&amp;quot; listing holds different warnings compared to the bash build - or do I have to open a logfile to see those when using west directly?&lt;/p&gt;
&lt;p&gt;Anyway, this warning issue may be an insignificant thing, but when I debug in VS code it never enters the main program but gets stuck inside the fih_panic_loop inside the file &amp;quot;fault_injection_hardening.c&amp;quot;&lt;/p&gt;
&lt;p&gt;I have built in VS code using debug enabled. So should that not just allow me to put a breakpoint in the main.c code and halt on that? It does not work.&lt;/p&gt;
&lt;p&gt;You say that you tested the code with v2.4.0 so I am curious do you also get a similar list of warnings and does the debugging work?&lt;/p&gt;
&lt;p&gt;thanks for your support. It is really a struggle to get this off the ground.&lt;/p&gt;
&lt;p&gt;Br henning&lt;/p&gt;
&lt;p&gt;Note 2#&lt;/p&gt;
&lt;p&gt;inside VS code, inside &lt;span&gt;&amp;quot;fault_injection_hardening.c&amp;quot; (which opens when pausing the debug session) the line&lt;br /&gt;&lt;/span&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;bootutil/fault_injection_hardening.h&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;has:&amp;nbsp;#include errors detected based on information provided by the configuration Provider setting. Squiggles are disabled for this translation unit.&amp;nbsp;cannot open source file &amp;quot;bootutil/fault_injection_hardening.h&amp;quot;&lt;span class="details"&gt;&lt;span class="source"&gt;C/C++&lt;/span&gt;&lt;span class="code"&gt;(1696)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span class="details"&gt;&lt;span class="code"&gt;should that be a concern? Certainly looks like missing paths.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;(Note 1#) My reasoning: The debug did not produce running code, as described, so I assumed the warnings&amp;nbsp; which only manifest as&amp;nbsp;errors at runtime and the reason for the broken debug code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;------------------------------------ bash build console dump ----&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;he@D MINGW64 ~/Documents/nRF/hello_world_thing (master)&lt;br /&gt;$ west build -b thingy53_nrf5340_cpuapp_ns&lt;br /&gt;-- west build: generating a build system&lt;br /&gt;Loading Zephyr default modules (Zephyr base).&lt;br /&gt;-- Application: C:/Users/he/Documents/nRF/hello_world_thing&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Using NCS Toolchain 2.4.0 for building. (C:/ncs/toolchains/31f4403e35/cmake)&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.4.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.3.99 (C:/ncs/v2.4.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.0.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: thingy53_nrf5340_cpuapp_ns&lt;br /&gt;-- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.4.1/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_ns.dts&lt;br /&gt;-- Generated zephyr.dts: C:/Users/he/Documents/nRF/hello_world_thing/build/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_generated.h: C:/Users/he/Documents/nRF/hello_world_thing/build/zephyr/include/generated/devicetree_generated.h&lt;br /&gt;-- Including generated dts.cmake file: C:/Users/he/Documents/nRF/hello_world_thing/build/zephyr/dts.cmake&lt;br /&gt;Parsing C:/ncs/v2.4.1/zephyr/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/ncs/v2.4.1/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_ns_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/prj.conf&amp;#39;&lt;br /&gt;Configuration saved to &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/zephyr/.config&amp;#39;&lt;br /&gt;Kconfig header saved to &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/zephyr/include/generated/autoconf.h&amp;#39;&lt;br /&gt;-- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;)&lt;br /&gt;-- The C compiler identification is GNU 12.2.0&lt;br /&gt;-- The CXX compiler identification is GNU 12.2.0&lt;br /&gt;-- The ASM compiler identification is GNU&lt;br /&gt;-- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe&lt;/p&gt;
&lt;p&gt;=== child image empty_net_core - CPUNET begin ===&lt;br /&gt;loading initial cache file C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/child_image_preload.cmake&lt;br /&gt;Loading Zephyr default modules (Zephyr base (cached)).&lt;br /&gt;-- Application: C:/ncs/v2.4.1/nrf/samples/nrf5340/empty_net_core&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.4.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.3.99 (C:/ncs/v2.4.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.0.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: thingy53_nrf5340_cpunet&lt;br /&gt;-- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.4.1/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet.dts&lt;br /&gt;-- Generated zephyr.dts: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_generated.h: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/zephyr/include/generated/devicetree_generated.h&lt;br /&gt;-- Including generated dts.cmake file: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/zephyr/dts.cmake&lt;br /&gt;Parsing C:/ncs/v2.4.1/zephyr/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/zephyr/.config&amp;#39;&lt;br /&gt;No change to configuration in &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/zephyr/.config&amp;#39;&lt;br /&gt;No change to Kconfig header in &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/zephyr/include/generated/autoconf.h&amp;#39;&lt;/p&gt;
&lt;p&gt;=== child image b0n - CPUNET (inherited) begin ===&lt;br /&gt;loading initial cache file C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n/child_image_preload.cmake&lt;br /&gt;Loading Zephyr default modules (Zephyr base (cached)).&lt;br /&gt;-- Application: C:/ncs/v2.4.1/nrf/samples/nrf5340/netboot&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.4.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.3.99 (C:/ncs/v2.4.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.0.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: thingy53_nrf5340_cpunet&lt;br /&gt;-- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.4.1/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet.dts&lt;br /&gt;-- Generated zephyr.dts: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_generated.h: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n/zephyr/include/generated/devicetree_generated.h&lt;br /&gt;-- Including generated dts.cmake file: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n/zephyr/dts.cmake&lt;br /&gt;Parsing C:/ncs/v2.4.1/nrf/samples/nrf5340/netboot/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n/zephyr/.config&amp;#39;&lt;br /&gt;No change to configuration in &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n/zephyr/.config&amp;#39;&lt;br /&gt;No change to Kconfig header in &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n/zephyr/include/generated/autoconf.h&amp;#39;&lt;br /&gt;CMake Warning at C:/ncs/v2.4.1/zephyr/CMakeLists.txt:839 (message):&lt;br /&gt; No SOURCES given to Zephyr library: lib__libc__common&lt;/p&gt;
&lt;p&gt;Excluding target from build.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;CMake Warning at C:/ncs/v2.4.1/zephyr/CMakeLists.txt:1865 (message):&lt;br /&gt; __ASSERT() statements are globally ENABLED&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring done&lt;br /&gt;-- Generating done&lt;br /&gt;-- Build files have been written to: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core/b0n&lt;br /&gt;=== child image b0n - CPUNET (inherited) end ===&lt;/p&gt;
&lt;p&gt;CMake Warning at ../../../subsys/bootloader/cmake/debug_keys.cmake:36 (message):&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; --------------------------------------------------------------&lt;br /&gt; --- WARNING: Using generated NSIB public/private key-pair. ---&lt;br /&gt; --- It should not be used for production. ---&lt;br /&gt; --- See CONFIG_SB_SIGNING_KEY_FILE ---&lt;br /&gt; --------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; ../../../subsys/bootloader/cmake/provision_hex.cmake:37 (include)&lt;br /&gt; ../../../subsys/CMakeLists.txt:17 (include)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;CMake Warning at C:/ncs/v2.4.1/zephyr/CMakeLists.txt:839 (message):&lt;br /&gt; No SOURCES given to Zephyr library: lib__libc__common&lt;/p&gt;
&lt;p&gt;Excluding target from build.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring done&lt;br /&gt;-- Generating done&lt;br /&gt;-- Build files have been written to: C:/Users/he/Documents/nRF/hello_world_thing/build/empty_net_core&lt;br /&gt;=== child image empty_net_core - CPUNET end ===&lt;/p&gt;
&lt;p&gt;-- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version &amp;quot;3.8.2&amp;quot;) found components: Interpreter &lt;br /&gt;Changed board to secure thingy53_nrf5340_cpuapp (NOT NS)&lt;/p&gt;
&lt;p&gt;=== child image mcuboot - begin ===&lt;br /&gt;loading initial cache file C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot/child_image_preload.cmake&lt;br /&gt;Loading Zephyr default modules (Zephyr base (cached)).&lt;br /&gt;-- Application: C:/ncs/v2.4.1/bootloader/mcuboot/boot/zephyr&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.4.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.3.99 (C:/ncs/v2.4.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.0.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: thingy53_nrf5340_cpuapp&lt;br /&gt;-- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.4.1/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp.dts&lt;br /&gt;-- Found devicetree overlay: C:/ncs/v2.4.1/nrf/modules/mcuboot/flash_sim.overlay&lt;br /&gt;-- Generated zephyr.dts: C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_generated.h: C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot/zephyr/include/generated/devicetree_generated.h&lt;br /&gt;-- Including generated dts.cmake file: C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot/zephyr/dts.cmake&lt;br /&gt;Parsing C:/ncs/v2.4.1/bootloader/mcuboot/boot/zephyr/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot/zephyr/.config&amp;#39;&lt;br /&gt;No change to configuration in &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot/zephyr/.config&amp;#39;&lt;br /&gt;No change to Kconfig header in &amp;#39;C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot/zephyr/include/generated/autoconf.h&amp;#39;&lt;br /&gt;CMake Warning at C:/ncs/v2.4.1/zephyr/CMakeLists.txt:839 (message):&lt;br /&gt; No SOURCES given to Zephyr library: lib__libc__common&lt;/p&gt;
&lt;p&gt;Excluding target from build.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Found partition manager static configuration: C:/ncs/v2.4.1/zephyr/boards/arm/thingy53_nrf5340/pm_static_thingy53_nrf5340_cpuapp.yml&lt;br /&gt;MCUBoot bootloader key file: C:/ncs/v2.4.1/bootloader/mcuboot/root-rsa-2048.pem&lt;br /&gt;-- Configuring done&lt;br /&gt;-- Generating done&lt;br /&gt;-- Build files have been written to: C:/Users/he/Documents/nRF/hello_world_thing/build/mcuboot&lt;br /&gt;=== child image mcuboot - end ===&lt;/p&gt;
&lt;p&gt;CMake Warning at C:/ncs/v2.4.1/nrf/modules/mcuboot/CMakeLists.txt:310 (message):&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; ---------------------------------------------------------&lt;br /&gt; --- WARNING: Using default MCUBoot key, it should not ---&lt;br /&gt; --- be used for production. ---&lt;br /&gt; ---------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;CMake Warning at C:/ncs/v2.4.1/zephyr/CMakeLists.txt:839 (message):&lt;br /&gt; No SOURCES given to Zephyr library: lib__libc__common&lt;/p&gt;
&lt;p&gt;Excluding target from build.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Found partition manager static configuration: C:/ncs/v2.4.1/zephyr/boards/arm/thingy53_nrf5340/pm_static_thingy53_nrf5340_cpuapp_ns.yml&lt;br /&gt;Partition &amp;#39;mcuboot&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;mcuboot_pad&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;tfm_secure&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;tfm_nonsecure&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;tfm&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;mcuboot_primary&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;mcuboot_primary_app&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;nonsecure_storage&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;mcuboot_primary_1&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;mcuboot_secondary&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;mcuboot_secondary_1&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;Partition &amp;#39;pcd_sram&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;br /&gt;-- Configuring done&lt;br /&gt;-- Generating done&lt;br /&gt;-- Build files have been written to: C:/Users/he/Documents/nRF/hello_world_thing/build&lt;br /&gt;&amp;larr;[92m-- west build: building application&lt;br /&gt;[5/297] Generating include/generated/version.h&lt;br /&gt;-- Zephyr version: 3.3.99 (C:/ncs/v2.4.1/zephyr), build: v3.3.99-ncs1-1&lt;br /&gt;[10/297] Performing build step for &amp;#39;empty_net_core_subimage&amp;#39;&lt;br /&gt;[0/26] Performing build step for &amp;#39;b0n_subimage&amp;#39;&lt;br /&gt;[21/29] Linking C executable zephyr\zephyr_pre0.elf&lt;/p&gt;
&lt;p&gt;[24/29] Linking C executable zephyr\zephyr_pre1.elf&lt;/p&gt;
&lt;p&gt;[29/29] Linking C executable zephyr\zephyr.elf&lt;br /&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 21588 B 34176 B 63.17%&lt;br /&gt; RAM: 3416 B 64 KB 5.21%&lt;br /&gt; SRAM1: 0 GB 64 KB 0.00%&lt;br /&gt; IDT_LIST: 0 GB 2 KB 0.00%&lt;br /&gt;[10/26] Linking C executable zephyr\zephyr_pre0.elf&lt;/p&gt;
&lt;p&gt;[13/26] Linking C executable zephyr\zephyr_pre1.elf&lt;/p&gt;
&lt;p&gt;[18/26] Linking C executable zephyr\zephyr.elf&lt;br /&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 17682 B 222 KB 7.78%&lt;br /&gt; RAM: 4040 B 64 KB 6.16%&lt;br /&gt; SRAM1: 0 GB 64 KB 0.00%&lt;br /&gt; IDT_LIST: 0 GB 2 KB 0.00%&lt;br /&gt;[20/24] Creating signature of application&lt;br /&gt;[22/24] Creating validation for zephyr.hex, storing to&lt;br /&gt;[24/24] Generating zephyr/merged_CPUNET.hex&lt;br /&gt;[12/297] Generating ../../tfm/CMakeCache.txt&lt;br /&gt;-- Found Git: C:/ncs/toolchains/31f4403e35/mingw64/bin/git.exe (found version &amp;quot;2.37.3.windows.1&amp;quot;)&lt;br /&gt;-- The C compiler identification is GNU 12.2.0&lt;br /&gt;-- The ASM compiler identification is GNU&lt;br /&gt;-- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version &amp;quot;3.8.2&amp;quot;) found components: Interpreter&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.4.1/zephyr/.cache&lt;br /&gt;-- Configuring done&lt;br /&gt;-- Generating done&lt;br /&gt;-- Build files have been written to: C:/Users/he/Documents/nRF/hello_world_thing/build/tfm&lt;br /&gt;[22/297] Performing build step for &amp;#39;mcuboot_subimage&amp;#39;&lt;br /&gt;[28/36] Linking C executable zephyr\zephyr_pre0.elf&lt;/p&gt;
&lt;p&gt;[31/36] Linking C executable zephyr\zephyr_pre1.elf&lt;/p&gt;
&lt;p&gt;[36/36] Linking C executable zephyr\zephyr.elf&lt;br /&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 63908 B 64 KB 97.52%&lt;br /&gt; RAM: 364632 B 504 KB 70.65%&lt;br /&gt; IDT_LIST: 0 GB 2 KB 0.00%&lt;br /&gt;[25/297] Generating ../../zephyr/net_core_app_update.bin&lt;br /&gt;image.py: sign the payload&lt;br /&gt;[26/297] Generating ../../zephyr/net_core_app_signed.hex&lt;br /&gt;image.py: sign the payload&lt;br /&gt;[27/297] Generating ../../zephyr/net_core_app_test_update.hex&lt;br /&gt;image.py: sign the payload&lt;br /&gt;[29/297] Performing build step for &amp;#39;tfm&amp;#39;&lt;br /&gt;[159/159] Linking C static library secure_fw\libtfm_s_veneers.a&lt;br /&gt;[34/297] Performing install step for &amp;#39;tfm&amp;#39;&lt;br /&gt;-- Install configuration: &amp;quot;MinSizeRel&amp;quot;&lt;br /&gt;[277/297] Linking C executable zephyr\zephyr_pre0.elf&lt;/p&gt;
&lt;p&gt;[281/297] Linking C executable zephyr\zephyr_pre1.elf&lt;/p&gt;
&lt;p&gt;[287/297] Linking C executable zephyr\zephyr.elf&lt;br /&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 44840 B 848 KB 5.16%&lt;br /&gt; RAM: 14832 B 472 KB 3.07%&lt;br /&gt; IDT_LIST: 0 GB 2 KB 0.00%&lt;br /&gt;[291/297] Generating ../../zephyr/app_signed.hex&lt;br /&gt;image.py: sign the payload&lt;br /&gt;[292/297] Generating ../../zephyr/app_update.bin&lt;br /&gt;image.py: sign the payload&lt;br /&gt;[294/297] Generating ../../zephyr/app_test_update.hex&lt;br /&gt;image.py: sign the payload&lt;br /&gt;[297/297] Generating zephyr/merged_domains.hex&lt;/p&gt;
&lt;p&gt;he@D MINGW64 ~/Documents/nRF/hello_world_thing (master)&lt;br /&gt;$&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello_world and other samples do not build properly for thingy53_NRF5340_cpuapp_ns</title><link>https://devzone.nordicsemi.com/thread/440077?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 10:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ff1a837-54e2-4dcc-b999-65a3081f7b24</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you installed the SDK properly? Can you once try building from the command line using West? Please share the logs while building from the west. You can follow &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/programming.html#:~:text=build%20files.-,Building%20on%20the%20command%20line,-%EF%83%81"&gt;the steps mentioned here &lt;/a&gt;for building using West. Make sure your target board is&lt;span&gt;&amp;nbsp;thingy53_nrf5340_cpuapp_ns&lt;/span&gt; when building. I tested the hello_world sample inside NCSv2.4.0 for thingy53, and it&amp;#39;s working fine on my side.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>