Is there a way to pipe the data that was read to a file?

Hacking multi-tool. Get one for $30, including worldwide shipping.

Is there a way to pipe the data that was read to a file?

Postby Aileyus » Thu Aug 10, 2017 3:34 pm

Hi, I'm brand new to Bus Pirate. I only started today. I'm intending to use the device to read a 24AA512 EEPROM. I've managed to get the tool to read the EEPROM but I want to read the entire EEPROM and I don't have much interest in cut/paste 64K bytes of data. Is there a way to pipe the data to a file on my pc as I read it?

I'm also interested to know if there is a way to read/write to specific addresses.

Thanks in advance.
Aileyus
Newbie
Newbie
 
Posts: 2
Joined: Thu Aug 10, 2017 1:11 pm

Re: Is there a way to pipe the data that was read to a file?

Postby suchende » Fri Aug 11, 2017 12:36 am

so far as I know there is no eeprom dumper over i2c.
You could try this: https://github.com/Hashcode/i2c-tools/t ... r/eepromer with a rpi.
Or this: https://gist.github.com/cutaway/5c9538c5b80ce794c2a4
Maybe you have to tweak this python script.
Yes, you can read specific addresses. Look at the datasheets.
suchende
Newbie
Newbie
 
Posts: 14
Joined: Fri Mar 18, 2016 7:48 am

Re: Is there a way to pipe the data that was read to a file?

Postby Aileyus » Fri Aug 11, 2017 9:14 am

Thanks. This device makes as much sense as a fighter jet with a 10 gallon fuel tank. Just enough to take off and land at the same airport to refuel.
Aileyus
Newbie
Newbie
 
Posts: 2
Joined: Thu Aug 10, 2017 1:11 pm

Re: Is there a way to pipe the data that was read to a file?

Postby USBEprom » Sat Aug 12, 2017 8:07 am

Hi Aileyus.
You can try with I2CEEPROMWIN (viewtopic.php?f=4&t=8763).
Use it to collect and save the whole content of the chip.
Since I2CEEPROMWIN fails in read the starting address you must read its content using the terminal or whatever you prefer and add the read in the start of the file saved with I2CEEPROMWIN paying attention to shift one byte down the whole previous content.
Read carefully what is explain in the link I wrote above.
Of course the same thing can also be done with Buccaneer's Den, Pirateconsole and many other GUI, though you have to write a bit of scripting.

Be seeing you.

U.Sb
USBEprom
Full Member
Full Member
 
Posts: 110
Joined: Wed Mar 14, 2012 4:09 pm


Return to Bus Pirate Support