The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

Flashing a 30B from Linux or Mac?
Message #1 Posted by Tom Grydeland on 22 Feb 2012, 8:45 a.m.

Has anyone done this?

I tried Atmel's sam-ba for Linux, with a prolific PL2303 USB serial port. Having connected the calculator and prepared it for flashing, I started sam-ba. Sam-ba recognized the serial port, I selected the at91sam7l128-ek board from the drop-down list and pressed the "Connect" button. Sam-ba prints the following lines:

-I- Waiting ...
-I- TCL platform : Linux
-I- SAM-BA CDC 2.11  on  : linux
-I- Connection : /dev/ttyUSB0 (target(comType) = 0)
-I- Board : at91sam7l128-ek
-I- Traces Level : 4
-I- target(handle) : file7

(the last of these is printed after pressing "Connect".) Nothing else happens.

Has anyone else tried this? Made it work?

      
Re: Flashing a 30B from Linux or Mac?
Message #2 Posted by Glenn Becker on 22 Feb 2012, 2:10 p.m.,
in response to message #1 by Tom Grydeland

For what it is worth I would also be quite interested in hearing whether anyone has had success with this ...

Thanks,

Glenn

      
Re: Flashing a 30B from Linux or Mac?
Message #3 Posted by David Griffith on 22 Feb 2012, 4:01 p.m.,
in response to message #1 by Tom Grydeland

I understand that the CDC thing has something to do with the fact it won't work.

            
Re: Flashing a 30B from Linux or Mac?
Message #4 Posted by Tom Grydeland on 23 Feb 2012, 2:55 a.m.,
in response to message #3 by David Griffith

If that was a tip for me, I hope you can make it a bit more explicit.

            
Re: Flashing a 30B from Linux or Mac?
Message #5 Posted by Tom Grydeland on 23 Feb 2012, 8:25 a.m.,
in response to message #3 by David Griffith

I got hold of an Eee running W7. Using that, with MySamba and the same USB<->serial cable, the flashing worked on the first try.

Now how much work would it be to develop a tool like MySamba which works under Linux?

                  
Re: Flashing a 30B from Linux or Mac?
Message #6 Posted by pascal_meheut on 23 Feb 2012, 8:46 a.m.,
in response to message #5 by Tom Grydeland

Once again, this is planned and should be available in a few months.

      
Re: Flashing a 30B from Linux or Mac?
Message #7 Posted by Jose Gonzalez Divasson on 22 Feb 2012, 4:10 p.m.,
in response to message #1 by Tom Grydeland

For what is worth, I am flashing all the wp34s with a Mac running Samba in XP in a Parallels session. At the same time, I connect to the store from Safari - seamlessly.

I have been using Windows since I left my father's HP85 in 1983 - and once made the jump to Mac, I am not looking back...

No experience with Linux, though.

            
Re: Flashing a 30B from Linux or Mac?
Message #8 Posted by Marcus von Cube, Germany on 22 Feb 2012, 4:59 p.m.,
in response to message #7 by Jose Gonzalez Divasson

Josť, why SAM-BA and not MySamba? The latter is much faster, it takes about 20 seconds for the complete flash.

                  
Re: Flashing a 30B from Linux or Mac?
Message #9 Posted by Jose Gonzalez Divasson on 23 Feb 2012, 5:11 p.m.,
in response to message #8 by Marcus von Cube, Germany

Marcus,

Sorry, I meant "mySamba". It is not only much, much faster but as well less prone to stop in mid-download (in case there is any other I/O going on, it is very likely that the download stops with the normal Sam-Ba)

      
Re: Flashing a 30B from Linux or Mac?
Message #10 Posted by Egan Ford on 23 Feb 2012, 11:24 a.m.,
in response to message #1 by Tom Grydeland

"wine MySamBa.exe" works from Mac and Linux just fine. I never got the Atmel code to work.

More info:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv020.cgi?read=202996

My reflash notes:

To flash existing 34S:

1. Connect cable. 2. Turn ON 34S. 3. Press and hold ON, then D S S (D 6 6), then release ON. Calc will turn off. 4. Press and release ON. 5. Flash with "wine MySamba.exe". 6. Press and release reset button on the cable. 7. Disconnect cable. 8. Press ON. Check VERS and BATT.

      
Re: Flashing a 30B from Linux or Mac?
Message #11 Posted by Eric Smith on 23 Feb 2012, 2:18 p.m.,
in response to message #1 by Tom Grydeland

The Prolific USB-serial chips seem to be problematic. The FTDI ones seem to work much better.

            
Re: Flashing a 30B from Linux or Mac?
Message #12 Posted by Massimo Gnerucci (Italy) on 23 Feb 2012, 4:11 p.m.,
in response to message #11 by Eric Smith

Quote:
The Prolific USB-serial chips seem to be problematic. The FTDI ones seem to work much better.
I see this statement repeated but I use a Prolific adapter and all works fine. I shall add that my serial/USB adapter is from 4/5 years ago.

Greetings,
Massimo


[ Return to Index | Top of Index ]

Go back to the main exhibit hall