Skip to content

Just like probe-run but targeting the Tricore-Architecture

Notifications You must be signed in to change notification settings

mc-cat-tty/tricore-probe

 
 

Repository files navigation

Tricore-Probe: Run rust effortlessly on Tricore chips

tricore-probe is an effort to deploy and debug rust programs with little effort on Tricore chips. It uses publicly available Infineon tools to interface with the chips debug controller. As its name suggests, it is inspired by probe-run and depends on the defmt framework to integrate seemlessly just as probe-run does.

This program can be configured as a runner. Check main.rs for additional configuration options.

Requirements

This program has various dependencies that must be installed for this program to work properly:

  1. Infineon DAS tool
  2. Infineon Memtool 2021.08: When installing this program make sure the environment variable MEMTOOL_PATH is set to the root of the memtool installation. If the environment variable is not set a default path is assumed that should work if the install path was not changed during installation.
  3. defmt-print CLI utility
  4. objcopy CLI utility
  5. addr2line CLI utility
  6. Rust nightly toolchain

You can obtain the last two applications e.g. as part of the MinGW-w64 project.

Known flaws

This application is still in development and has some known drawbacks. If you find something that is not listed here, feel free to open an issue or leave us a message.

  1. For flashing to work seemlessly the chip you are trying to flash should be configured as the default settings in the Memtool application.
  2. Memtool and DAS are only available on windows. This is a big problem since we at Veecle require a working linux version. We thus created a dockerized setup that allows us to use these tools in linux with little overhead. Check tricore-docker/README.md for more information.

About

Just like probe-run but targeting the Tricore-Architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.5%
  • Rust 12.5%
  • Makefile 3.9%
  • C++ 1.6%
  • Rich Text Format 0.4%
  • Dockerfile 0.1%