The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

WP-34S transfer problem
Message #1 Posted by Reth on 19 June 2012, 7:13 p.m.

I got mine couple of weeks ago from Eric (3.1 3082) and it has crystal installed. I've got FTDI USB adapter and followed thoroughly the transfer instructions, but can't get it to work - on two separate computers. It *works* ONLY for a set of 5-6 commands, but fails for any longer program, RAM, registers etc. Strange.

      
Re: WP-34S transfer problem
Message #2 Posted by pascal_meheut on 20 June 2012, 12:57 a.m.,
in response to message #1 by Reth

Are you sure you have the XTAL firmware? Can you activate STOPWATCH?

            
Re: WP-34S transfer problem
Message #3 Posted by Reth on 20 June 2012, 1:37 a.m.,
in response to message #2 by pascal_meheut

Quote:
Are you sure you have the XTAL firmware? Can you activate STOPWATCH?
Positive, STOPWATCH is there and running as I write now.

BTW I tried almost everything, even the example program:

CLx
INC x
BACK 001

run it for 30 seconds I get 123,195 rather than 191,000 as per the manual - that with fresh batteries (I've replaced the original ones even though the batt indicator wasn't lit).

That same 3 line program gets sent no problem :-)

Cheers, Reth

                  
Re: WP-34S transfer problem
Message #4 Posted by Paul Dale on 20 June 2012, 2:03 a.m.,
in response to message #3 by Reth

Quote:
run it for 30 seconds I get 123,195 rather than 191,000 as per the manual

That probably doesn't mean anything. We're been tinkering with the inner execution code paths and low level mathematical functions as space saving measures and I wouldn't be surprised if there were performance impacts.

- Pauli

                  
Re: WP-34S transfer problem
Message #5 Posted by pascal_meheut on 20 June 2012, 2:04 a.m.,
in response to message #3 by Reth

Mine does around 109000 so I guess this is not the problem. What OS and FTDI driver do you use?

                        
Re: WP-34S transfer problem
Message #6 Posted by Reth on 20 June 2012, 3:40 a.m.,
in response to message #5 by pascal_meheut

Win 7 Ultimate on one computer and Win XP on the other; but how come it works for *very small* programs and not for anything else?

Pauli, I know those figures mean nothing as stated in the manual, but desperate times bring desperate actions, and I was curious as well.

Cheers,

                              
Re: WP-34S transfer problem
Message #7 Posted by pascal_meheut on 20 June 2012, 4:31 a.m.,
in response to message #6 by Reth

Quote:
Win 7 Ultimate on one computer and Win XP on the other; but how come it works for *very small* programs and not for anything else?

Maybe a driver problem. I tried many chipsets/OS/adapters and saw very strange things... Which emulator do you use to try your transfers? The one in http://sourceforge.net/projects/wp34s/files/emulator/?

Which driver do you use for your FTDI adapter?

                                    
Re: WP-34S transfer problem
Message #8 Posted by Reth on 20 June 2012, 6:08 a.m.,
in response to message #7 by pascal_meheut

I installed all latest stuff, details will follow...

cheers

                                          
Re: WP-34S transfer problem
Message #9 Posted by Marcus von Cube, Germany on 20 June 2012, 4:25 p.m.,
in response to message #8 by Reth

Have a look at serial.c and you will see that the software sends blocks of up to 2 KB length without any intermediate handshake, just a length field and a check sum. The software assumes that both partners are able to follow a one kilobyte per second data stream. It must be a character loss problem on one end of the connection. Does the transfer work in one direction but not in the other?

                                                
Re: WP-34S transfer problem - PROBLEM SOLVED!
Message #10 Posted by Reth on 20 June 2012, 9:25 p.m.,
in response to message #9 by Marcus von Cube, Germany

As I wrote earlier, works both ways for *small* programs only, everything else ends up with I/O Error :(

That's what I've got:
Driver Provider: FTDI
Driver Date: 18/03/2011
Driver Version: 2.8.14.0
Digital Signer: Microsoft Windows Hardware Compatibility Publisher

What version/s of FTDI chip should I search for?

Cheers,

EDIT: After installing the latest emulator from the link above and configuring the COM port it all works perfectly and instantly! Thanks, guys!

Edited: 20 June 2012, 9:45 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall