<?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>can&amp;#39;t use cdc recovery mode in mcuboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90097/can-t-use-cdc-recovery-mode-in-mcuboot</link><description>nrf5340dk 
 sdk version v2.0.0 
 windows10 system 
 hello_world sample 
 prj.conf: 
 child_image/mcuboot.conf: 
 
 build result: 
 
 how can i check the flash size of the final file ？ 
 and how can i expend the flash size ？ 
 I try to use config_FLASH_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jul 2022 05:57:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90097/can-t-use-cdc-recovery-mode-in-mcuboot" /><item><title>RE: can't use cdc recovery mode in mcuboot</title><link>https://devzone.nordicsemi.com/thread/378468?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2022 05:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63aae3f4-0d64-4b09-a7e8-ca161726de14</guid><dc:creator>wangrj</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/recovery_5F00_CDC.zip"&gt;devzone.nordicsemi.com/.../recovery_5F00_CDC.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't use cdc recovery mode in mcuboot</title><link>https://devzone.nordicsemi.com/thread/378043?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 10:33:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d16516a4-9d41-432a-8184-4d38422c2e6d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This is a linker error.I am not able to reproduce this without your whole setup, can you please attach your project here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't use cdc recovery mode in mcuboot</title><link>https://devzone.nordicsemi.com/thread/377750?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 03:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52f968b9-0522-4000-8ce9-2e25e5d1d0e6</guid><dc:creator>wangrj</dc:creator><description>&lt;p&gt;hi&amp;nbsp;&lt;span&gt;&amp;nbsp;Susheel Nuguru&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;i add a dts.overlay file to project&lt;/p&gt;
&lt;p&gt;what about that ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[282/295] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/xxx/modules/hal/nordic/nrfx/drivers/src/nrfx_usbd.c.obj
[283/295] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
[284/295] Linking C static library modules\mbedtls\libmodules__mbedtls.a
[285/295] Linking C executable zephyr\zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map 
cmd.exe /C &amp;quot;cd . &amp;amp;&amp;amp; C:xxx\toolchain\opt\bin\arm-none-eabi-gcc.exe   zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf  -Wl,-T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=C:/xxx/workspace/single_slot_CDC_recovery/build/mcuboot/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/drivers/usb/device/libdrivers__usb__device.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/hwinfo/libdrivers__hwinfo.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a  modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/mbedtls/libmodules__mbedtls.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -L&amp;quot;c:/xxx/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v8-m.main/nofp&amp;quot;  -LC:/xxx/workspace/single_slot_CDC_recovery/build/mcuboot/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  C:/xxx/nrfxlib/crypto/nrf_cc312_platform/lib/cortex-m33/soft-float/no-interrupts/libnrf_cc312_platform_0.9.13.a  -no-pie  -mcpu=cortex-m33  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn &amp;amp;&amp;amp; cmd.exe /C &amp;quot;cd /D C:\xxx\workspace\single_slot_CDC_recovery\build\mcuboot\zephyr &amp;amp;&amp;amp; C:\xxx\toolchain\opt\bin\cmake.exe -E echo &amp;quot;&amp;quot;
c:/xxx/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: zephyr\zephyr_pre0.elf section `text&amp;#39; will not fit in region `FLASH&amp;#39;
c:/xxx/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH&amp;#39; overflowed by 12820 bytes
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
[155/176] Linking C executable zephyr\zephyr_pre0.elf

[159/176] Linking C executable zephyr\zephyr_pre1.elf

[164/176] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf 
cmd.exe /C &amp;quot;cd /D C:\xxx\workspace\single_slot_CDC_recovery\build\mcuboot &amp;amp;&amp;amp; C:\xxx\toolchain\opt\bin\cmake.exe --build . --&amp;quot;
[166/176] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       22540 B     998912 B      2.26%
            SRAM:        6200 B       512 KB      1.18%
        IDT_LIST:          0 GB         2 KB      0.00%
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: &amp;#39;c:\xxx\toolchain\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\xxx\single_slot_CDC_recovery\build&amp;#39;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't use cdc recovery mode in mcuboot</title><link>https://devzone.nordicsemi.com/thread/377555?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 09:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09da787d-8b4a-4997-b178-e41a3f3e201a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;the error seems to be this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\xxx\bootloader\mcuboot\boot\zephyr\serial_adapter.c:114: undefined reference to `__device_dts_ord_95&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and not the code or flash size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>