Trending
Two everyday factors now proven to cut dementia risk, WHO reveals is trending now Apply for Job Research Foundation Grant Program is trending now Childhood seizures are medical conditions, not spiritual attacks: Paediatrician is trending now Researchers sawed samples from a remote island in Antarctica. They found a “hidden divers… is trending now Researchers advance tech that could help scientists detect habitable worlds beyond our so… is trending now Mummy mask with wig: A 1,000-year-old 'false head' found in Peru that was crafted with re… is trending now China eyes first kinetic impact test for asteroid defense, targeting smaller and less pre… is trending now Trump, Infantino greeted by boos after World Cup final is trending now 'We will realise the madness we have done' - Unai Simon reacts to Spain's historic World … is trending now Mbappe first to win Golden Boot twice as Rodri named best player is trending now João Gomes bolsters Aston Villa midfield as switch from Wolves confirmed is trending now Yonge + St. Clair Art Installations for DesignTO Festival 2027 (Canada) is trending now Two everyday factors now proven to cut dementia risk, WHO reveals is trending now Apply for Job Research Foundation Grant Program is trending now Childhood seizures are medical conditions, not spiritual attacks: Paediatrician is trending now Researchers sawed samples from a remote island in Antarctica. They found a “hidden divers… is trending now Researchers advance tech that could help scientists detect habitable worlds beyond our so… is trending now Mummy mask with wig: A 1,000-year-old 'false head' found in Peru that was crafted with re… is trending now China eyes first kinetic impact test for asteroid defense, targeting smaller and less pre… is trending now Trump, Infantino greeted by boos after World Cup final is trending now 'We will realise the madness we have done' - Unai Simon reacts to Spain's historic World … is trending now Mbappe first to win Golden Boot twice as Rodri named best player is trending now João Gomes bolsters Aston Villa midfield as switch from Wolves confirmed is trending now Yonge + St. Clair Art Installations for DesignTO Festival 2027 (Canada) is trending now
Technology

I2C Sniffing Comes to the Bus Pirate 5

I2C Sniffing Comes to the Bus Pirate 5

While the Bus Pirate 5 is an impressive piece of hardware, the software is arguably where the project really shines. Creator [Ian Lesnet] and several members of the community are …read more

While the Bus Pirate 5 is an impressive piece of hardware, the software is arguably where the project really shines. Creator [Ian Lesnet] and several members of the community are constantly working to add new features and capabilities to the hardware hacking multi-tool, to the point that if your firmware is more than a few days old there’s an excellent chance there’s a fresher build available for you to try out.

One of the biggest additions from the last week or so of development has been the I2C sniffer — a valuable tool for troubleshooting or reverse engineering devices using the popular communications protocol. [Ian] has posted a brief demo video of it in action.

It’s actually a capability that was available in the “classic” versions of the Bus Pirate, but rather than porting the feature over from the old firmware, [Ian] decided to fold the MIT licensed pico_i2c_sniffer from [Juan Schiavoni] into the new codebase. Thanks to the RP2040’s PIO, the sniffer works at up to 500 kHz, significantly outperforming its predecessor.

Admittedly, I2C sniffing isn’t anything you couldn’t do with a cheap logic analyzer. But that means dealing with captures and making sure the protocol decoder is setup properly, among other bits of software tedium. In comparison, once you start the sniffer program on the Bus Pirate 5, I2C data will be dumped out to the terminal in real-time for as long as you care to see it. For reverse engineering, it’s also very easy to move quickly from sniffing I2C packets to replaying or modifying them within the Bus Pirate’s interface.

If you already have a Bus Pirate 5, all you need to do is flash the latest firmware from the automated build system, and get sniffing. On the fence about picking one up? Perhaps our hands-on review will help change your mind.

View original source →

Related

More from Hackaday Blog