The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

WP-34s: Flash using Linux?
Message #1 Posted by W. Bruce Maguire II on 18 Apr 2012, 6:46 p.m.

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?
Message #2 Posted by Dominic Richens on 18 Apr 2012, 9:34 p.m.,
in response to message #1 by W. Bruce Maguire II

yes see sourceforge for Pascal's multi-platform tool

      
Re: WP-34s: Flash using Linux?
Message #3 Posted by Tom Grydeland on 19 Apr 2012, 6:34 a.m.,
in response to message #1 by W. Bruce Maguire II

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?
Message #4 Posted by Marcus von Cube, Germany on 19 Apr 2012, 7:26 a.m.,
in response to message #3 by Tom Grydeland

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?
Message #5 Posted by Tom Grydeland on 19 Apr 2012, 7:47 a.m.,
in response to message #4 by Marcus von Cube, Germany

Nope, still no connection.

                        
Re: WP-34s: Flash using Linux?
Message #6 Posted by Marcus von Cube, Germany on 19 Apr 2012, 7:54 a.m.,
in response to message #5 by Tom Grydeland

Have you tried a reset followed by ON?

                              
Re: WP-34s: Flash using Linux?
Message #7 Posted by Tom Grydeland on 19 Apr 2012, 8:06 a.m.,
in response to message #6 by Marcus von Cube, Germany

I had not. That worked! Thanks!

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

                                    
Re: WP-34s: Flash using Linux?
Message #8 Posted by Marcus von Cube, Germany on 19 Apr 2012, 8:33 a.m.,
in response to message #7 by Tom Grydeland

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

                                          
Re: WP-34s: Flash using Linux?
Message #9 Posted by pascal_meheut on 19 Apr 2012, 1:15 p.m.,
in response to message #8 by Marcus von Cube, Germany

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.

      
Re: WP-34s: Flash using Linux?
Message #10 Posted by W. Bruce Maguire II on 19 Apr 2012, 11:10 a.m.,
in response to message #1 by W. Bruce Maguire II

Great!

Thanks, Everyone.

Bruce.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall