HP Forums

Full Version: Flashing a 30B from Linux or Mac?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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?

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

Thanks,

Glenn

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

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.

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

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

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?

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

"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.

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

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

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)