ModusToolbox Assistant – User Manual

Everything you need to create, configure, and maintain ModusToolbox applications inside VS Code.

Table of Contents

1. Overview & Requirements

ModusToolbox Assistant integrates Infineon ModusToolbox workflows into VS Code. It provides project creation, BSP/content management, device kit awareness, tool installation, and deep IDE integration.

Main Capabilities

  • Create ModusToolbox applications from BSPs and code examples
  • Manage local BSP content for online/offline use
  • Inspect application status, fix tasks/settings, rebuild
  • Install ModusToolbox tools and the LLVM toolchain
  • Manage connected DevKits and update firmware
  • Browse documentation, examples, and community links
  • Configure extension and workspace settings

Prerequisites

  • VS Code 1.71.0 or later
  • ModusToolbox 3.2+ (not compatible with 2.x, 3.0, or 3.1)
  • Recommended extensions: clangd Cortex-Debug
  • Toolchains and utilities can be installed from inside the extension
  • Optional: Internet access to fetch manifests/BSPs

2. Installation & First Run

  1. Open the Extensions view (Ctrl+Shift+X) and search for ModusToolbox Assistant.
  2. Click Install and reload VS Code when prompted.
If you're behind a proxy/firewall, configure network access in VS Code or system settings before first use. For fully offline operation, enable Local Content mode and populate BSPs in Local Content Storage.

3. UI Tour & Navigation

By default, the ModusToolbox Assistant page is displayed when Visual Studio Code is opened. This can be changed in the Visual Studio preferences to never open automatically, or only open when a ModusToolbox application is loaded. The UI is tabbed and responsive to VS Code dark/light themes.

Main Tabs

  • Getting Started – Orientation, quick steps, and feature overview
  • Create Project – 4‑step wizard for new applications
  • Recently Opened – Jump back into recent apps
  • Application – Project health, build/program/erase, memory
  • DevKit List – Connected kits and BSP association
  • Local Content Storage – Manage BSP packages (offline mode)
  • Settings – Extension/workspace preferences
  • Glossary – ModusToolbox Terminology and definitions
  • User Guide – Built‑in documentation

4. Create Project Wizard

Use the guided wizard to create a new ModusToolbox application based on a Board Support Package (BSP) and optional code examples.

Steps

  1. Project Information: Enter application name and location (validation enforces safe names/paths); choose configuration (Debug/Release).
  2. BSP Selection: Pick a BSP from available boards. Categories, search, and manifest status help narrow the list.
  3. Example Selection: Browse by category; select one or more examples to include.
  4. Review & Create: Confirm summary and create the application. Progress and any errors are streamed from the backend.

5. Application Status & Actions

Aggregates project details, tools, middleware, documentation, and memory snapshots. Provides one‑click fixes when tasks/settings are missing or out of date.

What You See

  • Project list with missing asset indicators and details
  • Tools and middleware detected for each project
  • Documentation links per project and globally
  • Current configuration and theme awareness

Actions

  • Automatically create file required for Visual Studio Code support if they are missing
  • Update VS Code tasks and settings as needed by the extension
  • Open project folder or README
  • Run build actions: Build, Rebuild, Clean
  • Program options: Program or Quick Program (toggle via menu)
  • Erase options: Erase (internal) or Erase All (internal + external) (toggle via menu)
  • Launch tools: Device Configurator, Library Manager
  • Quick Tasks: run curated tasks (if available)
  • Refresh application and rescan environment

Build/Program/Erase Controls

For memory analysis, see Memory Usage View.

6. Recently Opened

Track and reopen recent applications with timestamps and BSP metadata. Use Open

7. Local Content Storage

Manage locally stored content for offline development. Content is selected by selecting specific BSPs. All content associated with a BSP is included.

The assistant computes in/not in lists against the active manifest and indicates when updates are needed. In Local Content operating mode, the manifest is read from your LCS path.

8. DevKit Management

Enumerate connected Infineon development kits, show firmware versions, features, bridging types, and BSP association.

9. Settings & Preferences

Configure both assistant and workspace settings with validation and inline tips.

Auto‑display

Setting: mtbassist2.autodisplay – choose when the main page appears automatically on startup.

10. Documentation & Help

11. Memory Usage View

Visualize application memory in a 3‑level hierarchy: Physical Memory → Regions → Segments. Inspect names, start addresses, sizes, and section stacks per segment.

Display Details

Expand/Collapse Behavior

12. Commands, Menus & Shortcuts

Commands

Context Menu

In C files, right‑click and choose Display documentation for symbol to open relevant docs.

Terminal Profile

Profile: ModusToolbox Shell – use for environment‑aware shell sessions.

Keybindings

13. Troubleshooting

Common Issues

Where to Look

14. FAQ

Does the assistant work offline?

Yes, when BSPs are available in Local Content Storage and cached manifests are present. Some features (example fetching) may require connectivity.

Can I change the default tools install path?

Yes, configure the tools path in Settings. The installer will honor this location.

How do I switch the IntelliSense project?

Use the command palette entry Set Intellisense Project or the control within Application Status if present.

15. About

Version: 2.x (see VS Code Extensions view for the exact version).

Copyright © C And T Software. Licensed under the Apache License 2.0.