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.
This program has various dependencies that must be installed for this program to work properly:
- Infineon DAS tool
- 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. defmt-print
CLI utilityobjcopy
CLI utilityaddr2line
CLI utility
You can obtain the last two applications e.g. as part of the MinGW-w64 project.
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.
- For flashing to work seemlessly the chip you are trying to flash should be
configured as the default settings in the
Memtool
application. - 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.