Skip to content

Getting started

DM777-ms edited this page Sep 12, 2024 · 9 revisions

Install VS 2022

Install Rust

rustup.rs - The Rust toolchain installer

Install flip-link

cargo install flip-link

Install probe-rs

cargo install probe-rs-tools --git https://github.com/probe-rs/probe-rs --locked --force

Install git from git-scm.com (if you don't already have it installed)


Take a look at Rust Learning References

Rust Learning References · pop-project/embassy-imxrt Wiki (github.com)


Install Visual Code

Add Rust related extensions to VC

VS Code Debugger with RT685EVK · pop-project/embassy-imxrt Wiki (github.com)

Programming RT685EVK · pop-project/embassy-imxrt Wiki (github.com)


Install newest Jlink driver

SEGGER - The Embedded Experts - Downloads - J-Link / J-Trace

To use Jlink debug probe, v11 or newer that DOES support winusb:

Connect probe to host pc

Run c:\program files\segger\jlink[version]\jlinkconfig.exe

Change driver mode of probe to Winusb

To use Jlink debug probe, v10 or older that does not support windusb:

Install Zadig - USB driver installation made easy (akeo.ie)

Change Jlink driver from Jlink to winusb

If probe-rs or VC debug hits a blocking error with jlink:

Close any active debug session

Run:

c:\program files\segger\jlink[version]\Jlink.exe -device MIMXRT685S_M33 -if SWD -Speed 4000

connect

Q or ctrl+c to close jlink.exe

Then try debugging again

Clone this wiki locally