Skip to main content
Loading...

Infineon Memtool 49 -

The Infineon On-Chip Memory Programming Tool (Memtool) v4.9 is a free software utility designed for programming on-chip flash and OTP memory devices for Infineon microcontrollers. It is primarily used for automotive and industrial embedded development, allowing engineers to erase, program, verify, and protect memory modules. Key Capabilities and Features

Memory Operations: Allows full or partial erasing, programming, and verification of flash sections using Intel Hex-Files.

Protection Management: Users can set or reset chip and sector protection, including read/write protection with password settings. Supported Device Families:

AURIX™ / TriCore™: Including preliminary support for newer models like TC49x A-step. XMC™ Series: XMC1000 and XMC4000 families. Legacy Families: XC800, XC16x, and XC2000. infineon memtool 49

Communication Interfaces: Supports target connection via standard RS232 (ASC), VCOM, miniWiggler (DAP/JTAG), and the Infineon Device Access Server (DAS).

Automation: Includes support for batch commands, enabling automated programming scripts for production or testing environments. Getting Started with Memtool 4.9

Installation: The tool runs on Windows 10 or newer. Ensure the latest DAS server package (often included in the installer) is installed for JTAG/DAP communication. Configuration: Open the application and navigate to Target > Change. The Infineon On-Chip Memory Programming Tool (Memtool) v4

Select the correct device family and chip model from the provided configuration files. Connection: Connect your target hardware (e.g., via a miniWiggler).

For AURIX devices, ensure the hardware configuration pins (HWCFG) are set to the correct mode, such as "Generic Bootstrap" if using BSL mode. Programming: Load your .hex firmware file.

Click "Connect" and, once ready, execute the "Program" command to initiate the sequence of erasing and writing to memory. Key features in MemTool 4.9

For the most up-to-date version and official documentation, visit the Infineon Memtool download page. Infineon Flash Programmer Memtool for XMC1000 Family

Memtool is Infineon’s proprietary, low-level memory programming and debugging tool for their TriCore™, AURIX™, and legacy C166/XC166 microcontroller families. Version 4.9 represents a mature, stable release before the transition to newer tools like AURIX™ Memtool or integration into Infineon Development Studio (IDS).

Below is a detailed, engineering-focused deep dive.


2. Key Features

Advanced features

  • Scripting/automation: Use command-line parameters or batch scripts (if supported in that release) to program many units unattended.
  • Partial programming: Program only selected memory ranges or pages to preserve calibration data.
  • Custom device definitions: Import or edit device definitions when working with new or custom parts (requires care; incorrect definitions risk bricking devices).
  • Secure programming: Tools to handle device security bits—follow device datasheet guidance strictly.

❌ Weaknesses & Limitations

  1. Does NOT Support Modern Infineon Families – No AURIX (TC2xx/TC3xx), PSoC, XMC4000, or TRAVEO. For those, you need Infineon Programming Tool or a debugger like MiniWiggler.
  2. Outdated UI – Looks like a 2005 Windows app. Small non‑resizable windows, awkward file path handling.
  3. Driver Issues on Windows 10/11 – Legacy DAS drivers may need manual installation. UART mode is fine; JTAG via DAS can be finicky.
  4. No Security/Protection Features – Can’t handle HSM or advanced flash protection (use UDE or iSYSTEM for that).
  5. Slow for Large Flashes – UART typically 115200 baud → programming 128KB takes noticeable time.
  6. Poor Documentation – Infineon’s official help file is sparse. Community forums fill the gaps.

e) Target Connection Options

  • Infineon DAS (Debug Access Server) – standard for all MiniWiggler/J-Link adapters.
  • Direct USB (for certain on-board debuggers).
  • CAN bootloader (requires CAN interface, e.g., PCAN-USB).
  • UART bootloader (legacy C166).

Best Practices for Using Infineon MEMTool 49

To avoid bricking devices or corrupting your flash, adhere to these rules:

  1. Verify Clock Settings: Always double-check the external clock frequency. An incorrect setting will cause baud rate errors and unpredictable programming.
  2. Use Slow Speeds for Bootstrap: 115200 baud might work on a bench but fail in noisy factory environments. Use 19200 for production.
  3. Backup Entire Flash First: Before programming a customer-board, use Target > Upload to File to read the existing flash and EEPROM contents.
  4. Separate Bootloader and App: Program the bootloader sector first with MEMTool, then use locking options to protect it. Then program the application via UART.
  5. Log Everything: Enable Options > Log to File. This creates a timestamped record of every programming action—invaluable for ISO/TS 16949 compliance.

Step 6: Reset and Run

  1. After successful programming, your MCU is in a halted state.
  2. Find the "Reset" button (often a button with a circular arrow icon) or use the command to start execution.
  3. Alternatively, power cycle the board.

Key features in MemTool 4.9

  • Device support: Added or updated support for additional Infineon microcontrollers and serial EEPROM/flash memories compatible with Infineon programming adapters.
  • Improved device database: Expanded and corrected device definitions to ensure reliable read/write/erase operations.
  • Enhanced stability: Bug fixes addressing programming failures, UI crashes, and edge-case communication errors.
  • Updated adapters and interfaces: Support for newer Infineon programmers and USB-to-serial interfaces; improved handling of driver installation.
  • Scripting and batch operations: Better support for automated programming sequences and command-line invocation where applicable.
  • Data integrity checks: CRC/verify improvements and more robust verification flows after programming.