Change Note 2026-04-18

lib/v3.1, debugging.

lib/v3.1

  • The framework is now ported to v3.1 for: RP2350, STM32U585, and STM32H573.
  • This needs documentation – working on it.
  • Systematic start-up: check out directories startup and modules Main for each MCU.
  • Modularised support for peripheral devices and their base definitions:
    • check out directories base and sub-directories for XXX_DEV and YYY_SYS modules;
    • XXX_DEV: definitions for devices used for the actual control program;
    • YYY_SYS: definitions for devices used to configure and run the MCU itself;
    • the single-device definitions are then consolidated into one single DEV and one single SYS modules to avoid unncessary numbers of modules that are imported and linked; at the moment, the modules in the framework (eg. UART) still import their specific modules, but DEV and SYS have been generated (tool gen-dev).
  • Secure/Non-secure support is implemented for all three Cortex-M33 MCUs:
    • check out test/example programs SecureX
      • U585 and H573: Secure5
      • RP2350:
        • without flash partitions: Secure6 (no QMI address translation)
        • with flash partitions: Secure7 (uses QMI address translation)
  • Added detailed build and load instructions
  • The new deterministic Stacktrace has been verified to work with the S/NS programs.

Debugging

  • Debugging works consistently with both single-image and S/NS dual-image programs.
  • See the build and load instructions how to make the corresponding ELF files containing the necessary DWARF debug data.
  • See Debugging for more instructions on debugging.

Example/Test Programs

  • Other than the Secure/Non-secure programs listed above, several other example and test programs are ported to lib/v3.1 – see the repo.

Other Documentation

Website

  • This website is not exactly up-to-date in many respects.
  • I am working on a better structure to
    • better accomodate the new MCUs, design aspects (eg. S/NS), and framework versions;
    • make the maintenance work easier.
Updated: 2026-04-18