RMUL2025/lib/cmsis_5/CMSIS/DAP/Firmware/Validation/MDK5
2025-03-29 23:07:49 +08:00
..
RTE xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
README.md xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
test.bat xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
test.c xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
test.ini xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
Validation.CMSIS_DAP.cprj xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
Validation.uvguix xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
Validation.uvoptx xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00
Validation.uvprojx xr版本的英雄,很大很大 2025-03-29 23:07:49 +08:00

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.