HP Forums
WP-34s: Flash using Linux? - 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: WP-34s: Flash using Linux? (/thread-218450.html)



WP-34s: Flash using Linux? - W. Bruce Maguire II - 04-18-2012

Dear WP-34s team:

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

Thanks in advance,

Bruce.


Re: WP-34s: Flash using Linux? - Dominic Richens - 04-18-2012

yes see sourceforge for Pascal's multi-platform tool


Re: WP-34s: Flash using Linux? - Tom Grydeland - 04-19-2012

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


Re: WP-34s: Flash using Linux? - Marcus von Cube, Germany - 04-19-2012

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


Re: WP-34s: Flash using Linux? - Tom Grydeland - 04-19-2012

Nope, still no connection.


Re: WP-34s: Flash using Linux? - Marcus von Cube, Germany - 04-19-2012

Have you tried a reset followed by ON?


Re: WP-34s: Flash using Linux? - Tom Grydeland - 04-19-2012

I had not. That worked! Thanks!

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


Re: WP-34s: Flash using Linux? - Marcus von Cube, Germany - 04-19-2012

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


Re: WP-34s: Flash using Linux? - W. Bruce Maguire II - 04-19-2012

Great!

Thanks, Everyone.

Bruce.


Re: WP-34s: Flash using Linux? - pascal_meheut - 04-19-2012

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.