|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/esp32-c3-jtag-debug/
课程评论:没有评论
Coursera 课程总结:ESP32-C3 JTAG 调试 本课程专注于如何使用 GDB 和 OpenOCD 对 ESP32-C3 固件软件进行 JTAG 调试。 **课程重点内容包括:** * **设置和管理断点 (Break command):** 学习添加、查看、删除断点,以及设置临时断点。 * **监视变量 (Watch command):** 掌握如何监视不同类型变量(整数、指针、表达式)的值。 * **单步调试 (Next, Step, Until command):** 学习如何逐行执行代码,控制调试流程。 * **打印和修改变量值 (Print command):** 学习如何打印整数、数组、字符串、结构体等变量的值,以及如何通过 print 命令修改变量值。 * **自动显示变量值 (Display command):** 了解如何设置 Display 命令自动显示变量的值。 * **通过内存地址查看变量值 (Examine command):** 学习如何根据内存地址查看变量的值。 * **查看变量类型 (Ptype, whatis command):** 学习如何查看变量的数据类型。 * **代码回溯和堆栈信息 (Backtrace, where, frame command):** 学习如何通过堆栈信息追踪代码执行路径。 * **控制代码执行流程 (Jump command):** 学习如何使用 Jump 命令跳过代码、重复执行代码或执行特定分支代码。 * **设置变量和环境变量 (Set command):** 学习如何设置代码变量和环境变量的值。 * **自定义 GDB 命令 (Define command):** 学习如何使用 Define 命令创建新的 GDB 命令。 **请注意:** 本课程基于 ESP32-C3 USB JTAG 开发板,而非普通的 ESP32 开发板。更多信息请参考讲座 4。
This course focus on how to use GDB to implement the JTAG debug for ESP32-C3 firmware software through OpenOCD.We will learn the JTAG debug skill for the following GDB commands:(1) Break command: learn how to add break point at different positions of the code, how to check the break point information, delete break point and set the temporary break point;(2) Watch command: learn how to watch the value for different types of variables, such as, integer, pointer and expression;(3) Next, Step, Until command: Learn how to debug the code step by step;(4) Print command: learn how to print out data value for the integer, array, string, struct and variables in different functions and files, also included how to set data with different values by print command;(5) Display command: learn how the display command automatically show the variables' value;(6) Examine command: learn how to show variables' value according the memory address;(7) Ptype, whatis command: learn how to show the type of the variables;(8) Backtrace, where, frame command: learn how to trace the code by the stack information;(9) Jump command: learn how to ignore code, repeat code and run branch code by the jump comand;(10) Set command: learn how to set "code" variable value and how to set "environment" variable value;(11) Define command: learn how to create a new "command" by using define command;NOTES:The course is based on one ESP32-C3 USB JTAG board, NOT one normal ESP32 board. You can get more information from lecture 4.