Published 2/2023
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 448.69 MB | Duration: 0h 45m
The Rust debugger you didn’t know you need
What you’ll learn
Install the embedded Rust toolchain
Run your first embedded Rust application
Embedded Rust debugger Installation and Visual Studio Code Integration
Embedded Rust application debugging
Requirements
No programming experience is necessary. However, the fact that you are here shows me you may already know some Rust.
During the courses initial chapters we install and configure all the tools we’ll need
Description
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.
Overview
Lecture 1 Introduction
Section 1: Embedded HelloWorld
Lecture 2 Rust Installation
Lecture 3 Installing Rust Target Toolchain
Lecture 4 Probe-Run Installation
Lecture 5 Blinky HelloWorld!
Section 2: Rust Embedded Debugger Installation
Lecture 6 Visual Studio Code Installation
Lecture 7 Probe-Rs Debugger Installation
Section 3: Embedded Rust Debugger usage
Lecture 8 HelloWorld Blinky: MetroM4
Lecture 9 HelloWorld Blinky: STM32 Discovery
Lecture 10 Simultaneous Debug Sessions
Section 4: Final Notes
Lecture 11 Final Notes
Beginner embedded Rust developers
HOMEPAGE
https://anonymz.com/?https://www.udemy.com/course/embedded-rust-debugging/
Reviews
There are no reviews yet.