Hi,
If you are using NRF52840,
I am using SDK14.2 and Softdevice 5.0.0-2 version.
I want to update to SDK15.1, Softdevice 6.0.0 via USB bootloader DFU. Is it possible? What should I do if possible?
Hi,
If you are using NRF52840,
I am using SDK14.2 and Softdevice 5.0.0-2 version.
I want to update to SDK15.1, Softdevice 6.0.0 via USB bootloader DFU. Is it possible? What should I do if possible?
Additionally,
I have successfully updated Softdevice from version 5 to version 6 through DFU.
But there is one problem.
I'm through nrfutil
"nrfutil pkg generate --bootloader nrf52840_xxaa.hex --bootloader-version 1 --softdevice S140_Softdevice_6.0.0.hex --hw-version 52 --sd-req 0x0096 --sd-id 0x0096 --key-file Dongle_DFU_Key_180502.key app_dfu_package.zip "to use the boot loader of SDK 14.2 Version.
Softdevice 5 -> 6
SDK14.2 Bootloader -> SDK15.1 Bootloader
I tried to change the above, but Softdevice has been updated to version 6, but the boot loader seems to have not been updated. It does not enter DFU mode.
Can you tell me what the problem is?
Note that the IROM and IRAM address settings are the same for either the 14.2 Bootloader or the 15.1 Booloader.
Start Size
IROM: 0xF4000 / 0xA000
IRAM: 0x20002C00 / 0x3D380
Is it because of IROM or IRAM setting?
After Softdevice is updated to 5-> 6, downloading 15.1 DFU Bootloader via Keil will work normally. T.T I am in trouble.
Additionally,
I have successfully updated Softdevice from version 5 to version 6 through DFU.
But there is one problem.
I'm through nrfutil
"nrfutil pkg generate --bootloader nrf52840_xxaa.hex --bootloader-version 1 --softdevice S140_Softdevice_6.0.0.hex --hw-version 52 --sd-req 0x0096 --sd-id 0x0096 --key-file Dongle_DFU_Key_180502.key app_dfu_package.zip "to use the boot loader of SDK 14.2 Version.
Softdevice 5 -> 6
SDK14.2 Bootloader -> SDK15.1 Bootloader
I tried to change the above, but Softdevice has been updated to version 6, but the boot loader seems to have not been updated. It does not enter DFU mode.
Can you tell me what the problem is?
Note that the IROM and IRAM address settings are the same for either the 14.2 Bootloader or the 15.1 Booloader.
Start Size
IROM: 0xF4000 / 0xA000
IRAM: 0x20002C00 / 0x3D380
Is it because of IROM or IRAM setting?
After Softdevice is updated to 5-> 6, downloading 15.1 DFU Bootloader via Keil will work normally. T.T I am in trouble.
Hello,
Just a couple of remarks:
SDK15.1.0 was pulled, so I recommend you to move directly to SDK15.2.0.
Besides, you are trying to upload the S140 v6.0.0, which is not included in SDK15.2.0 nor SDK15.1.0. It should be S140v6.1.0.
Hence, you should have:
--sd-req 0x0096, which is the SD ID of your old softdevice, but the --sd-id, which is the new softdevice should be 0x00AE, which corresponds to the S140v6.1.0 softdevice.
Best regards,
Edvin
Hi,
Thanks for the answer.
I was mistaken. I am using 15.0 and Softdevice 6.0 instead of SDK15.1.
There is no time to migrate SDK 15.0 to 15.2.
SDK14.2 -> SDK15.0 (Bootloader)
Softdevice 5.0 -> Softdevice 6.0
Could it be?
I've run DFU with SD + BL, but it seems that only Softdevice is being updated.
----------------------------------------------------------
SDK14.2 Bootloader iROM, iRAM Size
Start Size
IROM: 0xF4000 / 0xA000
IRAM: 0x20002C00 / 0x3D380
----------------------------------------------------------
SDK15.0 Bootloader iROM, iRAM Size
Start Size
IROM: 0xF4000 / 0xA000
IRAM: 0x20000008 / 0x3FFF8
----------------------------------------------------------
Hello,
Is this the Dongle, or a DK? Or is it a custom pcb? What I really am curious about is whether or not you are able to program the device, or if you need to update via DFU.
I spoke to some of the people that works on our bootloaders, and he told me that there is a bug in the MBR of the SDK14.2.0 S140 softdevice, making it unable to update the bootloader via the bootloader.
The usb bootloader from SDK14.2.0 is marked as "experimental". The SDK15.0.0 release notes says:
"Bootloaders for nRF52840 now support bootloader updates (if used with the new MBR or SoftDevice)."
In other words, unfortunately, it is not possible to update the bootloader with the bootloader, and hence, you can't update major SoftDevice versions.
BR,
Edvin
Edvin.
Thank you for your reply.