1
Bus Pirate Support / strange issue with BP and flash SPI
With Flashrom i can detect my chip which is a Winbond SPI W25Q16BV. I have dump the whole chip with flashrom. I want to try to do some interact with the bus pirate shell, and i'm not able at all to detect the chip with the ID instruction. This is because i just cant power ON the chip. I'd like to understand what's wrong. Here is the log:
Code: [Select]
HiZ>mI did a selftest, and it's ok 0 error.
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)
(1)>5
Set speed:
1. 30KHz
2. 125KHz
3. 250KHz
4. 1MHz
(1)>4
Clock polarity:
1. Idle low *default
2. Idle high
(1)>
Output clock edge:
1. Idle to active
2. Active to idle *default
(2)>
Input sample phase:
1. Middle *default
2. End
(1)>
CS:
1. CS
2. /CS *default
(2)>
Select output type:
1. Open drain (H=Hi-Z, L=GND)
2. Normal (H=3.3V, L=GND)
(1)>2
Ready
SPI>v
Pinstates:
1.(BR) 2.(RD) 3.(OR) 4.(YW) 5.(GN) 6.(BL) 7.(PU) 8.(GR) 9.(WT) 0.(Blk)
GND 3.3V 5.0V ADC VPU AUX CLK MOSI CS MISO
P P P I I I O O O I
GND 0.94V 0.00V 0.00V 0.00V L L L H L
SPI>v
Pinstates:
1.(BR) 2.(RD) 3.(OR) 4.(YW) 5.(GN) 6.(BL) 7.(PU) 8.(GR) 9.(WT) 0.(Blk)
GND 3.3V 5.0V ADC VPU AUX CLK MOSI CS MISO
P P P I I I O O O I
GND 0.94V 0.00V 0.00V 0.00V L L L H L
SPI>W
VREG too low, is there a short?
POWER SUPPLIES OFF
I tried multiple times and it's always the same. Also i just dont understand why i have 1v on the 3.3v when i just select the SPI mode without powering it? And i cant power it because it detects a short?
With the same exact config with flashrom, i have this result:
Code: [Select]
c:>flashrom.exe -V -p buspirate_spi:dev=COM10I've tried to measure the voltage during the dump with flashrom and i have constant 3.3v on the bus pirate 3.3v pin.
flashrom v0.9.6.1-r1644 on Windows 5.1 (x86)
flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK.
Found Winbond flash chip "W25Q16" (2048 kB, SPI) on buspirate_spi.
No operations were specified.
Probing for Winbond W25Q16.V, 2048 kB: buspirate_sendrecv: write 6, read 4 Sending 0x04 0x00 0x01 0x00 0x03 0x9f, receiving 0x01
0xef 0x40 0x15
RDID returned 0xef 0x40 0x15. probe_spi_rdid_generic: id1 0xef, id2 0x4015
Found Winbond flash chip "W25Q16.V" (2048 kB, SPI) on buspirate_spi.
buspirate_sendrecv: write 6, read 3 Sending 0x04 0x00 0x01 0x00 0x02 0x05, receiving 0x01 0x00 0x00
Chip status register is 0x00.
Here is my config:
Code: [Select]
SPI>iThank you, i really dont understand!
Bus Pirate v3.b
Firmware v6.2-beta1 r1981 Bootloader v4.4
DEVID:0x0447 REVID:0x3043 (24FJ64GA002 B5)
http://dangerousprototypes.com
CFG1:0xFFDF CFG2:0xFF7F
*----------*
Pinstates:
1.(BR) 2.(RD) 3.(OR) 4.(YW) 5.(GN) 6.(BL) 7.(PU) 8.(GR) 9.(WT) 0.(Blk)
GND 3.3V 5.0V ADC VPU AUX CLK MOSI CS MISO
P P P I I I O O O I
GND 0.94V 0.00V 0.00V 0.00V L L L H L
POWER SUPPLIES OFF, Pull-up resistors OFF, Normal outputs (H=3.3v, L=GND)
MSB set: MOST sig bit first, Number of bits read/write: 8
a/A/@ controls AUX pin
SPI (spd ckp ske smp csl hiz)=( 4 0 1 0 1 0 )
*----------*