This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 DONGLE debugging

Hi,

I am developing a project using the nRF52840 DONGLE. As part of the process, I need to be able to debug my code, so I am using IAR and a J-TRACE PRO for that. The problem is, when I download any program that uses BLE, I just cant debug, as the firmware never reaches main on startup. When I download any example that doesn't uses BLE, such as the USB Generic HID, it works fine. So, what could possibly be the error? I have already tried the sugestions on this tutorial, but got no results. Another curious thing is that I can't download the SOFTDEVICE via nRFGO, becouse it says that "No device detected, or readback protection may be set". When using nRF Connect, I can read the device memory and program the softdevice.

The example I am trying tho download to my dongle is the ble_app_uart_c. I did change the board define to PCA10059 and commented the UART initialization for bypassing the pins definition error.

Parents Reply Children
No Data
Related