<?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>Different Fail Points Building MCUBoot With Different Zephyr Sources</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80472/different-fail-points-building-mcuboot-with-different-zephyr-sources</link><description>I&amp;#39;ve got the zephyr sources for https://github.com/nrfconnect/sdk-zephyr.git and https://github.com/zephyrproject-rtos/zephyr (everything I get is master/main) 
 $ west init -l zephyr/ //zephyr-project version $ west --verbose update -o=--depth=1 -n </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Dec 2021 22:34:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80472/different-fail-points-building-mcuboot-with-different-zephyr-sources" /><item><title>RE: Different Fail Points Building MCUBoot With Different Zephyr Sources</title><link>https://devzone.nordicsemi.com/thread/345517?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 22:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a0e9273-2d1b-4cda-a7b7-f756406d0416</guid><dc:creator>MikeInAtlanta</dc:creator><description>&lt;p&gt;I had the identical error when trying to make MCUBOOT for the&amp;nbsp;&lt;span&gt;nrf52840 Dongle under Zephyr 2.7&lt;/span&gt;&amp;nbsp;and was able to fix the root problem.&amp;nbsp; I used the mcuboot disty that came with the Zephyr install (bootloader\mcuboot).&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After getting this error&lt;/p&gt;
&lt;pre&gt;&amp;nbsp; from /home/miked/proj/partworks/sw/zephyr/bootloader/mcuboot/boot/zephyr/serial_adapter.c:18:&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/bootloader/mcuboot/boot/zephyr/serial_adapter.c: In function &amp;#39;boot_uart_fifo_init&amp;#39;:&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/zephyr/include/sys/util.h:78:55: error: size of unnamed array is negative&lt;br /&gt; 78 | #define ZERO_OR_COMPILE_ERROR(cond) ((int) sizeof(char[1 - 2 * !(cond)]) - 1)&lt;br /&gt; | ^&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/zephyr/include/sys/util_internal.h:67:26: note: in definition of macro &amp;#39;__DEBRACKE&lt;br /&gt;&amp;#39;&lt;br /&gt; 67 | #define __DEBRACKET(...) __VA_ARGS__&lt;br /&gt; | ^~~~~~~~~~~&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/zephyr/include/sys/util_internal.h:59:2: note: in expansion of macro &amp;#39;__GET_ARG2_DEBRACKET&amp;#39;&lt;br /&gt; 59 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/zephyr/include/sys/util_internal.h:54:2: note: in expansion of macro &amp;#39;__COND_CODE&amp;#39;&lt;br /&gt; 54 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)&lt;br /&gt; | ^~~~~~~~~~~&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/zephyr/include/sys/util_macro.h:157:2: note: in expansion of macro &amp;#39;Z_COND_CODE_1&amp;#39;&lt;br /&gt; 157 | Z_COND_CODE_1(_flag, _if_1_code, _else_code)&lt;br /&gt; | ^~~~~~~~~~~~~&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/zephyr/include/device.h:368:2: note: in expansion of macro &amp;#39;COND_CODE_1&amp;#39;&lt;br /&gt; 368 | COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \&lt;br /&gt; | ^~~~~~~~~~~&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/zephyr/include/device.h:370:8: note: in expansion of macro &amp;#39;ZERO_OR_COMPILE_ERROR&amp;#39;&lt;br /&gt; 370 | (ZERO_OR_COMPILE_ERROR(0)))&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;/home/miked/proj/partworks/sw/zephyr/bootloader/mcuboot/boot/zephyr/serial_adapter.c:197:13: note: in expansion of macro &amp;#39;DEVICE_DT_GET_ONE&amp;#39;&lt;br /&gt; 197 | uart_dev = DEVICE_DT_GET_ONE(zephyr_cdc_acm_uart);&lt;br /&gt; | ^~~~~~~~~~~~~~~~~&lt;br /&gt;[118/285] Building C object zephyr/arch/arch/arm/core/aarc...CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj&lt;/pre&gt;
&lt;p&gt;I found a clue at&amp;nbsp;&lt;a href="https://github.com/mcu-tools/mcuboot/issues/1127" rel="noopener noreferrer" target="_blank"&gt;https://github.com/mcu-tools/mcuboot/issues/1127&lt;/a&gt;&amp;nbsp;that said that with Zephyr &amp;gt;= 2.7 they moved the&amp;nbsp;&lt;span&gt;cdc acm uart from the config files to devicetree.&amp;nbsp; So I added a &lt;code&gt;&lt;span style="font-weight:400;"&gt;nrf52840dongle_nrf52840&lt;/span&gt;.overlay&lt;/code&gt; file with the following (see &lt;a href="https://github.com/mcu-tools/mcuboot/blob/main/boot/zephyr/usb_cdc_acm.overlay"&gt;https://github.com/mcu-tools/mcuboot/blob/main/boot/zephyr/usb_cdc_acm.overlay&lt;/a&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;amp;zephyr_udc0 {&lt;br /&gt;&amp;nbsp; cdc_acm_uart0 {&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp; compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;&lt;br /&gt;&amp;nbsp; label = &amp;quot;CDC_ACM_0&amp;quot;;&lt;br /&gt;&amp;nbsp; };&lt;br /&gt;};&lt;/pre&gt;
&lt;p&gt;That allowed me to compile and use MCUBOOT on Zephyr with the &lt;span&gt;nrf52840 Dongle.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Different Fail Points Building MCUBoot With Different Zephyr Sources</title><link>https://devzone.nordicsemi.com/thread/333765?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 14:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4dcfc79-718c-4bef-8577-89fe4b132d22</guid><dc:creator>vindicator</dc:creator><description>&lt;p&gt;Welp, I ended up downloading the entire 2GB&amp;#39;s-worth of modules. That was disappointing that it was needed because from the warnings/errors, it couldn&amp;#39;t be determined what was missing.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking it&amp;#39;s TFM that I was missing since I do see that as one&amp;nbsp;module that is included.&lt;/p&gt;
&lt;p&gt;The build works now and I see&amp;nbsp;mcuboot is&amp;nbsp;expected to take up 90% of flash memory.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll still be trying to explore how to cut it all down (mcuboot size as well as modules that are actually used). I know about the doc regarding&amp;nbsp;decreasing the flash size.&lt;/p&gt;
&lt;p&gt;Yeah, I know about the 1.8V/3.0V warning. I&amp;#39;ve fried my old odroid some years ago because I switched the jumper incorrectly (inattention) for my usb uart.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m archiving(/compressing) the modules folder so I&amp;#39;ll have it if I still need any other missing modules in the future when I cut things down.&lt;/p&gt;
&lt;p&gt;I swear I just don&amp;#39;t get why west/cmake throws every module in the build folder (listed in zephyr_modules.txt and elsewhere) when I specifically state the BOARD for my dongle and the project that it is going to build.&lt;/p&gt;
&lt;p&gt;Even when I add &amp;#39;message(STATUS &amp;quot;${COMMON_KCONFIG_ENV_SETTINGS}&amp;quot;)&amp;#39; after it gets set in&amp;nbsp;zephyr/cmake/kconfig.cmake, all of those&amp;nbsp;*_MODULE_DIRs get added. I mean, I have no interest in cypress for example. I&amp;#39;m guessing everything is included in case someone needs something via menuconfig. But again, it makes no sense to have cypress/ti/st/atmel if I&amp;#39;m using nordic.&lt;/p&gt;
&lt;p&gt;EDIT0: OH! Okay, so apparently I was already fine with the modules. But when I changed from sdk-zephyr to mainline zephyr, the USB issue cropped up again. I&amp;#39;ll have to see what&amp;#39;s different there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Different Fail Points Building MCUBoot With Different Zephyr Sources</title><link>https://devzone.nordicsemi.com/thread/333739?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 12:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79e8573d-b05a-4387-8b0c-1036666e59e9</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="vindicator"]EDIT0: I should also say, I don&amp;#39;t know why you mentioned that link to &amp;quot;get a working toolchain&amp;quot; when my first test in my OP showed I was using the zephyr toolchain (arm-zephyr-eabi-gcc (crosstool-NG 1.24.0.378_e011758) 10.3.0). Or is that not valid?[/quote]
&lt;p&gt;You are free to use it, bu tit is not supported by Nordic semiconductor.&lt;/p&gt;
[quote user="vindicator"]Also what does &amp;quot;does not work well&amp;quot; regarding the bootloader supposed to mean? It looks like the dongle has a general bootloader that&amp;nbsp;is run by pressing the &amp;quot;reset&amp;quot; button. My understanding is that mcuboot would be flashed like a regular app and, once installed, becomes flashable for other apps to run on top of it.[/quote]
&lt;p&gt;I guess&amp;nbsp;everything is a regular app in some ways. It is certainly possible to use MCUBoot as a second&amp;nbsp;bootloader after the nRF5 SDK based USB bootloader on the dongle, but it causes a bit of problems and is not supported. I would&amp;nbsp;recommend&amp;nbsp;to avoid it.&lt;/p&gt;
[quote user="vindicator"]It also appears the dongle has 2 soldering pad areas for flash/debug. It&amp;#39;s on my mind that I&amp;#39;ll likely get a header and a cable to connect them to my SWD-capable ST Discovery device.[/quote]
&lt;p&gt;Note sure about the ST device, but any SWD debugger will let you program and debug it, yes. Note that you may have problems with the VDD voltage then, as described for instance in the last part of &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;this old tutorial&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Different Fail Points Building MCUBoot With Different Zephyr Sources</title><link>https://devzone.nordicsemi.com/thread/333689?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 09:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f5dfdd4-d646-4789-874d-19a913bdae64</guid><dc:creator>vindicator</dc:creator><description>&lt;p&gt;I&amp;#39;ll just put it out there that the way I&amp;#39;m doing it should also work, but something is off when I&amp;#39;m using &amp;quot;-DZEPHYR_MODULES&amp;quot;:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;$ /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python -B&amp;lt;pathTo&amp;gt;/build -S&amp;lt;pathTo&amp;gt;/zephyr/samples/net/mqtt_publisher -GNinja -DBOARD=nrf52840dongle_nrf52840&amp;nbsp;2&amp;gt;&amp;amp;1 | grep here&lt;br /&gt;-- here PYTHON_EXECUTABLE=/usr/bin/python3.9;srctree=&amp;lt;pathTo&amp;gt;/zephyr;KERNELVERSION=0x2076300;KCONFIG_CONFIG=&amp;lt;pathTo&amp;gt;/build/zephyr/.config;ARCH=arm;ARCH_DIR=&amp;lt;pathTo&amp;gt;/zephyr/arch;BOARD_DIR=&amp;lt;pathTo&amp;gt;/zephyr/boards/arm/nrf52840dongle_nrf52840;KCONFIG_BINARY_DIR=&amp;lt;pathTo&amp;gt;/build/Kconfig;TOOLCHAIN_KCONFIG_DIR=&amp;lt;pathTo&amp;gt;/zephyr/cmake/toolchain/gnuarmemb;TOOLCHAIN_HAS_NEWLIB=$&amp;lt;IF:$&amp;lt;BOOL:ON&amp;gt;,y,n&amp;gt;;EDT_PICKLE=&amp;lt;pathTo&amp;gt;/build/zephyr/edt.pickle;ZEPHYR_CMSIS_MODULE_DIR=&amp;lt;pathTo&amp;gt;/modules/hal/cmsis;ZEPHYR_HAL_NORDIC_MODULE_DIR=&amp;lt;pathTo&amp;gt;/modules/hal/nordic;ZEPHYR_HAL_NORDIC_KCONFIG=&amp;lt;pathTo&amp;gt;/zephyr/modules/hal_nordic/Kconfig;ZEPHYR_MBEDTLS_MODULE_DIR=&amp;lt;pathTo&amp;gt;/modules/crypto/mbedtls;ZEPHYR_MBEDTLS_KCONFIG=&amp;lt;pathTo&amp;gt;/zephyr/modules/mbedtls/Kconfig &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;$ rm -rf build &lt;br /&gt;$ /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python -B&amp;lt;pathTo&amp;gt;/build -S&amp;lt;pathTo&amp;gt;/zephyr/samples/net/mqtt_publisher -GNinja -DBOARD=nrf52840dongle_nrf52840 -DZEPHYR_MODULES=&amp;quot;&amp;lt;pathTo&amp;gt;/modules/hal/nordic/;&amp;lt;pathTo&amp;gt;/zephyr_cmsis/;&amp;lt;pathTo&amp;gt;/zephyr_mbedtls/&amp;quot; 2&amp;gt;&amp;amp;1 | grep here &lt;br /&gt;-- here PYTHON_EXECUTABLE=/usr/bin/python3.9;srctree=&amp;lt;pathTo&amp;gt;/zephyr;KERNELVERSION=0x2076300;KCONFIG_CONFIG=&amp;lt;pathTo&amp;gt;/build/zephyr/.config;ARCH=arm;ARCH_DIR=&amp;lt;pathTo&amp;gt;/zephyr/arch;BOARD_DIR=&amp;lt;pathTo&amp;gt;/zephyr/boards/arm/nrf52840dongle_nrf52840;KCONFIG_BINARY_DIR=&amp;lt;pathTo&amp;gt;/build/Kconfig;TOOLCHAIN_KCONFIG_DIR=&amp;lt;pathTo&amp;gt;/zephyr/cmake/toolchain/gnuarmemb;TOOLCHAIN_HAS_NEWLIB=$&amp;lt;IF:$&amp;lt;BOOL:ON&amp;gt;,y,n&amp;gt;;EDT_PICKLE=&amp;lt;pathTo&amp;gt;/build/zephyr/edt.pickle;ZEPHYR_HAL_NORDIC_MODULE_DIR=&amp;lt;pathTo&amp;gt;/ARM/Nordic/hal_nordic;ZEPHYR_HAL_NORDIC_KCONFIG=&amp;lt;pathTo&amp;gt;/zephyr/modules/hal_nordic/Kconfig;ZEPHYR_ZEPHYR_CMSIS_MODULE_DIR=&amp;lt;pathTo&amp;gt;/ARM/zephyr_cmsis;ZEPHYR_ZEPHYR_MBEDTLS_MODULE_DIR=&amp;lt;pathTo&amp;gt;/ARM/zephyr_mbedtls&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The first command is the command issued when using &amp;quot;west&amp;quot; (which works).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The second command is my alteration of west&amp;#39;s &amp;quot;cmake&amp;quot; command&amp;nbsp;where I use -DZEPHYR_MODULES.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note the difference in the names for each command output:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;1:&amp;nbsp;ZEPHYR_CMSIS_MODULE_DIR&lt;/span&gt;&lt;br /&gt;&lt;span&gt;2: ZEPHYR_ZEPHYR_CMSIS_MODULE_DIR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;1:&amp;nbsp;ZEPHYR_HAL_NORDIC_MODULE_DIR&lt;/span&gt;&lt;br /&gt;&lt;span&gt;2:&amp;nbsp;ZEPHYR_HAL_NORDIC_MODULE_DIR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;1:&amp;nbsp;ZEPHYR_HAL_NORDIC_KCONFIG&lt;/span&gt;&lt;br /&gt;&lt;span&gt;2:&amp;nbsp;ZEPHYR_HAL_NORDIC_KCONFIG&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;1:&amp;nbsp;ZEPHYR_MBEDTLS_MODULE_DIR&lt;/span&gt;&lt;br /&gt;&lt;span&gt;2:&amp;nbsp;ZEPHYR_ZEPHYR_MBEDTLS_MODULE_DIR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;1:&amp;nbsp;ZEPHYR_MBEDTLS_KCONFIG&lt;/span&gt;&lt;br /&gt;&lt;span&gt;2: &amp;lt;non-existant because it errors out&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;What is up with the &amp;quot;ZEPHYR_ZEPHYR_&amp;quot; instances for the second command?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Oh wow! I just found out. It&amp;#39;s because whatever script is in charge of naming those variables are actually taking the folder names.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For example, I changed &amp;quot;zephyr_cmsis&amp;quot; to &amp;quot;wtf_cmsis&amp;quot; and the variable name changed to &amp;quot;ZEPHYR_WTF_CMSIS_MODULE_DIR&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That bites because I&amp;#39;m wanting to control my folder structure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It SHOULD be enough that I just provide the path and the script should be going through the provided paths, looking for something like &amp;quot;export(PACKAGE MbedTLS)&amp;quot; in the CMakeLists.txt and set the associated name with that (&amp;lt;ZephyrProjectName&amp;gt;_&amp;lt;ExportedModuleName&amp;gt;_MODULE_DIR&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;At least I know what&amp;#39;s up with that now. Perhaps a bug I should report in mainline? Whether it be for how I say it should behave or it be clearly defined in the docs about module-path-naming (I hope I didn&amp;#39;t miss it if it did)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;EDIT0: I should also say, I don&amp;#39;t know why you mentioned that link to &amp;quot;get a working toolchain&amp;quot; when my first test in my OP showed I was using the zephyr toolchain (arm-zephyr-eabi-gcc (crosstool-NG 1.24.0.378_e011758) 10.3.0). Or is that not valid?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve also been able to build/flash/run the button/LED sample using the arm-none-eabi- toolchain, so it should have nothing to do with the toolchain given that worked.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also what does &amp;quot;does not work well&amp;quot; regarding the bootloader supposed to mean? It looks like the dongle has a general bootloader that&amp;nbsp;is run by pressing the &amp;quot;reset&amp;quot; button. My understanding is that mcuboot would be flashed like a regular app and, once installed, becomes flashable for other apps to run on top of it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It also appears the dongle has 2 soldering pad areas for flash/debug. It&amp;#39;s on my mind that I&amp;#39;ll likely get a header and a cable to connect them to my SWD-capable ST Discovery device.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Different Fail Points Building MCUBoot With Different Zephyr Sources</title><link>https://devzone.nordicsemi.com/thread/333524?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 12:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:854e88d3-3760-42d0-b263-d1e9515f415e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please follow the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html"&gt;instructions for installing the nRF Connect SDK manually&lt;/a&gt; to the point. That should give you a working toolchain and then example applications should build out of the box when you build using west.&lt;/p&gt;
&lt;p&gt;I see you are using the nRF52840 dongle. Please note that this has a USB bootloader from the nRF5 SDK, and does not work well together with MCUBoot. I recommend testing without MCUBoot if you are using the dongle, or use a development kit instead (that is typically a better choice in most cases, particularly because of the onboard debugger).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Different Fail Points Building MCUBoot With Different Zephyr Sources</title><link>https://devzone.nordicsemi.com/thread/333515?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 12:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18cd63c5-bbfe-4fb6-b88a-9e9669f1e964</guid><dc:creator>vindicator</dc:creator><description>&lt;p&gt;While I got it to build and I flashed it, my device doesn&amp;#39;t show up when I plug it in with SW0 pressed.&lt;/p&gt;
&lt;p&gt;The system journal/dmesg doesn&amp;#39;t even show any activity from its insertion.&lt;/p&gt;
&lt;p&gt;Just to make sure, I used the same build/zip/flash commands to build samples/basic/button, and that ran and the LED lights up when I press SW0.&lt;/p&gt;
&lt;p&gt;As probably expected, the&amp;quot;button&amp;quot; sample doesn&amp;#39;t show up as a device either.&lt;/p&gt;
&lt;p&gt;When I press the &amp;quot;reset&amp;quot; button, the device shows up as &amp;quot;/dev/serial/by-id/usb-Nordic_Semiconductor_Open_DFU_Bootloader_&amp;lt;sanitized&amp;gt;-if00&amp;quot;. I know the mcuboot should show up similar to that, except&amp;nbsp;have the name mcuboot contained within it.&lt;/p&gt;
&lt;p&gt;EDIT0: Ugh! Ignore this dummy. I shouldn&amp;#39;t have been trying to run that sample I think. Next attempt coming...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>