As we all know,the examples of NRF51 SDK 11 about DFU is all using Device manager,do you have some example about Peer manager? I am very looking forward to see the example about DFU by PM. Do you have one???
As we all know,the examples of NRF51 SDK 11 about DFU is all using Device manager,do you have some example about Peer manager? I am very looking forward to see the example about DFU by PM. Do you have one???
Hi Davy,
You can have a look at this example from my colleague Vidar:
nRF5_SDK_11.0.0_dfu_with_pm_310316.zip
There is a .diff file provided.
Please be noted that the bootloader itself doesn't use devicemanager or peermanager. But we need to prepare the bond information to forward to the bootloader from the application , this is where the modification needed.
Hi Davy,
You can have a look at this example from my colleague Vidar:
nRF5_SDK_11.0.0_dfu_with_pm_310316.zip
There is a .diff file provided.
Please be noted that the bootloader itself doesn't use devicemanager or peermanager. But we need to prepare the bond information to forward to the bootloader from the application , this is where the modification needed.
Thanks! My project with DFU works great with this code.
Hi Hung I downloaded the code you provided,and there is a "relay_test.zip" in it, I uploaded it into my board pca100040 used dfu, uploaded successfully, but it did not work. I don't know why.
I did this and it works. devzone.nordicsemi.com/.../
The dfu_app_handler sources in this patched SDK still use the device manager. I must be missing something - how has anyone been able to make this work?
@Eliot, I added dfu_app_handler_pm for use with the peer manager.
For 52 users: the interrupts disable routine does not disable all interrupts.
Fix:
/**@brief Function for disabling all interrupts before jumping from bootloader to application.
*/
static void interrupts_disable(void)
{
NVIC->ICER[0] = 0xffffffff;
#ifdef NRF52
NVIC->ICER[1] = 0xffffffff;
#endif
}