bvanheu/stratatools

Cannot read eeprom with raspberry pi

Opened this issue · 19 comments

Hi,

i tried to read out the eeprom of a stratasys uprint with a raspberry pi, but it didn't worked as i had expected.
I wrote "dtoverlay=w1_gpio,gpiopin=4" in the file "boot/config.txt" and i can also see the device in the folder "sys/bus/w1/devices/w1_bus_master1"
But in the folder "sys/bus/w1/devices/w1_bus_master1/b3-xxxxxxxx" there is no file called eeprom. Just driver , id, name, rw  subsystem, uevent.

Does anybody know this problem?

Regards

Mayr

Hello,

I'm having the same problem here on a rasberry pi 1 model B
1Wire activited via raspi-config, everything works to connect to the chip and read the eeprom's ID (b3-... I have a HP DesignJet=>so basically a Uprint chip but with a different ID if I understand correctly).
But no file or directory "eeprom" in the devie directory, same as @mayrthom :(

As many people has been able to read the eeprom, I think there is something we both done wrong :/ Anyone to help us?

Thanks,

Silvood

256FF commented

I own the HP too. There are some things to do. Eeprom size ja only 128bit. I managed to read it with an Arduino and Windows but writing did not Work.
Now I do everything with rs232 in the DIAG Port. I will write a how2 at 3dprintforum.com in the next week.

@256FF , I would be happy to have a how2 on how to use the diag port for this :)
I think you can easly read, but can you also write on chips with the diag port? I have actually 5 HP material chips with near to 0% for testing purpose :)

256FF commented

writing is as easy as reading with diag port and hyperterminal.
BUT:

  1. To let the printer accept the re-written 100% eeprom you need to delete the "Serial-number-memory-file". As e.g. show for the Dimension 768 with edited rc.local at every startup.

AND
2. to re-write the eeprom you need to have made a dump of the 100% filling ...

I must confess that I do not have much time atm to write the how2 in the next few days but it will come soon at 3dprintforums.com

256FF commented

@Silvood
I finally managed to re-write the 100% dump back to the EEPROM of the HP. But this means that it is neccessary to delete the file with the stored serial numbers.
A detailed instruction can be found here: -> click <-

@256FF , do you mind if I post a copy of your .pdf instructions on my blog post? Many people have asked me about how to hack the uPrint series.

256FF commented

Of course not. I would be glad if you post my instruction in your Blog.

Thanks! Could you also send me an email when you get a chance? I had a few questions for you. You can reach me at haveblue@haveblue.org.

@256FF Thanks a lot for the how2!
I'm about to unplug the harddrive today, apply the modifications this weekend (with a backup before :3) and test it tuesday when I'm back at work.

256FF commented

@Silvood
How are you doing? Worked the modifikation on your printer?

@256FF Yes, just finished and applied some more :)

As I didn't wanted to wait the weekend to bring home the hard drive, I didn't backup, and directly edited rc.local to delete system.dat on startup. (I was pretty confident that nothing could go wrong at this stage)
I will began material test as soon as I have new Stratasys cartridges (maybe at the end of the next week).

Friday wasn't over, and nothing else appeared at work, so I decided to try transform the HP to Stratasys.

I did that cause I didn't find any HP cartridge reseller (even HP itself...) and I don't have any support cartridge left... But I know a Stratasys reseller who can sold me some so I can bypass them in the future

After 2 days of labor, I have successfully apply all the modifications. So my HP is now a full and real stratasys Uprint (I can also go back to a full HP if needed)
I am currently writing a how2 (in French first, English will come :) ) for this. A quick explanation could be: editing gender in /mariner/config/machine.cfg, then use the diag port and rg/sg command to edit gender, then edit the serial number in a specific eeprom (mr 0 1 0 123). Finally, update the firmware.

Now, HP cartridges are "material not recognize" (the same way Stratasys' are on a HP) but Stratasys cartridges will be (I am 95% sure ^^)

I hope it can help some for creating chip without dump ^^

256FF commented

Wow, you switched from HP to uPrint. Perfect. I'd like to know all about this transformation.

I'll do the same thing as you did, posting a thread on 3dprintforums.com with the how2 :)

@mayrthom, to return to the original subject, the best way to read Uprint/HP eeprom is to use the diag port as described in the how2 of @256FF , cause the chip isn't the same as other stratasys' printers.
I tested it and it's way faster than connecting wire to the chip ^^

Yeah, I already tried it with the Diag Port.
That with the HexDump works quiet well.

Now my goal is to use the cartridge writer with the diag port.
But I'm currently not sure if the cartridgewriter even works with uPrint.

I've reprogrammed it, so that I can copy the hex dump from putty into a text box in the cartridgewriter-prgramm.
The cartridge writer then creates a new Hex-Code which I will copy back over putty.

I will try this next monday.
If it works, I'm going to improve the cartridge writer program, so the whole process runs automatically.

The benefit of this is, that then i don't have to mess with the 100% dump files. Just one click and the cartridgewriter does the rest.

256FF commented

Would be great. I'm looking forward for your next posts .... With success!

256FF commented

I can't wait ;-D

Why do I have to edit a serial number of a specific eeprom? And what is the mr command? I have not found any information about this command in the terminal.

Below is the machine.cfg of my HP.
Changing the Gender form LAHAINA to PAIA will make my HP Printer to a uPrint Plus.
Do I need to change the SERIALNUMBER and UDN in this file too?

By the way, changing HANA to PAIA will transform the uPrint to a uPrint Plus, right?

  • ZAXISHOMEOFFSET=-0.053005
  • XYAXISID=UNKNOWN
  • YLASH=0.000000,0.000000,0.000000,0.000000
  • GENDER=LAHAINA
  • XCORR=0.000000
  • SERIALNUMBER=M00***
  • PCAL=5.519500,5.518500,7.514000,7.512000,9.315000,9.327500
  • UDN=is1M00***
  • UPNPCONFIG=1
  • LANGUAGE=de_DE
  • OVERRIDE=0
256FF commented

Hmm, if there is a firmware update maybe it is not possible to revert back to a HP printer. I first thought I will have two harddrives, one for uPrint and one to restore HP easily.
But changing the harddrive will not be enough, right. I need to change sg and mr to let the printer accept the other harddrive - but it is still unclear if we can get back to HP after the firmware update was done.