0

Error while trying to upload to Feather nRF52 with J-Link Se
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Error while trying to upload to Feather nRF52 with J-Link Se

by mydadisaplumber on Fri May 11, 2018 10:44 pm

Hi, I've been using a micro USB to upload to an nRF52 through the Arduino IDE and it works fine. I bought a J-Link Segger, and I'm trying to just upload the code to it, not even burn a bootloader or anything, and I'm getting:

Code: Select all | TOGGLE FULL SIZE
Error while uploading: missing 'program.params.verbose' configuration parameter


If I change the IDE option to not have a verbose upload, I get:

Code: Select all | TOGGLE FULL SIZE
Error while uploading: missing 'program.params.quiet' configuration parameter


The Board I have selected is "Adafruit Bluefruit nRF52 Feather" and the Programmer is "J-Link for Bluefruit 52". I'm doing the "Upload through programmer" option, and it seems to happen whether or not the programmer is plugged in or not. It seems to me like some parameter is not defined somewhere? What can I do?

mydadisaplumber
 
Posts: 48
Joined: Thu Jun 08, 2017 11:15 pm

Re: Error while trying to upload to Feather nRF52 with J-Lin

by hathach on Sat May 12, 2018 12:10 am

it is not supported to upload with jlink yet. You either wait for the feature or implement it yourself.

hathach
 
Posts: 1020
Joined: Tue Apr 23, 2013 1:02 am

Re: Error while trying to upload to Feather nRF52 with J-Lin

by mydadisaplumber on Sat May 19, 2018 2:42 pm

Thanks, so is there any device supported that can upload a Bluefruit nRF52 sketch through the SWD header?

mydadisaplumber
 
Posts: 48
Joined: Thu Jun 08, 2017 11:15 pm

Re: Error while trying to upload to Feather nRF52 with J-Lin

by hathach on Sun May 20, 2018 1:07 am

To be clear, Jlink could upload easily, we just not support it by using Arduino IDE yet. You have to do it manually with command line

hathach
 
Posts: 1020
Joined: Tue Apr 23, 2013 1:02 am

Re: Error while trying to upload to Feather nRF52 with J-Lin

by mydadisaplumber on Sat May 26, 2018 12:39 pm

I hate to keep being a pain, but how can I do that? I followed this tutorial:

http://www.ladyada.net/learn/avr/avrdude.html

Just from the Arduino IDE installation alone, I didn't have the "avrdude" command recognized at the prompt. So I downloaded WinAVR, but both the Feather board and the J-Link Segger are not available boards or programmers for the avrdude command when I look into it like the tutorial says. How can I add the board and programmer? Again, sorry to bother you, I've done a fair bit of searching, but still can't find an answer.

mydadisaplumber
 
Posts: 48
Joined: Thu Jun 08, 2017 11:15 pm

Re: Error while trying to upload to Feather nRF52 with J-Lin

by hathach on Tue May 29, 2018 12:42 am

you will need a jlink and use the nrfjprog command to flash it. avrdude is for AVR chip only.
There is some information you could find in this issue
https://github.com/adafruit/Adafruit_nR ... issues/133

hathach
 
Posts: 1020
Joined: Tue Apr 23, 2013 1:02 am

Re: Error while trying to upload to Feather nRF52 with J-Lin

by mydadisaplumber on Sun Aug 25, 2019 2:08 am

Just to get back into this, I still want to upload through the SWD header with a J-Link Segger. Do I need to use nrfjprog or AdaLink as described here: https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/flashing-the-bootloader and point to the hex files that I output when I compile for the nRF52? Or are there other bin files I'm supposed to find?

Thanks.

mydadisaplumber
 
Posts: 48
Joined: Thu Jun 08, 2017 11:15 pm

Re: Error while trying to upload to Feather nRF52 with J-Lin

by hathach on Sun Aug 25, 2019 11:31 pm

install nrfjprog + jlink, select jlink for bluefruit nrf52 in IDE then click shift + upload sketch.

hathach
 
Posts: 1020
Joined: Tue Apr 23, 2013 1:02 am

Please be positive and constructive with your questions and comments.


cron