UART0 resource always busy after integrate MCU boot in our project

HI.

we're developing an application where we need to use 2 UART ports: UART: 0, 2, 3.

Before we added MCU boot in our project everything  worked well but after we integrated bootloader application cannot use the UART0. It's returning resource busy error every time when .

we try to transmit something. Configuration of UART 0 still works from application, only transmission fails.  

Snippet from prj.conf

config part for bootloader:

###########################################################
#Bootloader
###########################################################
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_USE_ALL_AVAILABLE_RAM=y
CONFIG_MCUBOOT_IMG_MANAGER=y
# Enable MCUMGR
CONFIG_MCUMGR=y
# Enable MCUMGR management for both OS and Images
CONFIG_MCUMGR_GRP_OS=y
CONFIG_MCUMGR_GRP_IMG=y
# Configure MCUMGR transport to UART
CONFIG_MCUMGR_TRANSPORT_UART=y
# Dependencies
# Configure dependencies for CONFIG_MCUMGR  
CONFIG_NET_BUF=y
CONFIG_ZCBOR=y
CONFIG_CRC=y
# Configure dependencies for CONFIG_MCUMGR_GRP_IMG  
CONFIG_IMG_MANAGER=y

# Configure dependencies for CONFIG_IMG_MANAGER  
CONFIG_STREAM_FLASH=y
CONFIG_FLASH_MAP=y

# Configure dependencies for CONFIG_MCUMGR_TRANSPORT_UART
CONFIG_BASE64=y

CONFIG_BOARD_ENABLE_CPUNET=y

CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y

CONFIG_NRF53_UPGRADE_NETWORK_CORE=y
CONFIG_UPDATEABLE_IMAGE_NUMBER=2
CONFIG_ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS=y
# Enable the serial mcumgr transport.
CONFIG_UART_MCUMGR=y
###########################################################

There's certain action to do to free resources used by MCU boot?

Parents Reply Children
No Data
Related