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
NRF52840 UF2 bootloader flashing
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- skelly7769
- Posts: 2
- Joined: Thu Feb 16, 2023 1:08 pm
Re: NRF52840 UF2 bootloader flashing
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
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
- adafruit_support_carter
- Posts: 29164
- Joined: Tue Nov 29, 2016 2:45 pm
Re: NRF52840 UF2 bootloader flashing
Are you using one of these?
https://www.adafruit.com/product/5199
https://www.adafruit.com/product/5199
Please be positive and constructive with your questions and comments.