Skip to main content
Topic: v4, selftest – CLK FAIL (only that one fails) (Read 17 times) previous topic - next topic

v4, selftest – CLK FAIL (only that one fails)

Hi!
While I was programming avr, something goes wrong. I've no idea what, but my Bus Pirate v4 doesn't flash avr anymore.
Result of selftest:
Code: [Select]
HiZ>~
Disconnect any devices
Connect (ADC to +3.3V)
Space to continue
Ctrl
AUX OK
MODE LED OK
PULLUP H OK
PULLUP L OK
VREG OK
EEPROM
SCL OK
SDA OK
WP OK
READ&WRITE OK
ADC and supply
Vusb(4.82) OK
5V(4.80) OK
5V VPU(4.58) OK
ADC(3.29) OK
3.3V(3.29) OK
3.3V VPU(3.09) OK
Bus high
MOSI OK
CLK FAIL
MISO OK
CS OK
Bus Hi-Z 0
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 1
MOSI OK
CLK FAIL
MISO OK
CS OK
MODE, VREG, and USB LEDs should be on!
Any key to exit
Found 2 errors.
HiZ>
I've jumper connecting 3.3V with ADC.

After long sniffing, I've decided to upgrade firmware. Now I've:
Code: [Select]
HiZ>i
Bus Pirate v4
Community Firmware v7.0 - goo.gl/gCzQnW
DEVID:0x1019 REVID:0x0004 (24FJ256GB106 UNK)
http://dangerousprototypes.com
HiZ>

As you may have guessed, it didn't help.

What can I do?
I've oscilloscope, so I can measure it right.

At 3WIRE mode commands:
Code: [Select]
3WIRE>\
CLOCK, 0
3WIRE>/
CLOCK, 1
3WIRE>
are just changing voltage at CLK pin from 0V to 150mV.
(To be precise: from 20mVB with 46mV noise peaks to 144mV with 166mV noise peaks. But that noise looks normal, like consequence of poor (standard) USB power supply)
Aaaaand after minute of testing – it stops.
Heisenbug, I was just turning CLOCK high and low while looking at oscilloscope. It die in front of my eyes?

Ok, enough crying ;)
Can you help me, please? What should I measure/do?