How to load a big file in the flash memory ( a binary file)

Hi,

I want to transfer an app_update.bin file from a pc linux to a dongle usb nrf52840. I tried to use the shell command flash load with dd :

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/shell/fs/README.html

But i have always a loss of a thousands of bytes more or less....

I want to transfer this file to be able to update an other nrf52840dk over BLE with my dongle (i use smp_services to do it). I succed to update the nrf52840 but i used loadbin to transfer the file app_update.bin. For my developpement i need to be able to ttransfer the file over usb, could you help me ? is there another way to do it ?

Maybe mcumgr ?

I don't find any example for doing this kind of operation... But it's critical to be able tio update a device nrf52840 with another nrf52840,, i really need help to succed in it

Best regards,

Pierre-yves

Parents Reply Children
No Data
Related