HP Forums

Full Version: WP-34S transfer problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.

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

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

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

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

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,

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?

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

cheers

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?

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.