You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2023/06/26 15:07:50 UTC
[GitHub] [nuttx] acassis opened a new issue, #9624: Support to save crash dump in the flash
acassis opened a new issue, #9624:
URL: https://github.com/apache/nuttx/issues/9624
Currently there is not a simple way to save crash dump in the flash.
This information (crash dump) could be lost on systems running in the field with watchdog enabled.
Related issue: https://github.com/apache/nuttx/issues/3417
Ref: https://cwiki.apache.org/confluence/display/NUTTX/Debug+Output+%28SYSLOG%29+Issues
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] acassis commented on issue #9624: Support to save crash dump in the flash
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #9624:
URL: https://github.com/apache/nuttx/issues/9624#issuecomment-1608067940
Thank you very much @xiaoxiang781216 I'll try it and write a Guide in our documentation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 commented on issue #9624: Support to save crash dump in the flash
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #9624:
URL: https://github.com/apache/nuttx/issues/9624#issuecomment-1607774916
You can try:
https://github.com/apache/nuttx/blob/master/binfmt/binfmt_coredump.c#L46
with:
https://github.com/apache/nuttx/blob/master/libs/libc/stream/lib_mtdoutstream.c
to save the core dump to flash and follow https://github.com/apache/nuttx/pull/4871
or with:
https://github.com/apache/nuttx/blob/master/sched/misc/assert.c#L642-L646
to sieral and follow the https://github.com/apache/nuttx/pull/9369
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 commented on issue #9624: Support to save crash dump in the flash
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #9624:
URL: https://github.com/apache/nuttx/issues/9624#issuecomment-1608844894
BTW, you can even get the local variables with the default panic log by minidump server: https://github.com/apache/nuttx/pull/5836
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org