GithubHelp home page GithubHelp logo

armink-rtt-pkgs / cmbacktrace Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 15.0 117 KB

Advance backtrace library for ARM Cortex-M series MCU | ARM Cortex-M 系列 MCU 错误追踪库

License: MIT License

Python 0.87% C 99.13%

cmbacktrace's People

Contributors

armink avatar chenxuanzhao avatar guozhanxin avatar hg0720 avatar lawlieta avatar wdfk-prog avatar yangjie11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cmbacktrace's Issues

是否能有个小视频教大家使用?

能否举例在rt-thread studio下如何使用CmBacktrace定位hardfault的例子,文字说明看了不太明白,记得原来用过一次不过忘了。
CmBacktrace用到的究竟支持哪些文件“.out"?“.axf"?“.hex/elf"?,如果是axf如何生成?

cmb_test 定位错误

测试环境 rtt5.1.0 nrf52832
add2line用的是https://github.com/armink/CmBacktrace/tree/master/tools/addr2line/win64
编译成功运行后分别进行如下测试

cmb_test ASSERT
PS *\build\keil\Obj> addr2line.exe -e rtthread.axf -afpiC 000176c2 0001830e 00029424 00027186
0x000176c2: assert_hook at */rt-thread/src/timer.c:?
0x0001830e: cmb_test at */rt-thread/components/finsh/shell.c:?
0x00029424: _msh_exec_cmd at */rt-thread/components/finsh/msh.c:294
(inlined by) msh_exec at */rt-thread/components/finsh/msh.c:503
0x00027186: finsh_get_prompt at */rt-thread/components/finsh/shell.c:95
(inlined by) finsh_thread_entry at */rt-thread/components/finsh/shell.c:648

cmb_test UNALIGNED
PS *\build\keil\Obj> addr2line -e rtthread.axf -afpiC 00018374 00018372 00029424 00027186
0x00018374: cmb_test at */rt-thread/src/timer.c:?
0x00018372: cmb_test at */rt-thread/components/finsh/shell.c:?
0x00029424: _msh_exec_cmd at */rt-thread/components/finsh/msh.c:294
(inlined by) msh_exec at */rt-thread/components/finsh/msh.c:503
0x00027186: finsh_get_prompt at */rt-thread/components/finsh/shell.c:95
(inlined by) finsh_thread_entry at */rt-thread/components/finsh/shell.c:648

cmb_test DIVBYZERO
PS *\build\keil\Obj> addr2line -e rtthread.axf -afpiC 0001832e 0001832c 00029424 00027186
0x0001832e: cmb_test at */rt-thread/src/timer.c:?
0x0001832c: cmb_test at */rt-thread/components/finsh/shell.c:?
0x00029424: _msh_exec_cmd at */rt-thread/components/finsh/msh.c:294
(inlined by) msh_exec at */rt-thread/components/finsh/msh.c:503
0x00027186: finsh_get_prompt at */rt-thread/components/finsh/shell.c:95
(inlined by) finsh_thread_entry at */rt-thread/components/finsh/shell.c:648

为什么都没有定位到实际位置呢,,可能什么原因,感谢

spi_flash存储死机日志问题

使用cmb_flash_log_println或者ulog输出到外部spi flash中场景:

hardfault中断中,最终会调用spi 操作, 会存在使用mutex锁情况。

中断中不能使用mutex锁, 是否存在此问题,导致输出异常?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.