HP Forums
Flashing a 30B from Linux or Mac? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Flashing a 30B from Linux or Mac? (/thread-212296.html)



Flashing a 30B from Linux or Mac? - Tom Grydeland - 02-22-2012

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? - Glenn Becker - 02-22-2012

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? - David Griffith - 02-22-2012

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? - Jose Gonzalez Divasson - 02-22-2012

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? - Marcus von Cube, Germany - 02-22-2012

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? - Tom Grydeland - 02-23-2012

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? - Tom Grydeland - 02-23-2012

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? - pascal_meheut - 02-23-2012

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


Re: Flashing a 30B from Linux or Mac? - Egan Ford - 02-23-2012

"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? - Eric Smith - 02-23-2012

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? - Massimo Gnerucci (Italy) - 02-23-2012

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


Re: Flashing a 30B from Linux or Mac? - Jose Gonzalez Divasson - 02-23-2012

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)