Replies: 2 comments
-
I investigated further and found that the crash occurs during the flash section erase operation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
PTAL: #78121 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone managed to use
mcumgr
overudp
on aesp32s3
?I'm developing on an
esp32s3_devkitm
and want to enable OTA firmware updates usingmcumgr and mcuboot over a UDP
interface. To experiment with this, I modified theprj.conf
file of thesamples/net/wifi example
to enablemcuboot
andmcumgr
. See the attached file for details. prj.confAfter flashing the firmware and connecting to a Wi-Fi network, I can retrieve image information using the
go-app
andAuTerm
. For example, with thego-app
:mcumgr --conntype udp --connstring=[x.x.0.60]:1337 image list Images: image=0 slot=0 version: 0.0.0 bootable: true flags: active confirmed hash: 60e5eb52f59451a3db2ec9e978b13c0c8485577dd6787684e216069341bdf80b Split status: N/A (0)
However, when I try to upload an image, the firmware becomes unresponsive and freezes:
./mcumgr --conntype udp --connstring=[x.x.0.60]:1337 image upload zephyr.signed.bin # starts freezing...
Output zephyr:
I ran the debugger in parallel, and when I interrupted GDB (Ctrl+C) after the firmware started freezing, it pointed to _DoubleExceptionVector.
Output GDB:
Uploading over
serial
works without any issues, so it seems to be specifically related to the UDP interface.Does anyone have any ideas on how to debug this?
Beta Was this translation helpful? Give feedback.
All reactions