|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/embedded-rust-debugging/
课程评论:没有评论
这门Coursera课程“嵌入式 Rust 调试”主要介绍并演示如何使用一个名为“probe-rs debugger”的新兴工具来简化嵌入式 Rust 应用程序的调试过程。 课程指出,虽然嵌入式软件工程师通常依赖调试器来检查软件和硬件(如微控制器内存、外设和寄存器),但许多官方集成开发环境(IDEs)仅支持 C 和 C++,而不支持日益流行的嵌入式 Rust。目前,大多数 Rust 调试工具是命令行驱动的,如 OpenOCD 和 GDB,它们功能强大但学习曲线陡峭。 “probe-rs debugger”旨在填补这一空白,通过提供一个图形化界面,使嵌入式 Rust 调试体验更接近主流 IDE 的友好程度。该工具将与 Visual Studio Code 编辑器配合使用,旨在使嵌入式 Rust 调试“更快、更愉快、更容易”,尤其适合初学者。 课程目标是演示如何从零开始设置和配置“probe-rs debugger”,并通过在 Microchip 和 STM32(Cortex-M4)微控制器平台上进行实际操作来教授其使用方法。完成课程后,学员将能够同时调试多个应用程序。
Welcome everyone to this brief tutorial where you will be presented to a very useful tool: an embedded Rust debugger.If you are a software engineer you know how useful a software debugger can be at times to debug your applications. If you are an EMBEDDED software engineer you know how useful a debugger can be not only to debug your software but also hardware since a debugger provides visibility of hardware configuration such as the microcontroller internal memory, peripherals and overall registers.Typically most chip manufacturers have their own Integrated Development Environments (IDEs) which include their own integrated debugger. However, these IDEs only allow for embedded software to be developed in C and C++ programming languages. Rust is currently not supported.Rust is a new system programming language which is becoming increasingly adopted in the development of embedded applications, but because it is not supported by the mainstream IDEs, most Rust development tools are open source.and this includes embedded debuggers!At the moment, most Rust debugging options consist of command line based tools like OpenOCD and or GDB. OpenOcd and GDB are a fantastic tools which all embedded software engineer should at some point learn and be proficient with. However, as any tool, there are associated learning curves and the associated time necessary learning time.and, as we all know, time is not always available!As such, I'd like to present you a fantastic project which is currently under development which makes the embedded Rust debugging experience similar to the one provided by most mainstream graphical interfaces tools one is used to when using most mainstream IDEs. This new embedded Rust debugger is called "Probe-rs debugger" and is meant to be used with Visual Studio Code editor. Probe-rs debugger fills a void in the embedded Rust development world and makes the embedded Rust debugging experience much faster, more pleasant and easier specially for beginners.The objective of this brief course is to demonstrate how to setup and use the probe-rs debugger by providing practical examples using two platforms: a microchip and a stm32 CortexM4 based microcontrollers.Starting from a clean state, we will install all the necessary tools and learn how to configure them.By the end of this brief tutorial, you will be able to debug more than one application simultaneously.