summaryrefslogtreecommitdiff
path: root/aud
diff options
context:
space:
mode:
authorfenugrec <fenugrec@users.sourceforge.net>2016-03-09 15:12:41 -0500
committerUwe Hermann <uwe@hermann-uwe.de>2016-03-20 20:10:49 +0100
commit84d7eaee978d076471cd25e561cdc250ef93890b (patch)
tree4377baafbe34f273d677ecff49dce2fb639c387a /aud
parent6ada3b2b030bb968699bf024be5daf0e8dd4d98e (diff)
downloadsigrok-dumps-84d7eaee978d076471cd25e561cdc250ef93890b.tar.gz
sigrok-dumps-84d7eaee978d076471cd25e561cdc250ef93890b.zip
Added Renesas/Hitachi AUD Branch Trace dump
Diffstat (limited to 'aud')
-rw-r--r--aud/README50
-rw-r--r--aud/audgen-01.srbin0 -> 549 bytes
2 files changed, 50 insertions, 0 deletions
diff --git a/aud/README b/aud/README
new file mode 100644
index 0000000..2c4bfb3
--- /dev/null
+++ b/aud/README
@@ -0,0 +1,50 @@
+-------------------------------------------------------------------------------
+Renesas/Hitachi AUD (Advanced User Debugger)
+-------------------------------------------------------------------------------
+
+This is a set of example captures of the Renesas/Hitachi AUD (Advanced User
+Debugger) protocol.
+
+Details:
+http://www.renesas.eu/products/mpumcu/superh/sh7050/sh7058/Documentation.jsp
+("rej09b0046 - SH7058 Hardware manual")
+
+
+Logic analyzer setup
+--------------------
+
+ Probe Pin
+ ---------------
+ 1 AUDCK
+ 2 nAUDSYNC
+ 3 AUDATA3
+ 4 AUDATA2
+ 5 AUDATA1
+ 6 AUDATA0
+
+The audgen-* files are artificially generated thus:
+
+ - audgen-01.v is written in Verilog; due to limitations in sigrok only
+ single-bit values are output.
+ - Icarus Verilog is run to create a VCD dump:
+ - "iverilog audgen-01.v"
+ - "./a.out" (created by iverilog)
+ - The resulting VCD can probably be opened directly by PulseView, but is
+ here converted to a .sr dump.
+
+AUD traffic can be challenging to capture because it is clocked out at the
+MCU's clock frequency (20MHz typical). This requires an LA capable of either:
+
+ - Timing analysis on 6 channels (clock, sync, data3..0) at >= 80MSps
+ (40MSps gives very inconsistent results)
+ - State analysis @ 20MHz, this would be "easy" but cheap hardware like
+ Logic/Logic16 can't do it.
+
+
+Data
+----
+
+Example to view decoded output:
+
+ sigrok-cli -i audgen-01.sr -P aud:audck=AUDCK:naudsync=nAUDSYNC:audata3=AUDATA3:audata2=AUDATA2:audata1=AUDATA1:audata0=AUDATA0
+
diff --git a/aud/audgen-01.sr b/aud/audgen-01.sr
new file mode 100644
index 0000000..5b102a6
--- /dev/null
+++ b/aud/audgen-01.sr
Binary files differ