sandeepmistry / arduino-nRF5

Arduino Core for Nordic Semiconductor nRF5 based boards
Other
873 stars 278 forks source link

Error while uploading sketch to nRF52 DK #412

Closed salmanfarisvp closed 3 years ago

salmanfarisvp commented 4 years ago

I was trying to upload a sketch to nRF52832DK, but getting an error. copy and pasting the .hex working fine.

Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-10-10:13)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
swd
adapter speed: 10000 kHz
cortex_m reset_config sysresetreq
jaylink: Failed to open device: LIBUSB_ERROR_NOT_FOUND.
Info : No device selected, using first device.
Error: No J-Link device found.
Error: No Valid JTAG Interface Configured.
Error: No Valid JTAG Interface Configured.

Updated the Jlink bootloader.

KEranda commented 3 years ago

@salmanfarisvp Did you ever figure this out?

EDIT: Nevermind I solved it. For anyone experiencing the same: Don't forget to do Driver Setup for Segger J-Link if using the nRFDK. See here for instructions: https://github.com/sandeepmistry/arduino-nRF5#driver-setup-for-segger-j-link

This does mean you can't use nrfjprog commands or SES to programme the nRF until you roll back this driver setup. How to do this is also explained in the link above.