Files
uv-k5-ua1zbe-firmware/external/CMSIS_5/CMSIS/DAP/Firmware/Validation/MDK5/README.md
ua1zbe a1206d6fd4 UA1ZBE Custom Firmware v1.0
Features:
- VFO mode with direct frequency input
- POCSAG decoder (512/1200 baud) with BCH(31,21) correction
- Full-screen Spectrum analyzer
- FM Radio receiver
- RSSI signal indicator overlay
- Custom boot splash (UA1ZBE / POCSAG pager / build date)

Architecture:
- app/mode.c — mode dispatcher (VFO/POCSAG/Spectrum/FM)
- app/boot_splash.c — 2-second boot splash
- app/pocsag/ — POCSAG decoder + BCH correction
- app/display_rssi.c — RSSI indicator
- main.c — entry point with custom init
- syscalls.c — bare-metal _sbrk stub

Build: arm-none-eabi-gcc -Os -flto -Wall -Werror -Wextra
Size: 57.9KB Flash / 3.6KB RAM

Controls:
- 0-9: Direct frequency input (VFO)
- SK2: POCSAG mode
- SK1: Spectrum analyzer
- 0: FM Radio
- EXIT: Return to VFO
- F/*: Toggle 512/1200 baud (in POCSAG)
2026-04-12 00:44:05 +03:00

1.1 KiB

CMSIS-DAP debug unit validation

The following debug functionality is tested:

  • Execution breakpoint with hit count
  • Breakpoint on read
  • Breakpoint on write
  • Memory read
  • Memory write
  • Register read
  • Register write
  • Single stepping
  • Run/stop debugging

The test is self-contained and can be executed on the hardware target.

To configure the test for a specific hardware target:

  1. Open the µVision project and select device mounted on hardware target (automatically selects flash algorithm for download).
  2. Select CMSIS-DAP as the debugger (if not already selected).
  3. Build the project.

To run the test on the hardware target:

  1. Connect the CMSIS-DAP debug unit via JTAG/SWD to the hardware target.
  2. Connect the CMSIS-DAP debug unit under test to a PC via USB.
  3. Open the µVision project and start a debug session.
  4. Test results are printed into a test.log file.

To run the test on the target in batch mode, open a Command window and execute:

C:\> .\test.bat

Test results are printed into a test_results.txt file.