Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - int0x13

1
Bus Pirate Support / strange issue with BP and flash SPI
Hello, i have an issue with my bus pirate v3B i dont understand really.
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>m
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 did a selftest, and it's ok 0 error.
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=COM10
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.
I've tried to measure the voltage during the dump with flashrom and i have constant 3.3v on the bus pirate 3.3v pin.
Here is my config:
Code: [Select]
SPI>i
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 )
*----------*
Thank you, i really dont understand!
2
USB Infrared Toy / stuck firmware when irtoy.exe process is stopped by ctrl+C
Hello there,
I've experienced an issue that is quite anoying with my usb Ir Toy v2 running firmware 2.2 and irtoy.exe v2.1
(IR TOY Recorder/Player utility v21 (CC-0)):

It seems that if we interrupt a play operation (and maybe other command) using ctrl+C under itoy.exe process, it lets the firmware into a bad state which prevent it to work until unplug/replug the ir toy.
Afterwards, If we try some command onto the com port it will say this:
Code: [Select]
 IR TOY Recorder/Player utility v21 (CC-0)
 http://dangerousprototypes.com

-------------------------------------------------------------------------
 Opening IR Toy on COM14 at 115200bps...
 Cannot Read Firmware Version.

 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Found Garbage data when reading the firmware version..
 Please re-start this utility again
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Sample command that a ctrl+C prevent future work for me:
irtoy.exe -d COM14 -v -p -f helico_ir
Ctrl+C
...now it's not working until physical unplug/replug.
I've experienced this issue quite often. I talk about the case we cannot open the com port anymore for some reason and it force me to unplug/replug to reload the firmware.
1)Is this a desired/featured behavior?
2)What is the recommended (most stable) firmware at the moment v2.1 or v2.2?

Bonus questions:
3)Is this normal that if i capture 2x or 3x the same key press (dvb-t pinnacle remote controller), i wont have the exact same hex dump file? (same length but not same bytes) I'm talking about same button pressure (small press).
4)Is there a wireshark-like tool that can be used to identify/decode protocol/analyze raw IR dumps?

Thank you,
3
Bus Blaster JTAG debugger / Bus Blaster V3?
Hi all dangerous people :)
I've heard that the next bus blaster (version 3) is currently in prepartion, When will it be out? And what will be the improvements?
Thanks
4
Bus Pirate Support / Last firmware or not, question about modes
Hi there, i recently  bought a BusPirate V3b (JAN 2010) and i already have one question about it:
Here is the output of the i command:

Code: [Select]
HiZ>i
Bus Pirate v3b
Firmware v5.10 (r559)  Bootloader v4.4
DEVID:0x0447 REVID:0x3043 (24FJ64GA002 B5)
http://dangerousprototypes.com
I've seen on the web that normally there is a "keyboard" mode but i could not find it using the m command:
Code: [Select]
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
9. DIO
x. exit(without change)

(1)>no mode change
HiZ>
I'm not sure i have the last firmware, i have the 5.10, and based upon this page, http://http://code.google.com/p/the-bus-pirate/downloads/list it's the last.
I guess normally i should see these modes:
Code: [Select]
M Set bus mode (1-Wire, SPI, I2C, JTAG, UART, etc)

HiZ> m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. KEYB
9. LCD
x. exit(without change)
So can you explain please what's wrong with my BP?
Thanks, and sorry if i make mistakes, i'm a total newb with this kind of device.