From e204a5d0898a8d1bd0f0a9c0670f8509cbe3de33 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Sun, 12 Oct 2014 13:12:29 +1100 Subject: swd: Add test cases for various SWD captures --- decoder/test/swd/test.conf | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 decoder/test/swd/test.conf (limited to 'decoder/test/swd/test.conf') diff --git a/decoder/test/swd/test.conf b/decoder/test/swd/test.conf new file mode 100644 index 0000000..956fdc7 --- /dev/null +++ b/decoder/test/swd/test.conf @@ -0,0 +1,33 @@ +test ftdi_openocd_init_write_0xabbabeeb + protocol-decoder swd + input swd/ftdi_openocd/init_write_0xabbabeeb.sr + output swd annotation match ftdi_openocd/init_write_0xabbabeeb.output + output swd python match ftdi_openocd/init_write_0xabbabeeb.python + +test ftdi_openocd_init_noreply + protocol-decoder swd + input swd/ftdi_openocd/init_noreply.sr + output swd annotation match ftdi_openocd/init_noreply.output + +test ftdi_openocd_init_wait_fault + protocol-decoder swd + input swd/ftdi_openocd/init_wait_fault.sr + output swd annotation match ftdi_openocd/init_wait_fault.output + +test stlink_init_write_0xabbabeeb + protocol-decoder swd + input swd/stlink_openocd/init_write_0xabbabeeb.sr + output swd annotation match stlink_openocd/init_write_0xabbabeeb.output + output swd python match stlink_openocd/init_write_0xabbabeeb.python + +test stlink_wait_retry + protocol-decoder swd + input swd/stlink_openocd/wait_retry.sr + output swd annotation match stlink_openocd/wait_retry.output + +# With the strict_start option set, this capture doesn't include a LINERESET +# so output is empty. +test stlink_wait_retry + protocol-decoder swd option strict_start=yes + input swd/stlink_openocd/wait_retry.sr + output swd annotation match stlink_openocd/empty.output -- cgit v1.2.3-54-g00ecf