完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
我正在尝试使用示例 sysview_tracing_heap_log 跟踪 ESP32s3 devkit 上的堆使用情况
此错误意味着什么: 代码:全选 Not enough args! Need 2 trace data destinations! Failed to init cmd ctx (-4)! gdb 的完整输出: 代码:全选 kaspernyhus@HP-ZBook:~/esp/sysview_tracing_heap_log$ xtensa-esp32s3-elf-gdb -x gdbinit build/sysview_tracing_heap_log.elf GNU gdb (esp-gdb) 11.2_20220823 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-linux-gnu --target=xtensa-esp-elf". Type "show configuration" for configuration details. For bug reporting instructions, please see: Find the GDB manual and other documentation resources online at: For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from build/sysview_tracing_heap_log.elf... 0x42016392 in esp_pm_impl_waiti () at /home/kaspernyhus/esp/esp-idf/components/esp_pm/pm_impl.c:839 839 } JTAG tap: esp32s3.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) JTAG tap: esp32s3.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) [esp32s3.cpu0] requesting target halt and executing a soft reset [esp32s3.cpu0] Debug controller was reset. [esp32s3.cpu0] Core was reset. [esp32s3.cpu0] Target halted, PC=0x500000EF, debug_reason=00000000 [esp32s3.cpu0] Reset cause (3) - (Software core reset) [esp32s3.cpu1] requesting target halt and executing a soft reset [esp32s3.cpu0] Core was reset. [esp32s3.cpu0] Target halted, PC=0x40000400, debug_reason=00000000 [esp32s3.cpu1] Debug controller was reset. [esp32s3.cpu1] Core was reset. [esp32s3.cpu1] Target halted, PC=0x40000400, debug_reason=00000000 [esp32s3.cpu1] Reset cause (3) - (Software core reset) [esp32s3.cpu0] Reset cause (3) - (Software core reset) Warning: 'flushregs', an alias for the command 'maintenance flush register-cache', is deprecated. Use 'maintenance flush register-cache'. Temporary breakpoint 1 at 0x42005258: file /home/kaspernyhus/esp/esp-idf/components/app_trace/heap_trace_tohost.c, line 36. Note: automatically using hardware breakpoints for read-only addresses. Temporary breakpoint 2 at 0x42005270: file /home/kaspernyhus/esp/esp-idf/components/app_trace/heap_trace_tohost.c, line 48. [esp32s3.cpu0] Target halted, PC=0x42005258, debug_reason=00000001 Set GDB target to 'esp32s3.cpu0' [esp32s3.cpu1] Target halted, PC=0x40043A40, debug_reason=00000000 [New Thread 1070541728] [New Thread 1070543616] [New Thread 1070537156] [Switching to Thread 1070541728] Thread 2 "main" hit Temporary breakpoint 1, heap_trace_start (mode_param=HEAP_TRACE_ALL) at /home/kaspernyhus/esp/esp-idf/components/app_trace/heap_trace_tohost.c:36 36 { Total trace memory: 16384 bytes Not enough args! Need 2 trace data destinations! Failed to init cmd ctx (-4)! |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
2139个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
37403 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
6797 浏览 1 评论
7823 浏览 1 评论
7665 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
5089 浏览 0 评论
1580浏览 2评论
关于NINA-W132 Wi-Fi模块SPI通信遇到的疑问求解
1223浏览 2评论
如何在MPC PowerPC MCU上首次刷写后禁用BDM?
768浏览 1评论
将HFREFR和LFREFR寄存器值设置为错误的值来将故障注入CMU,但CMU_ISR值始终为零,为什么?
757浏览 1评论
将SPSDK for FRDM-MCX-W71 SDK与VS一起安装时出现hidapi构建错误怎么解决?
698浏览 1评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-11 21:56 , Processed in 0.554581 second(s), Total 42, Slave 35 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
346