Buttonless DFU + Nordic UART Service FATAL ERROR APP_UART_FIFO_INIT()

Hello,

i am fighting with getting an simple NUS running. I just followed on the provided example.

But got the error message via RTT: app: ERROR 4 [NRF_ERROR._NO_MEM] at this code:

I increased the ram in the LinkerScript more and more, but still have this error message.

Any idea?

  const app_uart_comm_params_t comm_params =
      {
          RX_PIN_NUMBER,
          TX_PIN_NUMBER,
          RTS_PIN_NUMBER,
          CTS_PIN_NUMBER,
          APP_UART_FLOW_CONTROL_DISABLED,
          true,  // NO PARITY
          NRF_UART_BAUDRATE_115200};

  uint32_t error_code;
  APP_UART_FIFO_INIT(&comm_params,
      BUFFER_SIZE,
      BUFFER_SIZE,
      uart_error_handle,
      APP_IRQ_PRIORITY_LOWEST,
      error_code);
  • Hi,

    The APP_UART_FIFO_INIT macro calls app_uart_init(), and from the API documentation this returns NRF_ERROR_NO_MEM when "GPIOTE module has reached the maximum number of users".

    i am fighting with getting an simple NUS running. I just followed on the provided example.

    Are you using the NUS (bluetoot peripheral UART) sample with some changes? If so, what are your hcanges?

Related