From: Uwe Hermann Date: Sun, 20 Nov 2011 17:20:22 +0000 (+0100) Subject: mx25l1605d SPI dump: Add fixed capture. X-Git-Tag: sigrok-dumps-0.1.0~58 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f28b538fa3cb12966a90c1b1cff741d6cd08d40e;p=libsigrokdecode.git mx25l1605d SPI dump: Add fixed capture. The last capture was completely bogus as the sample rate used was way too low. This a re-capture of the same data using a ChronoVu LA8 logic analyzer at 25MHz sample rate. --- diff --git a/spi/mx25l1605d/README b/spi/mx25l1605d/README index f65d44b..c884330 100644 --- a/spi/mx25l1605d/README +++ b/spi/mx25l1605d/README @@ -16,25 +16,27 @@ The command line used was where 'filename' is a 2MByte file filled with lots of consecutive "HelloWorld" ASCII character strings. -The logic analyzer used for capturing is a Saleae Logic at a sample rate -of 2MHz. The capture was done using sigrok (02/2011) via +The logic analyzer used for capturing is a ChronoVu LA8 at a sample rate +of 25MHz. The capture was done using sigrok (11/2011) via - sigrok-cli -d 0:samplerate=2MHz --time 5s -o foo + sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \ + -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \ + -o mx25l1605d_write_hello_world.sigrok -The Saleae Logic probes were connected like this to the MX25L1605D chip: +The ChronoVu LA8 probes were connected like this to the MX25L1605D chip: Probe SPI chip pin ------------------------ - 1 (black) CS# - 2 (brown) SO/SIO1 (a.k.a MISO) - 3 (red) SCLK - 4 (orange) SI/SIO0 (a.k.a MOSI) - 5 (yellow) WP#/ACC - 6 (green) HOLD# + 0 (green) CS# + 1 (orange) SO/SIO1 (a.k.a MISO) + 2 (white) SCLK + 3 (red) SI/SIO0 (a.k.a MOSI) + 4 (gray) WP#/ACC + 5 (brown) HOLD# GND GND -The capture is only partial, it contains 5 seconds of the write process +The capture is only partial, it contains a small part of the write process (it does not contain the chip identification, chip erase, etc. which comes -before the actual write parts; it also does not contain anything after those -5 seconds, the flashrom command took quite a bit longer than 5 seconds). +before the actual write parts; it also does not contain anything after that, +the flashrom command took quite a bit longer than what the capture shows). diff --git a/spi/mx25l1605d/mx25l1605d_write_hello_world.sigrok b/spi/mx25l1605d/mx25l1605d_write_hello_world.sigrok index 1f13936..3560ba5 100644 Binary files a/spi/mx25l1605d/mx25l1605d_write_hello_world.sigrok and b/spi/mx25l1605d/mx25l1605d_write_hello_world.sigrok differ