Dear James,
There is TCL command interpreter supplied with the later version of usbdm. In V4.7 & 4.8 this is available in the start menu.
Type ? to get a list of commands.
You can do a basic output pin static test with the following commands:
;# Simple BDM test openbdmsettarget hcs12
pinSet rst=LpinSet rst=3 pinSet bkgd=L pinSet bkgd=3
You would need to supplied power to the BDM connector for this to affect the pins if you are using an unpowered BDM. This should be done without the target connected.
The following provides a repeating loop for testing with a CRO:
;# Simple BDM test loopopenbdmsettarget hcs12proc test {} { for { set i 1 } { $i <= 100 } { incr i } { pinSet rst=L ; after 10; pinSet rst=3 ; after 10; pinSet bkgd=L ; after 10; pinSet bkgd=3 ; after 10; pinSet bkgd=H ; after 10; pinSet bkgd=3 ; after 10; }}Save it to a file (say testbdm.tcl) in the same directory as the USBDM files and then use:
source testbdm.tcltest
to load script and execute the test procedure.
bye