Can you help with why I get this serial debug message when trying to start Headset nrf5340_Audio DK in DFU mode
HR [00:00:02.068,450] <err> dfu: SMP_SVR Advertising failed to start (ret -11)
I am building the CIS example using the command - nRF5340_Audio application unchanged
python .\buildprog.py -c both -b debug -d both -m internal -M (--pristine)
After I load onto the DK I see the correct Serial debug and both Headset and Gateway are working as expected.
*** Booting Zephyr OS build v3.1.99-ncs1 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
I: Jumping to the first image slot
*** Booting Zephyr OS build v3.1.99-ncs1 ***
HR [00:00:00.001,281] <inf> audio_sync_timer: Audio sync timer initialized
HR [00:00:00.001,983] <dbg> nrf5340_audio_dk_nrf5340_cpuapp: core_config: Setting gpiote latency to low power
HR [00:00:00.002,044] <dbg> nrf5340_audio_dk_nrf5340_cpuapp: remoteproc_mgr_boot: Network MCU released.
HR [00:00:00.006,378] <inf> fw_info:
nRF5340 Audio nRF5340 Audio DK cpuapp
NCS Version: 2.1.0
Cmake run : Tue Oct 18 14:36:45 2022
HR [00:00:00.006,408] <inf> fw_info: ------- DEBUG BUILD -------
HR [00:00:00.006,408] <inf> fw_info:
HEADSET right device
HR [00:00:00.016,998] <inf> board_version: Compatible board/HW version found: 1.0.0
Issue
However, when I try and run the DFU Mode (long press BTN 4 while rebooting). I get this err’d debug
HR [00:00:02.051,544] <inf> dfu: Enter SMP_SVR service only status
HR [00:00:02.051,544] <wrn> ble: Failed to create ID
HR [00:00:02.054,229] <inf> fs_nvs: 2 Sectors of 4096 bytes
HR [00:00:02.054,229] <inf> fs_nvs: alloc wra: 0, ed0
HR [00:00:02.054,260] <inf> fs_nvs: data wra: 0, 1f4
HR [00:00:02.064,147] <wrn> bt_hci_core: Controller to host flow control not supported
HR [00:00:02.067,077] <inf> bt_hci_core: No ID address. App must call settings_load()
HR [00:00:02.067,138] <inf> ble: MAC: 00:00:00:00:00:00 (public)
HR [00:00:02.067,687] <inf> ble: Controller version: 3303
HR [00:00:02.068,450] <err> dfu: SMP_SVR Advertising failed to start (ret -11)