This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

doing dfu ble as a PCA10059 dongle

To the kind attention of Nordic support team,

I'm very interested in understanding how to have firmware that is working as in PCA10059 in respect to USB bootloader and fw connectivity to do dfu ble.

I did:

C:\Users\astella\AppData\Local\Programs\Python\Python38\Lib\site-packages\pc_ble_driver_py\hex\sd_api_v5>nrfjprog --eraseall
Erasing user available code and UICR flash areas.
Applying system reset.

Then:

C:\Users\astella\AppData\Local\Programs\Python\Python38\Lib\site-packages\pc_ble_driver_py\hex\sd_api_v5>nrfjprog --family nRF52 --program s132_nrf52_5.1.0_softdevice.hex
Parsing hex file.
Reading flash area to program to guarantee it is erased.
Checking that the area to write is not protected.
Programming device.

And:

C:\Users\astella\AppData\Local\Programs\Python\Python38\Lib\site-packages\pc_ble_driver_py\hex\sd_api_v5>nrfjprog --family nRF52 --program connectivity_4.1.1_usb_for_s132_5.1.0.hex
Parsing hex file.
Reading flash area to program to guarantee it is erased.
Checking that the area to write is not protected.
Programming device.

After that I had nRF Connect USB CDC ACM (COM12) in my Device Manager and

>nrfutil -v -v -v -v dfu ble -ic NRF52 -pkg app26022020.zip -p COM12 -n "DfuTarg" worked fine. So that I'm really happy about that.

The thing that I'm still missing in the puzzle, is usb bootloader. I already tried and tested USB secured bootloader.

I was wondering If I can use USB secured bootloader,  s132_nrf52_5.1.0_softdevice.hex and connectivity_4.1.1_usb_for_s132_5.1.0.hex together?

Are they compiled in order to work well together? Can I use hex files how they are? Should I do any modification to their src code and rebuild them, for example to link them

appropriately?

Thank you for all your kindness and your work

Parents Reply Children
No Data
Related