]> sigrok.org Git - sigrok-dumps.git/commitdiff
avr_isp: add dump for ATmega328/P master github/master
authorSimon Ruderich <redacted>
Sat, 10 Feb 2024 14:20:19 +0000 (15:20 +0100)
committerSoeren Apel <redacted>
Tue, 27 Feb 2024 19:28:31 +0000 (20:28 +0100)
21 files changed:
Makefile
README
avr_isp/atmega328p/README.txt [new file with mode: 0644]
avr_isp/atmega328p/isp_atmega328p_buspirate_scan.sr [new file with mode: 0644]
display/seven_segment/README
display/seven_segment/mystery_message.sr [new file with mode: 0644]
display/seven_segment/test_7_segment_all_alphabet.sr [new file with mode: 0644]
i2c/rtc_dallas_ds3231/README [new file with mode: 0644]
i2c/rtc_dallas_ds3231/ds3231_ex1.sr [new file with mode: 0644]
i2c/rtc_dallas_ds3231/ds3231_ex2.sr [new file with mode: 0644]
lpc/h55/README [new file with mode: 0644]
lpc/h55/h55_lpc_io_write.sr [new file with mode: 0644]
lpc/power9/README [new file with mode: 0644]
lpc/power9/power9_lpc_firmware_read.sr [new file with mode: 0644]
lpc/power9/power9_lpc_firmware_write.sr [new file with mode: 0644]
lpc/power9/power9_lpc_io_read.sr [new file with mode: 0644]
lpc/power9/power9_lpc_io_write.sr [new file with mode: 0644]
lpc/power9/power9_lpc_io_write_abort.sr [new file with mode: 0644]
spi/sqi/README [new file with mode: 0644]
spi/sqi/sqi-four-data-lines-one-transfer.sr [new file with mode: 0644]
spi/sqi/sqi-four-data-lines-three-transfers.sr [new file with mode: 0644]

index 349760d1ba50e759f74704f2a583e41532d98117..9820eaa39a7fdf87c59999e977a9c926c0d6c8c2 100644 (file)
--- a/Makefile
+++ b/Makefile
 
 VERSION = "0.1.0"
 
-DESTDIR ?= /usr/local/share/sigrok-dumps
+# TODO Ideally instructions would use autotools, cmake, or some other
+# higher level abstraction instead of DIY shell commands. Which would
+# improve portability and robustness (by picking the most appropriate
+# install tool that is available on the target), and would transparently
+# enable support for --prefix and DESTDIR et al, including out of source
+# builds when desired.
+PREFIX ?= /usr/local
+INSTALL_DIR = $(PREFIX)/share/sigrok-dumps
+
+# Be explicit about which files or subdirectories to install.
+# Update this list when adding a new top level subdirectory to the
+# set of example captures. It's assumed that this event is rare.
+# The list is phrased such that users can specify additional items
+# when they invoke the 'make install' command.
+FILES_DIRS += ac97 am230x arm_trace aud avr_isp avr_pdi
+FILES_DIRS += caliper can cec
+FILES_DIRS += dac dali dcc dcf77 display dmx512 dsi
+FILES_DIRS += flexray fsk
+FILES_DIRS += gpib graycode
+FILES_DIRS += i2c i2s ir
+FILES_DIRS += jtag
+FILES_DIRS += led lens_mounts lpc
+FILES_DIRS += maple_bus mcs48 mdio microwire miller misc morse mouse_sensors
+FILES_DIRS += nfc nonstandard_eeproms
+FILES_DIRS += onewire ook
+FILES_DIRS += pjon ps2 pwm
+FILES_DIRS += qi
+FILES_DIRS += rc rfid
+FILES_DIRS += sae-j1850 sdcard sdq sht7x signature sle44xx spdif spi
+FILES_DIRS += stepper_motor swd swim
+FILES_DIRS += tdm_audio
+FILES_DIRS += uart usb usb_power_delivery
+FILES_DIRS += vfd
+FILES_DIRS += wiegand
+FILES_DIRS += xy2-100
+FILES_DIRS += z80
 
 all:
        @echo "Run 'make dist' to create a tarball."
@@ -34,7 +69,5 @@ dist: ChangeLog
        @rm -f ChangeLog
 
 install:
-       @mkdir -p $(DESTDIR)
-       @cp -r * $(DESTDIR)
-       @rm -f $(DESTDIR)/Makefile
-
+       @mkdir -p $(DESTDIR)$(INSTALL_DIR)
+       @cp -r $(FILES_DIRS) $(DESTDIR)$(INSTALL_DIR)
diff --git a/README b/README
index c71b143766637b13a0109c03c9eddbeec88f1053..724a738163a23317d8ef4524ecbee18cf1baa5ae 100644 (file)
--- a/README
+++ b/README
@@ -16,6 +16,23 @@ Status
 sigrok-dumps is in a usable state and has had official tarball releases.
 
 
+Installing
+----------
+
+Example captures need not get built or compiled, but can get installed.
+
+  $ git clone git://sigrok.org/sigrok-dumps
+  $ cd sigrok-dumps
+  $ make install
+
+Optional PREFIX or DESTDIR specs are supported as well.
+
+  $ make PREFIX=/usr install
+  $ make PREFIX=${HOME} install
+
+  $ make DESTDIR=$( pwd )/rootfs install
+
+
 Contributing dumps
 ------------------
 
@@ -38,7 +55,7 @@ Mailing list
 IRC
 ---
 
-You can find the sigrok developers in the #sigrok IRC channel on Freenode.
+You can find the sigrok developers in the #sigrok IRC channel on Libera.Chat.
 
 
 Website
diff --git a/avr_isp/atmega328p/README.txt b/avr_isp/atmega328p/README.txt
new file mode 100644 (file)
index 0000000..8c9c366
--- /dev/null
@@ -0,0 +1,32 @@
+-------------------------------------------------------------------------------
+AVR ISP / Atmel ATmega328/P
+-------------------------------------------------------------------------------
+
+This is an example capture of the AVR in-system programming (ISP) protocol.
+
+The device used for ISP was a Bus Pirate v3.5 with firmware v6.1.
+
+The target was an Arduino UNO board with an Atmel ATmega328/P chip.
+
+The PC software used for controlling the programmer was avrdude 7.1.
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used was a Saleae Logic Clone (at 4MHz):
+
+  Probe       AVR ISP header
+  -------------------------
+  1           MOSI
+  2           MISO
+  3           SCK
+  4           RST
+
+
+Data
+----
+
+The following avrdude commands were captured:
+
+    avrdude -p atmega328p -c buspirate -P /dev/ttyUSB0 -v
diff --git a/avr_isp/atmega328p/isp_atmega328p_buspirate_scan.sr b/avr_isp/atmega328p/isp_atmega328p_buspirate_scan.sr
new file mode 100644 (file)
index 0000000..5b611d2
Binary files /dev/null and b/avr_isp/atmega328p/isp_atmega328p_buspirate_scan.sr differ
index dd3410ffafc206abe666b8f5baf6ddc4efe40b96..434ce89c04d75e3c489f3a5aa6ccf55fab886eb8 100644 (file)
@@ -41,3 +41,16 @@ test_7_segment_slow.sr
 ----------------------
 
 Cycles through the numbers 0 to F with alternating dot.
+
+
+test_7_segment_all_alphabet.sr
+------------------------------
+
+Covers more combinations of LED segments, including alphanumeric codes
+(letters, punctuation).
+
+
+mystery_message.sr
+------------------
+
+Contains LED segment combinations that are not known to the decoder.
diff --git a/display/seven_segment/mystery_message.sr b/display/seven_segment/mystery_message.sr
new file mode 100644 (file)
index 0000000..60eb84a
Binary files /dev/null and b/display/seven_segment/mystery_message.sr differ
diff --git a/display/seven_segment/test_7_segment_all_alphabet.sr b/display/seven_segment/test_7_segment_all_alphabet.sr
new file mode 100644 (file)
index 0000000..b644933
Binary files /dev/null and b/display/seven_segment/test_7_segment_all_alphabet.sr differ
diff --git a/i2c/rtc_dallas_ds3231/README b/i2c/rtc_dallas_ds3231/README
new file mode 100644 (file)
index 0000000..12c783e
--- /dev/null
@@ -0,0 +1,48 @@
+-------------------------------------------------------------------------------
+Maxim Integrated DS3231 RTC
+-------------------------------------------------------------------------------
+
+Details:
+ - DS3231 datasheet: https://datasheets.maximintegrated.com/en/ds/DS3231.pdf
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used was Geeetech Mini Board Cypress FX2(LP) eval board
+with fx2lafw firmware (at 4MHz):
+
+ Probe          DS3231 pin
+ -------------------------
+ 0              SCL
+ 1              SDA
+
+
+ds3231_ex1.sr
+----------------------
+
+The file provides reading/writing of time keeping registers as well as
+control, control/status and temperature registers of the RTC chip, which
+was setup to 24-hours mode:
+
+- Read Control register
+- Write Control register - disable alarms
+- Read Control/Status register
+- Write Control/Status register - clear alarm's flags
+- Write Alarm 1 registers - set Alarm 1 at every 1st date
+- Write Alarm 2 registers - set Alarm 2 at every minute
+- Read date/time
+- Read temperature (MSB)
+
+
+ds3231_ex2.sr
+----------------------
+
+The file provides reading/writing of time keeping registers as well as
+control/status and temperature registers of the RTC chip, which was setup
+to 24-hours mode and after Alarm 2 occured:
+
+- Read Control/Status register
+- Write Control/Status register - clear alarm flag
+- Read date/time
+- Read temperature (MSB)
diff --git a/i2c/rtc_dallas_ds3231/ds3231_ex1.sr b/i2c/rtc_dallas_ds3231/ds3231_ex1.sr
new file mode 100644 (file)
index 0000000..4c21d1b
Binary files /dev/null and b/i2c/rtc_dallas_ds3231/ds3231_ex1.sr differ
diff --git a/i2c/rtc_dallas_ds3231/ds3231_ex2.sr b/i2c/rtc_dallas_ds3231/ds3231_ex2.sr
new file mode 100644 (file)
index 0000000..4bcd8db
Binary files /dev/null and b/i2c/rtc_dallas_ds3231/ds3231_ex2.sr differ
diff --git a/lpc/h55/README b/lpc/h55/README
new file mode 100644 (file)
index 0000000..dba8d95
--- /dev/null
@@ -0,0 +1,30 @@
+-------------------------------------------------------------------------------
+Intel H55 LPC (low pin count) traffic
+-------------------------------------------------------------------------------
+
+This capture is an LPC (low pin count) I/O read transaction from an Intel H55
+chipset on a Foxconn H55MXV motherboard.
+
+Details:
+http://en.wikipedia.org/wiki/Low_Pin_Count
+
+
+Hardware setup
+--------------
+
+The capture was taken with an FPGA sampling at 200 MHz and imported into sigrok
+as 8bit binary data.
+
+  Probe  LPC
+  ----------
+  2      LCLK
+  3      LFRAME#
+  4      LAD0
+  5      LAD1
+  6      LAD2
+  7      LAD3
+
+
+h55_lpc_io_write.sr
+---------------
+An I/O write to 0x2e (super IO index register) of 0x55.
diff --git a/lpc/h55/h55_lpc_io_write.sr b/lpc/h55/h55_lpc_io_write.sr
new file mode 100644 (file)
index 0000000..c4dab93
Binary files /dev/null and b/lpc/h55/h55_lpc_io_write.sr differ
diff --git a/lpc/power9/README b/lpc/power9/README
new file mode 100644 (file)
index 0000000..abab953
--- /dev/null
@@ -0,0 +1,46 @@
+-------------------------------------------------------------------------------
+IBM POWER9 LPC (low pin count) traffic
+-------------------------------------------------------------------------------
+
+These captures are examples of various transaction types from an IBM POWER9 LPC
+(low pin count) interface.
+
+Details:
+http://en.wikipedia.org/wiki/Low_Pin_Count
+
+
+Hardware setup
+--------------
+
+The logic analyser used was a DreamSourceLab DSLogic U3Pro32. As support for
+this is not yet in sigrok, the traces were captured externally and imported.
+
+  Probe  LPC
+  ----------
+  0      LAD0
+  1      LAD1
+  2      LAD2
+  3      LAD3
+  4      LFRAME#
+  5      LCLK
+
+
+power9_lpc_io_read.sr
+--------------
+An I/O read from 0x3fd (serial port) which returns 0x60.
+
+power9_lpc_io_write.sr
+---------------
+An I/O write to 0x3f8 (serial port) of 0x73.
+
+power9_lpc_firmware_read.sr
+--------------------
+A firmware read from 0xfff7000 which returns 0x54524150.
+
+power9_lpc_firmware_write.sr
+---------------------
+A firmware write to 0xc031360 of 0x0000.
+
+power9_lpc_io_write_abort.sr
+---------------------
+An I/O read that gets aborted because the peripheral never responded.
diff --git a/lpc/power9/power9_lpc_firmware_read.sr b/lpc/power9/power9_lpc_firmware_read.sr
new file mode 100644 (file)
index 0000000..df5bca9
Binary files /dev/null and b/lpc/power9/power9_lpc_firmware_read.sr differ
diff --git a/lpc/power9/power9_lpc_firmware_write.sr b/lpc/power9/power9_lpc_firmware_write.sr
new file mode 100644 (file)
index 0000000..07d642c
Binary files /dev/null and b/lpc/power9/power9_lpc_firmware_write.sr differ
diff --git a/lpc/power9/power9_lpc_io_read.sr b/lpc/power9/power9_lpc_io_read.sr
new file mode 100644 (file)
index 0000000..d50b0a8
Binary files /dev/null and b/lpc/power9/power9_lpc_io_read.sr differ
diff --git a/lpc/power9/power9_lpc_io_write.sr b/lpc/power9/power9_lpc_io_write.sr
new file mode 100644 (file)
index 0000000..bf64713
Binary files /dev/null and b/lpc/power9/power9_lpc_io_write.sr differ
diff --git a/lpc/power9/power9_lpc_io_write_abort.sr b/lpc/power9/power9_lpc_io_write_abort.sr
new file mode 100644 (file)
index 0000000..6e3c396
Binary files /dev/null and b/lpc/power9/power9_lpc_io_write_abort.sr differ
diff --git a/spi/sqi/README b/spi/sqi/README
new file mode 100644 (file)
index 0000000..89736fc
--- /dev/null
@@ -0,0 +1,48 @@
+------------------------------------------------------------------------
+SQI communication (multi-I/O SPI)
+------------------------------------------------------------------------
+
+This capture demonstrates SQI communication, which is a form of SPI data
+exchange where transmitters use multiple I/O data lines in parallel to
+communicate the same amount of data in fewer clock cycles.
+
+In contrast to e.g. QuadSPI flash memory chips which may change the data
+line count or clock scheme several times within a transaction, SQI keeps
+the clock and the number of data lines used by the transmitter consistent
+across the full length of the SPI transaction. Only the direction of data
+lines could change, when e.g. a master first transmits a request which
+the slave then responds to, while both use the same number of data lines.
+Full duplex communication as with the traditional MISO/MOSI scheme is
+not possible with SQI.
+
+
+Logic analyzer setup
+--------------------
+
+The capture was taken at a samplerate of 100MHz.
+
+  Probe       SPI
+  ----------------------------
+  2           SCK (clock)
+  3           CS (select)
+  4           IO0 (data, LSB)
+  5           IO1
+  6           IO2
+  7           IO3 (data, MSB)
+
+
+sqi-four-data-lines-one-transfer.sr
+-----------------------------------
+
+This capture uses four I/O data lines. Data gets sampled at the rising
+clock edge (single data rate). Data is sent in MSB first order. The SPI
+transaction's data byte sequence is:
+
+  80 00 00 10 22 42 4f 4f 54 00 80 00 00 a8 85 77 00 20 4e 00 00
+
+
+sqi-four-data-lines-three-transfers.sr
+--------------------------------------
+
+This capture was constructed from the above single-transfer example
+capture. The SPI transfer is repeated three times.
diff --git a/spi/sqi/sqi-four-data-lines-one-transfer.sr b/spi/sqi/sqi-four-data-lines-one-transfer.sr
new file mode 100644 (file)
index 0000000..be47f9b
Binary files /dev/null and b/spi/sqi/sqi-four-data-lines-one-transfer.sr differ
diff --git a/spi/sqi/sqi-four-data-lines-three-transfers.sr b/spi/sqi/sqi-four-data-lines-three-transfers.sr
new file mode 100644 (file)
index 0000000..d75222a
Binary files /dev/null and b/spi/sqi/sqi-four-data-lines-three-transfers.sr differ