nRF9151 CONFIG_UART_ASYNC_API

Hi!

I am using nRF9151-DK, enabling UART1 and using CONFIG_UART_ASYNC_API.

The build is successful, but the problem every time i connect a flashed kit with this binaries into nrf Programmer software.

I get notification of "Application core is protected".

I have isolated all the included configurations and found out that CONFIG_UART_ASYNC_API is causing this.

Am i missing some configuration? How to overcome this issue?

nRF Programmer

UART-related config:

# Enable UART1 Async
CONFIG_SERIAL=y
CONFIG_UART_ASYNC_API=y
CONFIG_UART_1_ASYNC=y
CONFIG_UART_1_INTERRUPT_DRIVEN=n

Devicetree:

&uart1 {
    status = "okay";
    current-speed = <115200>;
    pinctrl-0 = <&uart1_default>;
    pinctrl-1 = <&uart1_sleep>;
    pinctrl-names = "default", "sleep";
};

Best regards,
Abdu

Parents Reply Children
  • Hi Abhijith,

    I have added both configs  CONFIG_NRF_APPROTECT_USE_UICR and CONFIG_NRF_SECURE_APPROTECT_USE_UICR, but i still have the same issue

    CONFIG_NRF_MODEM_LIB=y
    
    CONFIG_MODEM_ANTENNA=n
    
    CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY=y
    CONFIG_HWINFO=y
    
    # Logs config
    CONFIG_LOG=y
    CONFIG_FPU=y
    CONFIG_LOG_DEFAULT_LEVEL=3
    
    # Transmission forver
    CONFIG_TX_TRANSMISSIONS=0
    
    # Data Rate Config
    CONFIG_MCS=0
    CONFIG_RX_PERIOD_S=1
    
    # Generate random numbers
    CONFIG_ENTROPY_GENERATOR=y
    
    # Enable UART1 Async
    CONFIG_SERIAL=y
    CONFIG_UART_ASYNC_API=y
    CONFIG_UART_1_ASYNC=y
    CONFIG_UART_1_INTERRUPT_DRIVEN=n
    
    CONFIG_NRF_SECURE_APPROTECT_USE_UICR=y
    CONFIG_NRF_APPROTECT_USE_UICR=y

     

    Best regards,

    Abdu

Related