Thanks for the reply. I can program my custom PCB from the nrf52 but I can't program the on-board nrf52832. It is always looking for Jlink to an external board. What tells the programmer to use on-board nrf52832 and the buttons?
Thanks for the reply. I can program my custom PCB from the nrf52 but I can't program the on-board nrf52832. It is always looking for Jlink to an external board. What tells the programmer to use on-board nrf52832 and the buttons?
Hi
I assume you are referring to an nRF52 DK. The debugger on the DK will automatically detect if an external chip is connected to the debug pins. If the DK is not connected to an external board with the debug pins it should use the onboard chip by default.
Best regards,
Simon
I did remove SWD connection. I compiled and it produces the error "Failed to download application. Error during program/erase phase. Please check J-link and target connection. Also, nRF52 DK does not bring up J-link drive anymore for me to test HEX files. I was not abe to run any of the pre-compiled HEX. What do you think about that and How do I reload the firmware if I need to?
Auto-detection does not work
Can arm_target_interface_type="SWD" and debug_target_connection="J-Link" help?
I did remove SWD connection. I compiled and it produces the error "Failed to download application. Error during program/erase phase. Please check J-link and target connection. Also, nRF52 DK does not bring up J-link drive anymore for me to test HEX files. I was not abe to run any of the pre-compiled HEX. What do you think about that and How do I reload the firmware if I need to?
Auto-detection does not work
Can arm_target_interface_type="SWD" and debug_target_connection="J-Link" help?