NRF52840 UF2 bootloader flashing

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
skelly7769
 
Posts: 2
Joined: Thu Feb 16, 2023 1:08 pm

NRF52840 UF2 bootloader flashing

Post by skelly7769 »

Im trying to flash nordicsemi NRF52840 dongle to the adafruit uf2 bootloader https://github.com/adafruit/Adafruit_nR ... /tag/0.7.0
but i cant. when i try using adafruit nrfutil i get


- Selected Bootloader version does not match the one on Bluefruit device.
Please upgrade the Bootloader or select correct version in Tools->Bootloader.
- Baud rate must be 115200, Flow control must be off.
- Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.


if i use nordicsemi nrfutil i get

C:\Users\a\Downloads>nrfutil dfu serial -pkg bootloader.zip -p COM9
Traceback (most recent call last):
File "nordicsemi\__main__.py", line 1537, in <module>
File "site-packages\click\core.py", line 764, in __call__
File "site-packages\click\core.py", line 717, in main
File "site-packages\click\core.py", line 1137, in invoke
File "site-packages\click\core.py", line 1137, in invoke
File "site-packages\click\core.py", line 956, in invoke
File "site-packages\click\core.py", line 555, in invoke
File "nordicsemi\__main__.py", line 1056, in serial
File "nordicsemi\__main__.py", line 964, in do_serial
File "nordicsemi\dfu\dfu.py", line 69, in __init__
File "nordicsemi\dfu\package.py", line 654, in unpack_package
File "nordicsemi\dfu\manifest.py", line 200, in from_json
TypeError: __init__() got an unexpected keyword argument 'dfu_version'
[6584] Failed to execute script __main__

but if i use programmer with the hex file then i get
19:30:32.290 Update files regions according to Application core
19:30:32.290 Parse memory regions for file
19:30:44.473 Parsing HEX file: C:\Users\a\Downloads\nrf52840_m2_bootloader-0.7.0_s140_6.1.1.hex
19:30:44.474 File was last modified at 2/15/2023, 2:08:16 PM
19:30:44.551 Update files regions according to Application core
19:30:44.551 Parse memory regions for file
19:30:44.552 SoftDevice detected, id 0xB6 (S140 v6.1.1)
19:30:50.151 Does not need to be reloaded: C:\Users\a\Downloads\nrf52840_m2_bootloader-0.7.0_s140_6.1.1.hex

User avatar
skelly7769
 
Posts: 2
Joined: Thu Feb 16, 2023 1:08 pm

Re: NRF52840 UF2 bootloader flashing

Post by skelly7769 »

I was using these two
adm_b_nrf52840_1_bootloader-0.7.0_s140_6.1.1.hex
502 KB
Jul 13, 2022
adm_b_nrf52840_1_bootloader-0.7.0_s140_6.1.1.zip

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: NRF52840 UF2 bootloader flashing

Post by adafruit_support_carter »

Are you using one of these?
https://www.adafruit.com/product/5199

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”