peripheral_uart not working with mcuboot on nRF52840DK/52840

I've built the peripheral_uart project & it works on both the nRF52DK/nRF52832 & nRF52840DK/nRF52840

But if I enable bootlooder by adding "SB_CONFIG_BOOTLOADER_MCUBOOT=y" to sysbuild.conf it works on nRF52DK but not nRF52840DK

The bluetooth services does not appear on my iPhone running nRF Connect

Parents
  • Hie John,

    I tried flashing the peripheral_uart code on both nRF52832 and nRF52840 Dk with and without the systembuild configuration and it worked fine for me.

    1. Can you please let me know which NCS version are you using.


    2. Can you please add the following in your prj.conf so we can verify the logs and check the serial terminal to see if the device is advertising, 

    CONFIG_LOG=y
    CONFIG_PRINTK=y
    CONFIG_SERIAL=y
    CONFIG_CONSOLE=y
    CONFIG_UART_CONSOLE=y

    3. Also,  if you previously paired/connected to the DK before enabling MCUboot can you please Go to iOS Settings >> Bluetooth >> find your device, tap the (i) icon, and select Forget This Device. The iOS heavily caches Bluetooth Low Energy GATT services and attributes based on the device's MAC address, so removing the device clears the cache. 


    Regards

    Pallavi

Reply
  • Hie John,

    I tried flashing the peripheral_uart code on both nRF52832 and nRF52840 Dk with and without the systembuild configuration and it worked fine for me.

    1. Can you please let me know which NCS version are you using.


    2. Can you please add the following in your prj.conf so we can verify the logs and check the serial terminal to see if the device is advertising, 

    CONFIG_LOG=y
    CONFIG_PRINTK=y
    CONFIG_SERIAL=y
    CONFIG_CONSOLE=y
    CONFIG_UART_CONSOLE=y

    3. Also,  if you previously paired/connected to the DK before enabling MCUboot can you please Go to iOS Settings >> Bluetooth >> find your device, tap the (i) icon, and select Forget This Device. The iOS heavily caches Bluetooth Low Energy GATT services and attributes based on the device's MAC address, so removing the device clears the cache. 


    Regards

    Pallavi

Children
No Data
Related