MultiProg Documentation

website·Indexed 31 days ago

https://kuraga.tech/docs/

Documentation for MultiProg, Windows software for MCU programming. Includes guides on interface elements, memory region navigation, and a Lua scripting API for custom checksums and operations. Also covers integration with hardware such as TGSN programmers, ST-Link (SWD), and USBDM, with specific support for NEC 78K, R8C, and TMPM series microcontrollers.

Tokens
67.2K
Snippets
214
Records
539
Agent score
58%

What's inside MultiProg

  1. Overview of MultiProg Lua Scripting

    MultiProg includes a built-in Lua scripting engine used to automate operations such as flashing, reading memory, patching bytes, and creating custom targets. Scripts are written as .lua text files and executed directly within the application without requiring a separate compilation step. The current API focuses on hex-buffer manipulation, file operations, and basic programming actions (connect, read, write, verify, erase).
  2. Overview of MultiProg capabilities and supported hardware

    MultiProg is a microcontroller programming utility designed for fast and intuitive operation. It supports various communication interfaces including JTAG/SWD, UART, I2C, and customized protocols.

    Supported programmers include:

    • USBDM
    • ST-Link
    • USB-UART
    • TGSN
    • ESP32
  3. Overview of the TGSN Universal Programmer

    TGSN is a semi-autonomous universal programmer based on the ESP32 Lilygo T Display S3, featuring an additional UART/GPIO module. It supports cloud computing and WiFi updates and works in conjunction with the MultiProg software.
  4. Overview of FlowMeter capabilities and use cases

    The FlowMeter is a reed switch (herkon) emulator and frequency recorder providing two isolated output channels (K1, K2) and two input channels (Line 1, Line 2). It is designed to emulate reed switch signals on test benches (e.g., flow sensors, water meter pulses), read actual reed switch frequencies from live appliances, and save/replay recorded values. The outputs are galvanically isolated and polarity-independent.
  5. Overview of the TGSN Universal Programmer

    TGSN is a universal programmer based on the ESP32 Lilygo T Display S3, equipped with an additional UART/GPIO module. It is designed to work in conjunction with the MultiProg software and supports cloud computing, WiFi updates, and functional expansions.
  6. Overview of MultiProg Lua Scripting

    MultiProg includes a built-in Lua scripting engine (version 5.5.1) that allows users to automate operations such as flashing firmware, reading memory, patching bytes, and creating custom targets. Scripts are written as .lua text files and executed within the MultiProg environment; no external compilation or separate Lua installation is required.
  7. Overview of FlowMeter functionality

    The FlowMeter application is a reed switch emulator and frequency logger. It provides two isolated output channels (K1, K2) and two input channels (Line 1, Line 2) for reading, recording, and reproducing low-frequency signals. It is primarily used for:

    • Emulating reed switch signals on test benches (e.g., flow sensors, water meters).
    • Reading actual reed switch frequencies from operating machinery.
    • Saving and reproducing recorded frequency values.

    The outputs are galvanically isolated and non-polar, making them safe for connection to any low-frequency signal line.

  8. Overview of KURAGA Tool hardware capabilities

    The KURAGA Tool is a modular universal tester-diagnoser-emulator designed for repair technicians. Its core hardware architecture includes a 220V relay, dry contact, UART, and a programmable power supply. The device supports up to 4 expansion submodules within a single enclosure.
  9. Overview of MultiProg microcontroller software

    MultiProg is a Windows software utility designed for working with microcontrollers from various manufacturers. It provides a user-friendly interface to perform read, write, erase, and verify operations. It supports multiple programming protocols including JTAG, SWD, UART, and I2C, and is compatible with various hardware programmers such as USBDM, ST-Link, USB-UART, and TGSN.
  10. Use the RMT as a Programmable Power Supply (PPS)

    The PPS application transforms the Repair MultiTool (RMT) into a compact bench power supply for powering non-standard modules or boards with custom voltage requirements. While other applications (like MotorPumpDrive) handle power automatically via firmware, the PPS app allows for manual voltage control.
  11. Understand MC56F84xxx memory segmentation (FlexNVM and FlexRAM)

    The 56F844x/5x/7x controllers use an Enhanced EEPROM (EEE) emulator implemented via wear leveling. The memory is split into two physical segments: FlexNVM (Data Flash/D-Flash) and FlexRAM. These are logically divided into three purposes:

    1. D-Flash: Data memory for constants.
    2. EEE: EEPROM emulation, which acts as a mirror of the EEPROM in FlexRAM.
    3. EEPROM_backup: A compressed backup of the EEPROM with no direct user/programmer access.

    Writing to EEPROM involves writing to FlexRAM (EEE), which the controller then internally compresses and saves to EEPROM_backup. Reading requires unloading from EEPROM_backup back into FlexRAM (EEE).

  12. Contract electronics and software development services

    KURAGAtech provides contract development services including:

    • Hardware: Circuit diagrams, component selection, PCB layout, and 3D modeling.
    • Infrastructure: Cloud updates, OTA (Over-the-Air) update implementation, and automation for embedded devices using server solutions.
    • Software: Development of embedded and desktop applications.