The Bus Pirate Fix

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Hamradio2008
 
Posts: 110
Joined: Sun Oct 10, 2010 4:37 pm

The Bus Pirate Fix

Post by Hamradio2008 »

Some solder wick (adafruit), solder sucker (adafruit) and heatgun (yikes) a bit if a melted mess but this is the fix. Reversing the Cable Harness connector brings the cable clips and colors into convention with the software.
fixed_BP.JPG
fixed_BP.JPG (49.24 KiB) Viewed 923 times
Here is the corrected connection example....
BP_corrected_connections.JPG
BP_corrected_connections.JPG (88.76 KiB) Viewed 923 times
Here is an example code script to make the Bus Pirate work with UBUNTU ...

Code: Select all


trb@trb-desktop:~$ sudo minicom -s


            +-----[configuration]------+
            | Filenames and paths      |
            | File transfer protocols  |
            | Serial port setup        |
            | Modem and dialing        |
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |
            +--------------------------+

CHANGE FLOW CONTROL TO NO
THE PROFILE SHOULD LOOK LIKE THIS WITH SERIAL DEVICE 
SHOWN AS "/dev/ttyUSB0"

    +-----------------------------------------------------------------------+
    | A -    Serial Device      : /dev/ttyUSB0                              |
    | B - Lockfile Location     : /var/lock                                 |
    | C -   Callin Program      :                                           |
    | D -  Callout Program      :                                           |
    | E -    Bps/Par/Bits       : 115200 8N1                                |
    | F - Hardware Flow Control : No                                        |
    | G - Software Flow Control : No                                        |
    |                                                                       |
    |    Change which setting?                                              |
    +-----------------------------------------------------------------------+
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |
            +--------------------------+

AT THE "Change which setting? PROMPT AFTER FLOW CONTROL IS SET TO NO 
SCROLL TO "Save setup as dfl"

THEN EXIT AND SCREEN SHOULD LOOK LIKE 

Welcome to minicom 2.4

OPTIONS: I18n                                                                
Compiled on Jan 25 2010, 06:49:09.                                           
Port /dev/ttyUSB0                                                            
                                                                             
Press CTRL-A Z for help on special keys                                      
                                                                             
                                                                             
HiZ>AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0                                         
AUX HIGH                                                                     
Syntax error at char 2                                                       
HiZ>          

THEN TYPE "m" SEE EXAMPLE OF I2C ADDRESS SCAN BELOW                  

Welcome to minicom 2.4

OPTIONS: I18n 
Compiled on Jan 25 2010, 06:49:09.
Port /dev/ttyUSB0

Press CTRL-A Z for help on special keys                    
                                                           
                                                           
HiZ>AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0                       
AUX HIGH                                                   
Syntax error at char 2
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)>4
Set speed:
 1. ~5KHz
 2. ~50KHz
 3. ~100KHz
 4. ~400KHz

(1)>4
Ready
I2C>W
Power supplies ON
I2C>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     SCL     SDA     -       -
P       P       P       I       I       I       I       I       I       I
GND     3.31V   5.10V   0.00V   5.15V   L       H       H       L       L
I2C>(1)
Searching I2C address space. Found devices at:
0x40(0x20 W) 0x41(0x20 R) 0x90(0x48 W) 0x91(0x48 R) 0x92(0x49 W) 0x93(0x49 R) 0x9C(0x4E W)  

I2C>


EXIT OUT OF MINICOM PROGRAM BY "CONTROL-A" "Z" "x"
Last edited by Hamradio2008 on Sat Oct 15, 2011 8:13 am, edited 2 times in total.

madworm_de
 
Posts: 99
Joined: Mon Jun 09, 2008 6:56 am

Re: The Bus Pirate Fix

Post by madworm_de »

And what was the problem ?

User avatar
cstratton
 
Posts: 294
Joined: Wed Sep 29, 2010 3:52 pm

Re: The Bus Pirate Fix

Post by cstratton »

Wouldn't it be easier to re-do the IDC connector, shortening the cable a half inch?

Hamradio2008
 
Posts: 110
Joined: Sun Oct 10, 2010 4:37 pm

Re: The Bus Pirate Fix

Post by Hamradio2008 »

cstratton wrote:Wouldn't it be easier to re-do the IDC connector, shortening the cable a half inch?
Good idea, I am not familiar with disassembly of the connector but that may be another way.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”