Skip to content

TESAIoT PSE84 Programmer v0.2.2 — Windows flashing actually works

Choose a tag to compare

@wiroon wiroon released this 05 Jun 14:54

Critical Windows fix — v0.2.1 reported "Flash reported zero bytes written" on Windows because the vendor OpenOCD never registered the SMIF (QSPI) flash banks for the PSoC Edge E84. This release fixes the OpenOCD command order so the banks are registered correctly, and Windows flashing now actually programs the board.

What's fixed

  • 🪟 SMIF flash banks now register on Windows. The vendor define_flash_banks proc runs at source-time of the target cfg and needs both QSPI_FLASHLOADER and SMIF_BANKS set first. The previous order set them after sourcing the target cfg and relied on the proc's internal catch {source [find qspi_config.cfg]} to pick up SMIF_BANKS. macOS happened to find it via the -s search path; Windows did not (the BSP path contains spaces and was backslash-encoded), so the catch silently swallowed the failure and no SMIF banks were registered. This release sources qspi_config.cfg explicitly with a forward-slashed full path before sourcing the target cfg, and sets QSPI_FLASHLOADER first too.

Carries forward from v0.2.1

  • Windows hex path staging (sidesteps non-ASCII / space / parenthesis user paths)
  • Forward-slashed TCL paths everywhere
  • "wrote 0 bytes" treated as failure
  • Relay URL kept out of the Console pane
  • Last 30 lines of OpenOCD output surfaced on failure

Download

Pick the installer that matches your operating system:

Platform File
🍎 macOS (Apple Silicon & Intel) TESAIoT_PSE84_Programmer_0.2.2_universal.dmg
🪟 Windows 10 / 11 TESAIoT_PSE84_Programmer_0.2.2_x64-setup.exe or ..._x64_en-US.msi
🐧 Linux (Debian / Ubuntu) TESAIoT_PSE84_Programmer_0.2.2_amd64.deb
🐧 Linux (RHEL / Fedora) TESAIoT_PSE84_Programmer-0.2.2-1.x86_64.rpm
🐧 Linux (any distro) TESAIoT_PSE84_Programmer_0.2.2_amd64.AppImage

Install

macOS — Open the .dmg and drag the app into Applications. On first launch, right-click the app and choose Open to confirm you trust it.

Windows — Run the .exe or .msi installer. If Windows shows a "Windows protected your PC" banner on first launch, click "More info" and then "Run anyway".

Linux

sudo apt install ./TESAIoT_PSE84_Programmer_0.2.2_amd64.deb     # Debian / Ubuntu
sudo dnf install ./TESAIoT_PSE84_Programmer-0.2.2-1.x86_64.rpm  # Fedora / RHEL
chmod +x TESAIoT_PSE84_Programmer_0.2.2_amd64.AppImage && ./TESAIoT_PSE84_Programmer_0.2.2_amd64.AppImage