jaredwolff
Connected the nRF9160 feather board via programming connector
Following is the detail debug report in google slide format for your kind reference
https://docs.google.com/presentation/d/1_bZi6YYnRH93mmGrS_TqXKkb1z2A1UD7CutUbOK3syA/edit?usp=sharing
nRF9160 board programming issue
ashad66 Just now I showed the error to someone working on the nRF9160 Feather board and he told me that while programming I deleted the Bootloader, that might be the reason I am not getting bootloader activate.
Yup if you erase the flash you will erase the bootloader. Alternatively if your application does not have the bootloader enabled you will overwrite the bootloader.
The JLINK should work no matter what though. Do you have the nRF Command Line Tools installed? I’d be curious to see what happens if you run a nrfjprog -r
for instance. The connection between the TC-20230-NL and the board in the picture is not sufficient enough. I would push it against the board or use a retaining clip to keep it pressed throughout the use of that application.
Reason being: there are lots of “auto” features enabled so if you don’t have a good connection one failure will cause issues for the remaining operations.
One thing that you mentioned before is that you were successfully able to program before. What program did you flash to the device? If it has an infinite loop with little to no delay you may have issues.
- Edited
jaredwolff The JLINK should work no matter what though. Do you have the nRF Command Line Tools installed? I’d be curious to see what happens if you run a nrfjprog -r for instance. The connection between the TC-20230-NL and the board in the picture is not sufficient enough. I would push it against the board or use a retaining clip to keep it pressed throughout the use of that application.
I added the picture after sending the nrfprog -r command in shared slide deck (slide number 7)
jaredwolff The connection between the TC-20230-NL and the board in the picture is not sufficient enough. I would push it against the board or use a retaining clip to keep it pressed throughout the use of that application.
For taking picture I used both hands, otherwise I was keep pressing the connector while programming
jaredwolff One thing that you mentioned before is that you were successfully able to program before. What program did you flash to the device? If it has an infinite loop with little to no delay you may have issues.
I bought many boards for my application by mistake I programmed then without bootloader to test the firmware. but now I need to update the firmware board is not detecting at all via SDK connect programmer
Initially when I received first time nRF9160 feather board with bootloader, it was connected successfully via SDK connect and I erased all and programmed with new firmware after that I could not be able to reconnect with the same boards.
- Edited
ashad66 I added the picture after sending the nrfprog -r command in shared slide deck (slide number 7)
I’ve never seen an error like that with nrfjprog
. If you don’t connect the Tag Connect, does it work with the nRF53 ok? My nRF53DK is very flaky and essentially stopped working after many hours of work. Did you modify the DK at all?
ashad66 For taking picture I used both hands, otherwise I was keep pressing the connector while programming
Got it ️
ashad66 Initially when I received first time nRF9160 feather board with bootloader, it was connected successfully via SDK connect and I erased all and programmed with new firmware after that I could not be able to reconnect with the same boards.
Right, what functionality does your firmware accomplish? Nevertheless, nrfjprog
should work a-OK with a nRF9160 Feather connected via Tag Connect with both boards powered (as long as the JLink on the nRF53DK behaving!)
jaredwolff I’ve never seen an error like that with nrfjprog. If you don’t connect the Tag Connect, does it work with the nRF53 ok? My nRF53DK is very flaky and essentially stopped working after many hours of work. Did you modify the DK at all?
The strangest part is that the blinky code I programmed last time is still functioning. When I connect the nRF5340 without the J-Link being attached to the Feather board, the SDK Connect Programmer App recognizes it as an nRF5340DK (see slide 8). However, as soon as I connect the J-Link to the Feather board, the SDK Connect Programmer App no longer detects the nRF5340DK and only shows the J-Link (see slide 8).
I did not modify the dk but I am sure nRF5340dk detects the board is connected via P19, because without connection app recognised as nRF5340dk and with connection with feather board it does not recognised as DK
I have three new nRF5340 DK boards and I tested 02 and getting same issue. I need to order more boards but waiting to resolve this issue because I already designed PCB as per Feather board pinouts
jaredwolff Right, what functionality does your firmware accomplish? Nevertheless, nrfjprog should work a-OK with a nRF9160 Feather connected via Tag Connect with both boards powered (as long as the JLink on the nRF53DK behaving!)
I recently flashed the Blinky code from your repository onto an nRF9160 Feather board using a J-Link connected via Tag Connect. Although the program is running successfully on the board, the board itself is not responding. This is the third board where I’ve encountered the same issue. I consulted an experienced developer who works with the nRF DK and sent him the nRF9160 Feather board. After he programmed the board using Tag Connect, he also was unable to detect or re-flash the board. He suggested that this seems to be a consistent issue with these boards.
I have one board left, I would like to reflash bootloader again, could you guide me where I can find the nRF9160 feather board bootloader and how I can flash it without having any trouble
ashad66 I have one board left, I would like to reflash bootloader again, could you guide me where I can find the nRF9160 feather board bootloader and how I can flash it without having any trouble
Is there a reason why you’re not simply using the bootloader that is already there? Have you set up your SDK as per the documentation? Doing anything outside of what’s prescribed is not supported.
Bootloader reflashing
Instructions:
- Unzip
- Make all necessary connections to your boards
- Run
nrfjprog --program v5-2-ga33aa1f-fast-blink.hex --chiperase --verify
The device should blink 500ms and you should get some test output from the console.
Also please confirm you have a newer version of nrfjprog
. Anything equal or newer to the one I have installed should work as expected:
❯ nrfjprog --version
nrfjprog version: 10.18.1 external
JLinkARM.dll version: 7.86f
jaredwolff Is there a reason why you’re not simply using the bootloader that is already there? Have you set up your SDK as per the documentation? Doing anything outside of what’s prescribed is not supported.
by mistake I erased all nRF9160 feather board but after erasing I retrieve the board but other board, I could not be able to retrieve.
Hi @ashad66
Any update on my suggestions?
I see you also soldered headers to the board. What did you connect the board to? Any chance you may have damaged it while doing so? The fact that you have 3 inoperable boards makes me think something went wrong. What power sources have you connected the board to?
When you plug in USB, do you get 3.3V on the 3V3 pin?
What version of Windows are you running?
jaredwolff I see you also soldered headers to the board. What did you connect the board to? Any chance you may have damaged it while doing so? The fact that you have 3 inoperable boards makes me think something went wrong. What power sources have you connected the board to?
I ordered almost 04 Boards and need at least 21 more to built 25 Units of AQM. I have temperature controlled Soldering station and I solder all board Carefully. All boards I soldered works fine even this board as well.
After Soldering I programmed the Blinky Application which works fine and still it is working fine. I do not think it is a soldering issue.
But after programming this board I could be able to reconnect and program again, although I retrieve other boards and still I am developing the HW by using other board.
I think this specific issue is related to other board only therefore, I decided not waste more time and continue develop my project with other working boards
jaredwolff When you plug in USB, do you get 3.3V on the 3V3 pin?
Yes, 3.3V and 5V as well
jaredwolff What version of Windows are you running?
I do not think it is window issue because other 03 board works fine to me