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 - mungewell

1
Bus Pirate Support / Pin modes in Binary SPI Sniffing causing problems?
Hi,
I have a problem with the binary sniffing, it seems that the BP is somehow loading the target bus enough to prevent it functioning. The device being snooped is a wireless gaming wheel, which uses SPI to control a nRF24L01 transciever.

The RF connection works (is made when wheel powered up and PC can read data) under the following states:
BP off = Yes
BP on/HiZ = Yes
BP SPI mode = No (expected). Defaults loaded when mode selected
BP SPI sniffer = Yes

If I restart the BP and use the binary sniff mode the RF connection does not work. I wait until (linux command line) app says it's ready and then power up the wheel, at which point it does not link to PC.

I am using verison v5.8 on a BPv3 board. GND/CLK/MISO/MOSI/CS connected. I can not use the simple sniff mode as the BP can not keep up.

What are the pin modes in 'binary sniff' and can they be configure anywhere/anyhow?
Mungewell.
(aka Simon).
2
Bus Pirate Support / SPI sniffing - Couldn't keep up
Hi,
Just getting started with the Bus Pirate with a reverse engineering project. I have the sniffing working some of the time, but I am getting a lot of the 'Couldn't keep up' messages - at which point the device is hosed and needs to be reset before it will work again.

I believe that this is because the data on the SPI bus is coming in too quickly and overflowing the ring buffer. Can someone confirm? It appears to drop the contents of the buffer, it would be nicer if it could spool out what it managed to get and then print the error.

Is it possible to increase the baud rate between the PIC and the FDTI above the 115200 default, to prevent this happening in the first place? Or is there another solution?
Cheers,
Mungewell.

--
Bus Pirate v3b
Firmware v5.6 (r473)  Bootloader v4.2
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
CFG1:0xFFDF CFG2:0xFF7F

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