HP Forums

Full Version: WP-34s: Flash using Linux?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Dear WP-34s team:

Is it possible to flash (HP-30b-->WP-34s) using Linux?

Thanks in advance,

Bruce.

yes see sourceforge for Pascal's multi-platform tool

I am also trying to do this, with no success so far.

I have a desktop PC with a physical serial port, lspci reports it as

Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06) (prog-if 02 [16550])

and "setserial -g /dev/ttyS0" reports

/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

I prepared the WP-34S using the [on]+D [on]+S+S combination, whereupon the display blanked out and the calculator no longer responds to key presses, as expected. However, when running

wp34sflashcmd calc_full.bin /dev/ttyS0
I get the response
Trying to connect
Cannot connect to WP34s

Any suggestions for troubleshooting this are most welcome.

--T

You need to press ON on the calculator. There is no visible indication but the communication should work now.

Nope, still no connection.

Have you tried a reset followed by ON?

I had not. That worked! Thanks!

--T (now at 3.0 2824) :-)

I hope you enjoy it. Normally hitting RESET should not be necessary but at times it might be.

Great!

Thanks, Everyone.

Bruce.

I'm glad it finally worked. I tested it on my Ubuntu and it flashed the WP34s but as Marcus said, it is sometimes necessary to press reset to put the WP34s into the right "mode".

I know the multi-platform flashing tool works but sometimes, establishing connection is less than immediate.

And I must admit I'm flying blind here. I've reproduced the same protocol used by MySamba, slightly improved by looking at the one used by SAM-BA but connection is still random. And I've tried with 4 different USB->Serial chipsets, several drivers...
I'm waiting for new cables to replace my old one and do more extensive test but if someone has an idea... Because debugging serial communication proved to be long, tedious and obviously not my forte.