dangerousproto Profile Banner
ian @ Dangerous Prototypes Profile
ian @ Dangerous Prototypes

@dangerousproto

Followers
47K
Following
503
Media
1K
Statuses
14K

We do open hardware. Bus Pirate 5, Hacker Camp Shenzhen, DirtyPCBs. Once we anodized capacitors pink!

Joined October 2008
Don't wanna be here? Send us removal request.
@dangerousproto
ian @ Dangerous Prototypes
9 months
We try to cover all your favs. All your base are belong to us :)
Tweet media one
2
1
10
@dangerousproto
ian @ Dangerous Prototypes
26 days
smartcard tool, HEX file viewer, etc. Grab the latest firmware and check it out!
Tweet media one
0
0
3
@dangerousproto
ian @ Dangerous Prototypes
26 days
Super happy with the new Bus Pirate HEX viewer! Valid ASCII and non-zero values are highlighted. Quiet mode (-q) hides addresses for easy paste into HEX editors. Dump range can be specified, and paging is enabled by default. Used in all data dump commands: DDR5 tool, SLE4442.
Tweet media one
Tweet media two
Tweet media three
1
0
19
@dangerousproto
ian @ Dangerous Prototypes
1 month
focused on smaller size, lower cost, and calibration. Check out the SHT4x temperature and humidity sensor demo here, and the SHT3x demo below.
docs.buspirate.com
SHT4x series sensors are the latest generation of temperature and humidity sensors from Sensirion. Accuracy has improved slightly since SHT3x, but the main upgrades are faster measurements, smaller...
1
0
2
@dangerousproto
ian @ Dangerous Prototypes
1 month
Grabbed some SHT3x and SHT4x temperature and humidity sensors for a Bus Pirate demo. SHT3x is a significant upgrade to the ancient SHT2x with a wider temperature and humidity range, and higher accuracy at the extremes. SHT4x slightly improves on the SHT3x specs, but is mostly.
Tweet media one
Tweet media two
1
2
18
@dangerousproto
ian @ Dangerous Prototypes
1 month
RT @therealdreg: With the milled pins of the BusPirate and the PCBite Ground Kit, you can use short DUPONT cables—male or female—as ground….
0
4
0
@dangerousproto
ian @ Dangerous Prototypes
1 month
While the 93x has the excuse of being really old, the GX2431 is a modern clone. My guess is that it saves bond wire, the tiny gold thread that connects a die to the chip leads, to take the short route (just a guess).
0
0
1
@dangerousproto
ian @ Dangerous Prototypes
1 month
Then there's the GX2431, a new-ish clone of the DS2431 1-Wire EEPROM. Ground is pin 8, where power power typically connects. This chip doesn’t have a VCC pin because it's powered by the pull-up resistor on the data (DQ) pin.
Tweet media one
1
0
2
@dangerousproto
ian @ Dangerous Prototypes
1 month
First up is the 93x series of SPI EEPROM. Power (VCC) is on the “correct” pin (8), but ground (VSS) is on non-typical pin 5. This is a VERY old family of chips, probably predating the trend of using pin 4 and 8 exclusively for power and ground.
Tweet media one
1
0
1
@dangerousproto
ian @ Dangerous Prototypes
1 month
The typical 8 pin memory chip has ground (GND, VSS) on pin 4 and power (VCC) pin 8. It does not seem to be a formal standard, more a tradition. Modern EEPROMs (24x, 25x), flash (25Qx), SRAM (23x) and FRAM all have a similar pinout. However there are a couple oddities out there.
Tweet media one
Tweet media two
Tweet media three
1
0
9
@dangerousproto
ian @ Dangerous Prototypes
1 month
While the protocol feels I2C-ish, the chip is organized like an SPI EEPROM. Same kind of instruction set with a write enable latch. Identical Status Register with Write In Progress bit to poll, and two Block Protection bits. Strange little device.
Tweet media one
Tweet media two
0
0
3
@dangerousproto
ian @ Dangerous Prototypes
1 month
. in the boardroom, but do you rush to an obscure timing-sensitive protocol just to save a uC pin or two? The primary sell seems to be vendor lock-in (toner cartridges, cables, etc). I'm interested in playing with one, but is it too obscure/dead end to invest in?.
1
0
2
@dangerousproto
ian @ Dangerous Prototypes
1 month
Has anyone used a Microchip UNI/O single wire EEPROM? Protocol looks like Manchester encoded I2C. Debuted >10 years ago (when 1-Wire was already a zombie) with talk of a bunch of devices. Today there's just a couple EEPROMs, and a few hits on GitHub. Single wire must kill it.
Tweet media one
1
0
7
@dangerousproto
ian @ Dangerous Prototypes
1 month
RT @AnasYMalas: Throwing away my through hole resistors riiiiight away.
0
1
0
@dangerousproto
ian @ Dangerous Prototypes
1 month
About twice a year I need a through hole resistor kit, but this is also fine. The Bus Pirate eeprom command is now read/write/dump/verify/testing 1-Wire EEPROMs.
Tweet media one
Tweet media two
1
6
42
@dangerousproto
ian @ Dangerous Prototypes
1 month
We can test which bits are available by writing 0b10001100 to the status register. If the chip supports WPEN or BPx bits, they will be set to 1 after the write. If they are not supported, they will remain 0. This chip has BPx bits, but not WPEN bit.
Tweet media one
0
0
1
@dangerousproto
ian @ Dangerous Prototypes
1 month
Fewer devices have a WPEN bit that disables the Write Protect (WP) pin. When WPEN is 0, the WP pin is ignored. When WPEN is 1, the WP pin is used to control write protection. If the WP pin is high, the EEPROM is write protected. If the WP pin is low, writes are enabled.
Tweet media one
1
0
1
@dangerousproto
ian @ Dangerous Prototypes
1 month
This allows you to protect a portion of the EEPROM from being written to, even if the write enable latch is set. The block select bits are used to select which block is protected: none (0b00), the upper 1/4 (0b01), the upper 1/2 (0b10), or the entire EEPROM (0b11).
Tweet media one
Tweet media two
1
0
0
@dangerousproto
ian @ Dangerous Prototypes
1 month
The Bus Pirate I2C EEPROM command is coming along, so I wanted to see if we can use a common code base to work with SPI EEPROMs. I narrowed the list of SPI EEPROMs down to this set with common page sizes and addressing methods. Most SPI EEPROMs have write protection blocks.
Tweet media one
1
0
7
@dangerousproto
ian @ Dangerous Prototypes
1 month
Next I'll get it working with a "common" set of SPI EEPROMs. Work in progress is in the latest firmware, follow or contribute to development here:
Tweet card summary image
forum.buspirate.com
Device Size Size (bytes) Page Size Address Bytes Block Select Bits 24LC1025 128 KB 131072 128 2 1 in I2C ADDR bit 3 24LC512 64 KB 65536 128 2 0 24LC256 32 KB 32768 64 2 0 24LC128 16 KB 16384 64 2 0...
0
0
5