Hi,
I use 2 nrf52840 custom board, one is use a peripheral sensor with a lot of services and the other is used as a central with bt_shell_command.
Now i need to be able to upgrade the firware over BLE. I succed to have the MCUbootloader in my peripheral and also i use this project for my central :
https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu
I succed to add this code in command shell, upload an image in my peripheral and also boot on it.
But this project is incomplete for a final product, i have a lot of question about the use of smp_dfu.
1) How to load the app_update.bin (the one that i upload over BLE in my peripheral) from an external flash and without J-Link commander ? i want to load it from usb (nrf52840 Dongle).
2) How can i erase it when i finish to upload it on my peruipheral ?
3) I succed to upload it on my peripheral but i have 2 image on it, i want to have juste the new one and erease the old one. How can i have just one image on my peripheral ?
4) To boot with the new image i need to reset my peripheral, how can i do it ? The project mentione it but there was a lot of mistakle in it and the reset part don't work
Best regards,
Pierre-Yves