NICLA SENSE ME: UART and on chip debugger not working simultaneously

Hi All,

If I enable UART module or my code has any stdio functions retargeting to read/write, the debug mode does not work. I am getting the following error:

=============================================

Error: [nrf52.cpu] Can not find free FPB Comparator!
Error: can't add breakpoint: resource not available 

============================================

But I am able to receive debug prints on PC terminal. Unless I disable UART and remove all the stdio functions debug mode does not work. Also attaching the debug configuration done in eclipse for reference. We use OpenOCD Setup for debugger. 

 

Please let me know the possibility of using on chip debugger and UART together for nicla platform. 

Best Regards,

Ijaz 

Parents
  • Hi,

    This platform and board are not developed by Nordic. You need to contact the developers of the platform to get support on their solutions.

    It seems that the error message you are seeing is coming from OpenOCD, and is related to no more HW breakpoints being available.

    In general, the nRF52832 can support concurrently using the UART peripheral and do debugging over SWD, but I do not know how this is implemented on the platform and tools you are using.

    nRF Connect SDK, nRF5 SDK, nRF52 DK and J-Link are the supported development tools from Nordic.

    Best regards,
    Jørgen

Reply
  • Hi,

    This platform and board are not developed by Nordic. You need to contact the developers of the platform to get support on their solutions.

    It seems that the error message you are seeing is coming from OpenOCD, and is related to no more HW breakpoints being available.

    In general, the nRF52832 can support concurrently using the UART peripheral and do debugging over SWD, but I do not know how this is implemented on the platform and tools you are using.

    nRF Connect SDK, nRF5 SDK, nRF52 DK and J-Link are the supported development tools from Nordic.

    Best regards,
    Jørgen

Children
No Data
Related