Hello All,
We are trying to do automation to run the tests using debugger. But when we run debugger using script.ds (have load and run commands). After run command it is disconnecting abruptly. Need a solution to run the script and disconnects when it hit quit command.
script.ds
load myexample.axf
run
Thanks
The 'wait' command is generally used to wait until a breakpoint is hit - an optional timeout can be added in case that breakpoint is never hit.https://developer.arm.com/documentation/101471/2022-1/Arm-Debugger-commands/Arm-Debugger-commands-listed-in-alphabetical-order/wait
Would something like this work for you?
load myexample.axf # set temp hw breakpoint at end of execution delete breakpoints thbreak _sys_exit run # wait until breakpoint hit # optionally add long timeout in case execution never completes wait 120s quit