SPRADU5 October   2026 AWR2944P

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Basic Principles of AI-Automated Debugging
  5. 2Agent, Skill, and Prompt
  6. 3Verifying the AI Agent
    1. 3.1 Generating the ccxml File and JS Script
    2. 3.2 Test Verification
  7. 4Using the AI Agent to Assist Debugging
    1. 4.1 Simulating Stress Testing
    2. 4.2 Simulating Scenario Testing
  8. 5Conclusion
  9. 6References

Simulating Stress Testing

The program dpu\rangecfarprocDDMA\test\awr2x44P_rangecfarprochwa_DDMA_m4.xem4 in the SDK is used as the test case. Reset, load image, run image, and save log are treated as one cycle, repeated 20 times to simulate a stress-testing scenario. As shown in Figure 4-1, a simple prompt allows the AI Agent to write a JS script that meets the requirements and perform the test, with the test results statistically summarized and saved.

 Stress-testing AI Agent prompt and execution log  Stress-testing AI Agent prompt and execution logFigure 4-1 Stress-testing AI Agent prompt and execution log

It can be seen that the AI Agent can quickly understand and execute simple, repetitive work. Figure 4-2 shows the test results; the AI Agent executes such tasks well and summarizes the results. In practical applications, when encountering similar problems—such as rare hang issues that are difficult to reproduce or long-duration stress testing—this method can be used, greatly saving users the repetitive work of rewriting JS scripts and summarizing results.

 AI Agent simulated stress-testing log and results  AI Agent simulated stress-testing log and resultsFigure 4-2 AI Agent simulated stress-testing log and results

The logs fall into two categories. One is the log generated during the AI Agent's execution of the JS script, used to monitor hardware status.

 AI Agent JS script execution logFigure 4-3 AI Agent JS script execution log

The other is the log of the test results when the actual test case is executed, as shown in Figure 4-4:

 Test case output results  Test case output resultsFigure 4-4 Test case output results