Skip to main content
Topic: Free PCB - Bus Pirate Demo Board v5 (Read 20899 times) previous topic - next topic

Re: Free PCB - Bus Pirate Demo Board v5

Reply #30
[quote author="arakis"]regarding the PWR pin in the ADC to use for the pullups VPU connection, you could use the ICSP pwr pin instead..[/quote]

I've tried this and still this is what I get. w/mem, I2C jumpered.
Code: [Select]
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. KEYB
9. LCD
10. PIC
11. DIO
x. exit(without change)

(1)>4
I2C mode:
 1. Software
 2. Hardware

(1)>1
Set speed:
 1. ~5KHz
 2. ~50KHz
 3. ~100KHz
 4. ~400KHz

(1)>3
Ready
I2C>W
POWER SUPPLIES ON
I2C>v
Pinstates:
#12    #11    #10    #09    #08    #07    #06    #05    #04    #03    #
02      #01
GND    5.0V    3.3V    VPU    ADC    AUX2    AUX1    AUX    -      -      S
CL      SDA
P      P      P      I      I      I      I      I      I      I      I
GND    4.98V  3.36V  3.40V  0.00V  L      H      L      H      H      L
I2C>(1)
Searching I2C address space. Found devices at:
Warning: *Short or no pull-up

Re: Free PCB - Bus Pirate Demo Board v5

Reply #31
got everthing right except the pull ups :)

so setup the I2C
then:

W for the power,
P for the people (kidding) for the pull ups

now you can search the address space.

se now you have power on the VPU pin, but you haven;t connected the pullups... :)
best regards FIlip.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #32
Ok then,  must be a sort between the ears. Lets see what we get now. without the cs and x1 traces cut and swapped.

BP vpu  to icsp(vdd) and BP cs to X1
Code: [Select]
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. KEYB
9. LCD
10. PIC
11. DIO
x. exit(without change)

(1)>4
I2C mode:
 1. Software
 2. Hardware

(1)>1
Set speed:
 1. ~5KHz
 2. ~50KHz
 3. ~100KHz
 4. ~400KHz

(1)>3
Ready
I2C>W
POWER SUPPLIES ON
I2C>P
Pull-up resistors ON
I2C>v
Pinstates:
#12    #11    #10    #09    #08    #07    #06    #05    #04    #03    #
02      #01
GND    5.0V    3.3V    VPU    ADC    AUX2    AUX1    AUX    -      -      S
CL      SDA
P      P      P      I      I      I      I      I      I      I      I
GND    4.98V  3.41V  3.35V  0.00V  L      H      L      H      H      H
I2C>(1)
Searching I2C address space. Found devices at:


I2C>

lets try with the BP cs to X1 and disconnect the BP vpu to icsp(vdd)
Code: [Select]
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. KEYB
9. LCD
10. PIC
11. DIO
x. exit(without change)

(1)>4
I2C mode:
 1. Software
 2. Hardware

(1)>1
Set speed:
 1. ~5KHz
 2. ~50KHz
 3. ~100KHz
 4. ~400KHz

(1)>3
Ready
I2C>W
POWER SUPPLIES ON
I2C>P
Pull-up resistors ON
I2C>(1)
Searching I2C address space. Found devices at:
0x00(0x00 W) 0x01(0x00 R) 0x02(0x01 W) 0x03(0x01 R) 0x04(0x02 W) 0x05(0x02 R) 0x
06(0x03 W) 0x07(0x03 R) 0x08(0x04 W) 0x09(0x04 R) 0x0A(0x05 W) 0x0B(0x05 R) 0x0C
(0x06 W) 0x0D(0x06 R) 0x0E(0x07 W) 0x0F(0x07 R) 0x10(0x08 W) 0x11(0x08 R) 0x12(0
x09 W) 0x13(0x09 R) 0x14(0x0A W) 0x15(0x0A R) 0x16(0x0B W) 0x17(0x0B R) 0x18(0x0
C W) 0x19(0x0C R) 0x1A(0x0D W) 0x1B(0x0D R) 0x1C(0x0E W) 0x1D(0x0E R) 0x1E(0x0F
W) 0x1F(0x0F R) 0x20(0x10 W) 0x21(0x10 R) 0x22(0x11 W) 0x23(0x11 R) 0x24(0x12 W)
 0x25(0x12 R) 0x26(0x13 W) 0x27(0x13 R) 0x28(0x14 W) 0x29(0x14 R) 0x2A(0x15 W) 0
x2B(0x15 R) 0x2C(0x16 W) 0x2D(0x16 R) 0x2E(0x17 W) 0x2F(0x17 R) 0x30(0x18 W) 0x3
1(0x18 R) 0x32(0x19 W) 0x33(0x19 R) 0x34(0x1A W) 0x35(0x1A R) 0x36(0x1B W) 0x37(
0x1B R) 0x38(0x1C W) 0x39(0x1C R) 0x3A(0x1D W) 0x3B(0x1D R) 0x3C(0x1E W) 0x3D(0x
1E R) 0x3E(0x1F W) 0x3F(0x1F R) 0x40(0x20 W) 0x41(0x20 R) 0x42(0x21 W) 0x43(0x21
 R) 0x44(0x22 W) 0x45(0x22 R) 0x46(0x23 W) 0x47(0x23 R) 0x48(0x24 W) 0x49(0x24 R
) 0x4A(0x25 W) 0x4B(0x25 R) 0x4C(0x26 W) 0x4D(0x26 R) 0x4E(0x27 W) 0x4F(0x27 R)
0x50(0x28 W) 0x51(0x28 R) 0x52(0x29 W) 0x53(0x29 R) 0x54(0x2A W) 0x55(0x2A R) 0x
56(0x2B W) 0x57(0x2B R) 0x58(0x2C W) 0x59(0x2C R) 0x5A(0x2D W) 0x5B(0x2D R) 0x5C
(0x2E W) 0x5D(0x2E R) 0x5E(0x2F W) 0x5F(0x2F R) 0x60(0x30 W) 0x61(0x30 R) 0x62(0
x31 W) 0x63(0x31 R) 0x64(0x32 W) 0x65(0x32 R) 0x66(0x33 W) 0x67(0x33 R) 0x68(0x3
4 W) 0x69(0x34 R) 0x6A(0x35 W) 0x6B(0x35 R) 0x6C(0x36 W) 0x6D(0x36 R) 0x6E(0x37
W) 0x6F(0x37 R) 0x70(0x38 W) 0x71(0x38 R) 0x72(0x39 W) 0x73(0x39 R) 0x74(0x3A W)
 0x75(0x3A R) 0x76(0x3B W) 0x77(0x3B R) 0x78(0x3C W) 0x79(0x3C R) 0x7A(0x3D W) 0
x7B(0x3D R) 0x7C(0x3E W) 0x7D(0x3E R) 0x7E(0x3F W) 0x7F(0x3F R) 0x80(0x40 W) 0x8
1(0x40 R) 0x82(0x41 W) 0x83(0x41 R) 0x84(0x42 W) 0x85(0x42 R) 0x86(0x43 W) 0x87(
0x43 R) 0x88(0x44 W) 0x89(0x44 R) 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xDF(0x6F R) 0xE0(0x70 W) 0xE1(0x70 R) 0xE2(0x71 W) 0xE3(0x71
 R) 0xE4(0x72 W) 0xE5(0x72 R) 0xE6(0x73 W) 0xE7(0x73 R) 0xE8(0x74 W) 0xE9(0x74 R
) 0xEA(0x75 W) 0xEB(0x75 R) 0xEC(0x76 W) 0xED(0x76 R) 0xEE(0x77 W) 0xEF(0x77 R)
0xF0(0x78 W) 0xF1(0x78 R) 0xF2(0x79 W) 0xF3(0x79 R) 0xF4(0x7A W) 0xF5(0x7A R) 0x
F6(0x7B W) 0xF7(0x7B R) 0xF8(0x7C W) 0xF9(0x7C R) 0xFA(0x7D W) 0xFB(0x7D R) 0xFC
(0x7E W) 0xFD(0x7E R) 0xFE(0x7F W) 0xFF(0x7F R)
I2C>v
Pinstates:
#12    #11    #10    #09    #08    #07    #06    #05    #04    #03    #
02      #01
GND    5.0V    3.3V    VPU    ADC    AUX2    AUX1    AUX    -      -      S
CL      SDA
P      P      P      I      I      I      I      I      I      I      I
GND    5.00V  3.42V  1.50V  0.00V  L      H      L      H      H      H
I2C>


Also both leds were on all the time.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #33
What can I say except cut that turkey like it's thanksgiving :)

don;t have  a clue what happend,  whne you diconect VPU(BP) from the vddd(ICSP DEMO BOARD) you have no pull ups.....

I sugest cutting the traces close to the pic  and then soldering wires directly from the uC leads to the corresponding pin headers...
best regards FIlip.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #34
[quote author="arakis"]What can I say except cut that turkey like it's thanksgiving :)

don;t have  a clue what happend,  whne you diconect VPU(BP) from the vddd(ICSP DEMO BOARD) you have no pull ups.....

I sugest cutting the traces close to the pic  and then soldering wires directly from the uC leads to the corresponding pin headers...[/quote]

you'll have to do this as the X1 pin needs a pull-up...

so cut the traces neer the PIC pins. (traces coresponding to X1 nad C!, on you r board.) Then solder wire from the uC pins to the breakout pinheaders for X1 /cs  this time the other way around.

now when you test.
connect the Vdd ICSP to VPU (you can use BP's ICSP as well if the wire lenght is bugging you)

W
P
(1)

and a happy face
best regards FIlip.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #35
I dont think the pullups are needed on the demo board as the pins supports a programmable weakpullupresistor. I cant remember if it is a global setting or it can be set on each pin individual. If it is a global setting it would not teach the 'enable pullups and power the Vpu pin' lesson :)

Re: Free PCB - Bus Pirate Demo Board v5

Reply #36
Looks like i'm not getting anywhere with this board. so I'm going to bread board this circuit and program the pic out of circuit. On the pic standalone programmer software I get a yellow dot  next to the type of micro being used. I can't seem to find the meaning of this yellow dot or what to do about it.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #37
Sorry to hear that, if you'd like we could send you one of the latest PCBs..but it'll get there in two weeks at best...
best regards FIlip.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #38
Thanks arakis;

A new board would be nice thanks again. I placed a sample order with microchip yesterday for three pic16f1829  so I'll  have some extras to try. I'm thinking of picking up a IC test socket for the chip so that it can be programmed out of circuit.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #39
No problem, PM Ian with your address, and he'll mail it to you, when he sends out the next batch of free PCBs...
best regards FIlip.

Re: Free PCB - Bus Pirate Demo Board v5

Reply #40
free pcb on the way
Got a question? Please ask in the forum for the fastest answers.

 

Re: Free PCB - Bus Pirate Demo Board v5

Reply #41
Thanks can't wait to get it.