Firmware update through ethernet using smp server and mcumgr #101745
Unanswered
Shreyas-CS15
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://docs.zephyrproject.org/latest/samples/subsys/mgmt/mcumgr/smp_svr/README.html#sample-image-hello-world
I followed the above document,
Using below command I build the sample application present in zephyr for stm32f767zi board
west build -b stm32f767zi --sysbuild samples/subsys/mgmt/mcumgr/smp_svr -- -DEXTRA_CONF_FILE="udp.conf"
I flashed the application using west flash this is also successful. when I reboot the board I'm getting both bootloader and application prints
mcumgr --conntype udp --connstring "192.168.10.1:1337" image upload E:\SMP_SVR_BIN\zephyr.signed.bin
By this I can confirm uploading is successfully
126.21 KiB / 126.21 KiB [=====================================================================] 100.00% 13.98 KiB/s 9s
Done
00:00:35.026,000] mcumgr_img_grp: Erased 0x40000 bytes of image slot
[00:00:35.049,000] smp_udp: Failed to allocate mcumgr buffer
[00:00:35.050,000] mcumgr_img_grp: Erased 0x40000 bytes of image slot trailer
Beta Was this translation helpful? Give feedback.
All reactions