Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: Walter Test on June 08, 2021, 12:15:17 pm

Title: Bus Pirate V4 hang on power on
Post by: Walter Test on June 08, 2021, 12:15:17 pm
Hello

I connect a I2C bus device (RTC) just to the powerlines (3V3 and 5V tested) from the Bus Pirate, select i2c, hardware, 400khz and switch then the power on. After the last step the BP hangs. I have tried 20 times, always the same.
With my Bus Pirate 3.6 this works as expected. The RTC consumes 2mA !!! but it look as was the power shortened but there is not shortage.
Any idea ?

PS: If i connect nothing to the BP, i can switch on without an hang, but as soon as i connect the RTC, the BP hangs again

Regards
Title: Re: Bus Pirate V4 hang on power on
Post by: tayken on June 08, 2021, 05:34:18 pm
It may be a bad voltage regulator, it sounds like BP is browning out and USB communication is getting terminated.

What voltage level are you using? Maybe you can connect a resistor to test it out? Or do you have a voltmeter to measure the voltage on the output pins when BP hangs?
Title: Re: Bus Pirate V4 hang on power on
Post by: Walter Test on June 09, 2021, 12:08:37 pm
Hello

Thanks for the quick reply.
If nothing is connected i get 5V and 3,3V. As soon as i connect an I2C device, ther is 0 Volts and BP hangs on power-on. The led of the I2C device blinks very short, but thats it. Also i noticed that the USB name changes some times from \USBSER000 to \USBSER001.
If i use an external power source all works fine. Only the internal power-source of the Bus Pirate seems to be dead.
I also tried on another USB Port, but if BP 3.6 works, all must be fine.
Is there anyting else i can do, or just call the vendor for a refund ?

Regards
Title: Re: Bus Pirate V4 hang on power on
Post by: tayken on June 13, 2021, 12:50:49 pm
Actually my bad, when BP hangs, power pins should be off, it's kinda expected.

There's not much you can do unless you want to figure out which voltage regulator is bad and replace it with a new one. At this point it seems like refund is your best option.

There may be another problem like some short to ground or something else but they're hard to debug without me having access to the device.

( ! ) 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.00952057960session_write_close ( )...(null):0
20.00982189552ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00982190328Database_MySQL->query( ).../DatabaseHandler.php:119
40.05852329064Database_MySQL->error( ).../Db-mysql.class.php:273