SeggerManager 10.0.6-alpha.0.10

SEGGER Manager

iDEA's .NET support package for SEGGER production flash programming and integration with IDEA Test Executive.

Device support

Device / path Current repository support
Flasher Pro XL Named supported programmer. SeggerFlashProgrammer implements the Flasher remote interface over RS232 serial or Ethernet/Telnet (port 23).
Other Flasher models No model-specific compatibility matrix or validation evidence is recorded here; sharing the remote protocol does not establish support.
J-Link PRO SeggerJLinkProgrammer / SeggerJLinkService implement Infineon AFU OpenOCD over USB/SWD for TRAVEO II 6M main/work HEX. B1 connection/reconnection, verification-mismatch diagnostics, and authorized erase/program/verify passed on hardware; boot appears okay per user report following the programming/power-cycle handoff.

Programmer support and target MCU support are separate. The target is configured through SEGGER project/configuration files. This repository does not maintain a supported MCU list. Toyota 780B/920B fixtures, an S6J326C file, and a CYT3BB8CEB_M7_0 CLI example are examples, not a compatibility guarantee.

How it works

  • SeggerFlashProgrammer connects to a Flasher, selects files already on its storage, and sends remote commands. Operations include erase, program, verify, combined erase/program/verify (EPV), patched programming, cancellation, status queries, and starting the target application.
  • File operations upload/download, list, delete, create directories, and compare files using CRC and size. Programming normally uses matching .CFG and .DAT files selected by their common path without extensions.
  • SeggerFlashService integrates programmers with IDEA Test Executive device descriptors, nests, default/security models, and verification state. SeggerTestMethods exposes the corresponding test steps.
  • The separate SeggerCLIManager executable project (in the SeggerJLinkManager directory) contains JFlashManager for generating .dat files from S-record input and initializing the remote interface, plus JLinkLockErase for running a J-Link command file over JTAG. Its console entry point contains machine-specific paths and a target name that must be reviewed before use. Remote-interface initialization connects and erases the target.
  • FlashLoader contains native interop scaffolding with an unresolved __Internal library name and a hard-coded erase layout; it is not a ready-to-use general programming backend.

Requirements and use

The projects target .NET 10. Restore requires access to the configured NuGet sources, including the iDEA packages in nuget.config. CLI workflows use locally installed SEGGER Windows executables (JFlash.exe / JLink.exe) and matching project/command files. Cross-platform device operation has not been established by this repository.

For direct Flasher access, create SeggerManager.Devices.SeggerFlashProgrammer, call SetConnectionProperties(comPort, baudrate) or SetConnectionProperties(ip), then Connect(). Ethernet setup reads the seggerFlash settings node through IDEA's SettingsManager; initialize application settings first. Upload the required files if needed, select them with SelectProgramFiles(commonFilepath), and run the required operation. Call Kill() when finished, including on failure. Erase/program operations modify the connected target; use approved firmware and configuration.

IDEA integration uses HardwareDeviceType.SeggerFlasherProXl (IDEA 10.7.0). Register SeggerFlashService with that identity. Before loading legacy configuration, back up the file and replace device "type": "SeggerProgrammer" with "type": "SeggerFlasherProXl", retaining all other fields and settings. The old name is no longer recognized; its numeric identity 29 is unchanged. Register SeggerJLinkService separately under HardwareDeviceType.SeggerJLinkPro for the OpenOCD backend. See M1 migration and verification.

An initialized SeggerFlashService also implements SeggerManager.Services.Interfaces.ISeggerProgrammingService: Erase(nestIndex), ProgramOnly(nestIndex), Verify(nestIndex), and EPV(nestIndex) dispatch to the device assigned to the zero-based nest. Load and validate the required model first; these operations use the device's current configuration. EPV preserves the Flasher's combined command. SeggerJLinkService implements the same contract with its own device/descriptor. Operation failures and disconnects invalidate backend-specific model/verification state. Common test methods choose the service by nest; ambiguous assignments fail explicitly.

Use the Infineon Auto Flash Utility 1.4 bundled OpenOCD and scripts, with the J-Link USB driver prepared separately (libusbK in the current setup). Register HardwareServiceFactory.Register<SeggerJLinkService>(HardwareDeviceType.SeggerJLinkPro) before loading devices. Configure the separate seggerJLink settings node:

{
  "openOcdExePath": "C:/Program Files (x86)/Infineon/Auto Flash Utility 1.4/bin/openocd.exe",
  "scriptsPath": "C:/Program Files (x86)/Infineon/Auto Flash Utility 1.4/scripts"
}

The J-Link descriptor uses an empty IDEA connection and data fields serialNumber, targetConfiguration, targetInterface, and interfaceSpeedKhz. For the checked probe: 177003959, target/traveo2_6m_b1.cfg, swd, and 2000. Read-only detection reported silicon 0xE816, revision 0x22 (B1), device CYT4DNJBFS. The user approved the matching B1 script, superseding the earlier revision A assumption. The supplied A script is also accepted; other target scripts remain unsupported.

Supply the approved premerged host HEX through the current model parameter SeggerMergedHexFilepath. SeggerJLinkService.LoadModel(modelProvider, nestIndex) or the existing SeggerLoadDefaultModel step validates and loads that input without writing the target. Common erase/program-only/verify/EPV test methods validate the current model first. Security-model loading stays Flasher-specific. Direct users construct SeggerJLinkProgrammer(descriptor, settings), call ConnectAsync, then LoadFirmwareAsync(modelId, path), and always call KillAsync in a finally block. Connection resets/halts the MCU; IsConnected describes the last successful probe check, not a persistent USB session.

The device offers async erase/program-only/verify/EPV methods with cancellation tokens, plus synchronous adapters for the existing IDEA contract. Each process has a five-minute limit; cancellation kills its process tree. Kill cancels active work and clears model/verification state. Access is serialized across J-Link instances. Changing/reloading firmware clears verification; changed file contents require reloading, and the input stays read-locked during an operation. Internal model versions prevent an in-flight operation from restoring invalidated readiness.

Only sorted, nonoverlapping Intel HEX data inside main 0x10000000-0x1062FFFF and work 0x14000000-0x1401FFFF flash is accepted. SFlash/EFuse and other regions are rejected before process execution. The backend never relaxes SFlash restrictions: the batch's separate sflash_restrictions 2 process is not relied upon for persistence, and the approved main/work image does not require SFlash programming. EPV retains main erase, work erase, and vendor combined program/verify process order. Program-only uses flash write_image without erase/unlock/verify; verify uses verify_image.

Initial read-only comparison found a mismatch at 0x10000000. After explicit user authorization, main/work erase, programming of the approved 76997X_Output_Merged.hex, and independent verification all passed: 6,504,448 bytes written and verified on probe 177003959 with the B1 script at 2000 kHz. The target now reports a vector table at 0x10000000. Following the manual power-cycle handoff, the user reported boot appears okay. This is user-observed evidence; the power-cycle procedure was not separately logged and application functionality was not independently tested. The destructive acceptance fixture is explicit and requires the approved probe/script/image hash; its recorded run is documented in M2 evidence.

Build and verification

dotnet restore SeggerManager.sln
dotnet build SeggerManager.sln --configuration Release --no-restore
dotnet test SeggerManager.sln --configuration Release --no-build

Ordinary NUnit tests exercise both service contracts and fake-process J-Link programming without hardware. Hardware/resource fixtures are explicit; a normal test run does not execute them. The read-only J-Link fixture uses SEGGER_OPENOCD_EXE, SEGGER_OPENOCD_SCRIPTS, SEGGER_PROBE_SERIAL, SEGGER_TARGET_CONFIG, and (for comparison) SEGGER_MERGED_HEX; selecting it explicitly resets/halts the target. Hardware checks require deliberate fixture selection, a configured programmer/target, SEGGER tools where applicable, and review of the fixture's local paths and connection settings.

The Cake build's default ExecuteBuild target includes package publication. Use the commands above for local validation.

Documentation

Start with the documentation index. Agents should follow the roadmap reading order and current status. The first milestone is correct device support naming, followed by adding J-Link device support.

No packages depend on SeggerManager.

.NET 10.0

Version Downloads Last updated
10.1.1-alpha.0.1 3 11/17/2026
10.1.0 5 11/12/2026
10.0.9-alpha.0.1 4 11/12/2026
10.0.8 5 11/11/2026
10.0.8-alpha.0.3 4 11/11/2026
10.0.8-alpha.0.2 4 11/11/2026
10.0.7 3 11/11/2026
10.0.7-alpha.0.19 4 11/11/2026
10.0.7-alpha.0.18 5 11/11/2026
10.0.7-alpha.0.17 3 11/11/2026
10.0.7-alpha.0.16 3 11/11/2026
10.0.7-alpha.0.15 5 11/11/2026
10.0.7-alpha.0.14 4 11/10/2026
10.0.7-alpha.0.12 5 11/10/2026
10.0.7-alpha.0.11 4 11/10/2026
10.0.7-alpha.0.10 4 11/10/2026
10.0.7-alpha.0.9 4 11/10/2026
10.0.7-alpha.0.8 4 11/10/2026
10.0.7-alpha.0.6 4 11/10/2026
10.0.7-alpha.0.5 4 11/10/2026
10.0.7-alpha.0.3 4 11/10/2026
10.0.7-alpha.0.2 5 11/10/2026
10.0.7-alpha.0.1 4 11/10/2026
10.0.6 3 11/10/2026
10.0.6-alpha.0.16 4 11/09/2026
10.0.6-alpha.0.13 4 11/09/2026
10.0.6-alpha.0.12 3 11/09/2026
10.0.6-alpha.0.10 4 11/09/2026
10.0.6-alpha.0.5 4 11/09/2026
10.0.6-alpha.0.4 4 11/09/2026
10.0.6-alpha.0.3 4 11/09/2026
10.0.5 12 06/15/2026
10.0.4 10 06/12/2026
10.0.4-alpha.0.1 8 06/12/2026
10.0.3 12 06/11/2026
10.0.2 12 05/29/2026
0.3.11 26 08/27/2024
0.3.11-alpha.0.1 20 08/27/2024
0.3.10 32 08/20/2024
0.3.10-alpha.0.1 23 08/20/2024
0.3.9 23 08/20/2024
0.3.9-alpha.0.1 22 08/20/2024
0.3.8 28 08/20/2024
0.3.8-alpha.0.1 23 08/20/2024
0.3.7 24 08/09/2024
0.3.7-alpha.0.1 22 08/09/2024
0.3.6 25 08/09/2024
0.3.6-alpha.0.1 22 08/09/2024
0.3.5 29 02/23/2024
0.3.5-alpha.0.4 24 02/23/2024
0.3.5-alpha.0.3 28 02/23/2024
0.3.5-alpha.0.2 26 02/23/2024
0.3.5-alpha.0.1 25 02/22/2024
0.3.4 28 02/09/2024
0.3.4-alpha.0.1 27 02/09/2024
0.3.3 25 02/09/2024
0.3.3-alpha.0.15 25 02/09/2024
0.3.3-alpha.0.14 25 02/08/2024
0.3.3-alpha.0.13 23 02/08/2024
0.3.3-alpha.0.11 23 02/08/2024
0.3.3-alpha.0.10 28 02/07/2024
0.3.3-alpha.0.9 29 02/07/2024
0.3.3-alpha.0.8 25 02/06/2024
0.3.3-alpha.0.6 22 02/06/2024
0.3.3-alpha.0.5 23 02/06/2024
0.3.3-alpha.0.4 26 02/02/2024
0.3.3-alpha.0.3 28 02/01/2024
0.3.3-alpha.0.2 25 01/31/2024
0.3.3-alpha.0.1 27 01/30/2024
0.3.2 29 12/14/2023
0.3.2-alpha.0.1 25 12/14/2023
0.3.1 31 12/06/2023
0.3.1-alpha.0.2 24 12/06/2023
0.3.1-alpha.0.1 26 12/05/2023
0.3.0 29 11/07/2023
0.2.11-alpha.0.3 24 11/07/2023
0.2.11-alpha.0.2 25 11/07/2023
0.2.11-alpha.0.1 23 06/28/2023
0.2.10 29 05/31/2023
0.2.10-alpha.0.1 23 05/31/2023
0.2.9 29 05/31/2023
0.2.8 25 05/31/2023
0.2.8-alpha.0.1 27 05/31/2023
0.2.7 28 05/26/2023
0.2.7-alpha.0.3 24 05/26/2023
0.2.7-alpha.0.1 24 05/23/2023
0.2.6 27 05/23/2023
0.2.6-alpha.0.4 24 05/23/2023
0.2.6-alpha.0.3 22 05/23/2023
0.2.6-alpha.0.1 23 05/23/2023
0.2.5 25 05/23/2023
0.2.5-alpha.0.3 23 05/23/2023
0.2.4 26 05/23/2023
0.2.4-alpha.0.3 25 05/23/2023
0.2.4-alpha.0.2 23 05/23/2023
0.2.3 26 05/16/2023
0.2.3-alpha.0.10 21 05/16/2023
0.2.3-alpha.0.9 24 05/11/2023
0.2.3-alpha.0.8 23 05/11/2023
0.2.3-alpha.0.7 23 05/11/2023
0.2.3-alpha.0.6 25 05/10/2023
0.2.3-alpha.0.5 24 05/10/2023
0.2.3-alpha.0.4 27 05/10/2023
0.2.3-alpha.0.3 24 05/10/2023
0.2.3-alpha.0.2 22 05/10/2023
0.2.3-alpha.0.1 23 05/09/2023
0.2.2 29 05/04/2023
0.2.2-alpha.0.2 20 05/04/2023
0.2.1 30 05/04/2023
0.2.1-alpha.0.1 24 05/04/2023
0.2.0 25 04/27/2023
0.1.8-alpha.0.11 26 04/27/2023
0.1.8-alpha.0.10 23 04/26/2023
0.1.8-alpha.0.9 30 04/26/2023
0.1.8-alpha.0.8 26 04/25/2023
0.1.8-alpha.0.7 23 04/25/2023
0.1.8-alpha.0.6 29 04/21/2023
0.1.8-alpha.0.5 24 04/21/2023
0.1.8-alpha.0.4 25 04/21/2023
0.1.8-alpha.0.3 27 04/21/2023
0.1.8-alpha.0.2 22 04/21/2023
0.1.8-alpha.0.1 24 04/21/2023
0.1.7 28 04/20/2023
0.1.7-alpha.0.2 25 04/20/2023
0.1.7-alpha.0.1 24 04/20/2023
0.1.6 26 04/20/2023
0.1.6-alpha.0.5 24 04/20/2023
0.1.6-alpha.0.3 23 04/06/2023
0.1.6-alpha.0.2 22 04/05/2023
0.1.6-alpha.0.1 27 03/31/2023
0.1.5 27 03/31/2023
0.1.5-alpha.0.1 26 03/31/2023
0.1.4 28 03/31/2023
0.1.4-alpha.0.2 24 03/31/2023
0.1.4-alpha.0.1 27 03/31/2023
0.1.3 28 03/29/2023
0.1.3-alpha.0.1 24 03/29/2023
0.1.2 27 03/29/2023
0.1.2-alpha.0.2 23 03/29/2023
0.1.2-alpha.0.1 24 03/29/2023
0.1.1 31 03/25/2023
0.1.0 27 03/25/2023
0.0.5 26 03/25/2023
0.0.5-alpha.0.9 23 03/25/2023
0.0.5-alpha.0.8 27 03/16/2023
0.0.5-alpha.0.7 22 03/16/2023
0.0.5-alpha.0.6 24 02/27/2023
0.0.5-alpha.0.5 24 02/20/2023
0.0.5-alpha.0.4 24 02/20/2023
0.0.5-alpha.0.3 27 02/20/2023
0.0.5-alpha.0.2 26 02/18/2023
0.0.5-alpha.0.1 23 02/17/2023
0.0.4 28 02/04/2023
0.0.4-alpha.0.4 26 02/04/2023
0.0.4-alpha.0.3 24 02/04/2023
0.0.4-alpha.0.2 25 02/04/2023
0.0.4-alpha.0.1 25 02/02/2023
0.0.3 27 02/02/2023
0.0.3-alpha.0.7 25 02/02/2023
0.0.3-alpha.0.6 22 02/02/2023
0.0.3-alpha.0.5 23 02/02/2023
0.0.3-alpha.0.4 27 02/02/2023
0.0.3-alpha.0.3 23 02/02/2023
0.0.3-alpha.0.2 21 02/02/2023
0.0.3-alpha.0.1 27 02/02/2023
0.0.2 25 02/02/2023
0.0.2-alpha.0.1 24 02/02/2023
0.0.1 24 02/01/2023
0.0.0-alpha.0.85 24 02/01/2023
0.0.0-alpha.0.84 25 02/01/2023
0.0.0-alpha.0.19 11 05/29/2026