Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: megabug on September 24, 2011, 01:28:00 pm

Title: [SOLVED]BPv4 free pcb build and some problems.
Post by: megabug on September 24, 2011, 01:28:00 pm
Hi folks,

I finally had a little bit time to finish my BPv4 and stumbled upon some problems.

The newest firmware works, but the bootloader doesn't. The BP doesn't enumerate with the bootloader. I tried to compile it myself but no change.

The hardware is somewhat strange, I have troubles.

First, the firmware info isn't correct yet (version)
HiZ>i
Bus Pirate v4
Firmware v6.0-a1 (r1400)
DEVID:0x1019 REVID:0x0003 (24FJ256GB106 A5)
http://dangerousprototypes.com (http://dangerousprototypes.com)

And my errors from the 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
ACKADC and supply
Vusb(4.91) OK
5V(4.93) OK
5V0 VPU(4.38) FAIL
ADC(3.29) OK
3.3V(3.27) OK
3V3 VPU(2.77) FAIL
Bus high
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 0
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 1
MOSI OK
CLK OK
MISO OK
CS FAIL
MODE, VREG, and USB LEDs should be on!
Any key to exit
Found 3 errors.

Nevermind the voltages being too low, this is probably because I used different transistors and need to change the base resistor or so. ;) This doesn't bother me.
CS is the problem here. I checked for solder bridges, but everything is ok. CS is connected to the PIC fine. How can I check the components? The CD4066BM is new, somewhere from china. I ordered some on ebay.


The soldering is not my best job, but since I moved here this month I can't find my good solder. ;)
Picture of my build:
(http://http://www.abload.de/image.php?img=img_2128yp5w.jpg)

Pushbuttons are from a laptop repair I did some months ago, where I had to order 10 and only needed one for the repair. ;) CD4066 is from ebay, and the rest of the components were around. Some are 0805 on 0603 pads, not pretty but works.

Oh and she couldn't find anything either:
(http://http://www.abload.de/image.php?img=img_2131i8r0.jpg)
Title: Re: BPv4 free pcb build and some problems.
Post by: ian on September 24, 2011, 02:10:32 pm
There are still a ton of problems in v4 firmware.  Cs is not working in hiz so I guess the resistor network isn't soldered well.
Title: Re: BPv4 free pcb build and some problems.
Post by: megabug on September 24, 2011, 09:37:48 pm
CS OK


:) Okay, I could have thought of this on my own... Well, it's fine now.

Oh and with I2C i get a lot of "Syntax error at char X" when trying to use it. Should this work?


Thanks!

(Oh and again thanks for the free pcb, Ian)
Title: Re: BPv4 free pcb build and some problems.
Post by: Sjaak on September 24, 2011, 10:49:11 pm
As far as I know I2C does work on BPv4.

could you post 'screenshots' of the errors you are receiving?
Title: Re: BPv4 free pcb build and some problems.
Post by: megabug on October 03, 2011, 08:47:52 pm
Hm nevermind, I guess it's working now... ;) Just recompiled the firmware.


Edit: confirmed, I2C is working.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00962064832session_write_close ( )...(null):0
20.00992196424ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00992197200Database_MySQL->query( ).../DatabaseHandler.php:119
40.05482335936Database_MySQL->error( ).../Db-mysql.class.php:273