Re: Connectivity question between PC and HP50G



On Aug 7, 10:01 pm, "John H Meyers" <jhmey...@xxxxxxxxxxxxxx> wrote:
On Thu, 07 Aug 2008 13:10:00 -0500, Randy wrote:
Based on the suggestion, I copied my few small programs to SD.
Then I performed ON+A+F.  I was not able to recover memory
(there was no response from the yes button).  Memory was cleared.

My HP48 series calcs always recovered memory,
but my HP49 series has done the above quite a lot.
I don't know why, but "stuff happens."

A complete backup of HOME can be made to SD via
:3:BK001 ARCHIVE

Later you can restore it via :3:BK001 RESTORE
(this will replace the entire current HOME directory).

If you don't want to replace the entire HOME directory
when restoring, you can do
:3:BK001 RCL 'OLDHOME' STO

Then transfer desired variables from 'OLDHOME' to HOME
(using Filer) and purge OLDHOME.

Same can be done using onboard flash
by replacing :3: with :2:

SD cards are pretty big, so the next backup might be BK002, etc. :)





I was able to copy the 3 above files to the calculator.

I installed the 2 libraries one at a time (on+F3 after each
installation).  This application is the first one in which I have
installed a library.  I followed the directions given in the user
instructions.

Then as a test I used Filer to purge the libraries in flash
and delete the 3 files in Home.

I was still able to copy the 3 files to the calculator.

Then I installed the 2 libraries one at a time
(on +F3 after each installation).

Then, according to the user directions, I went to the hppow library
(right arrow lib) and ran setup.  Setup is to be run only once.  It
copies directories and variables to home.

I deleted the 3 copied files in home (example and the 2 library
files).

The example loadflow (supplied by the file example) executed and gave
the correct answers.

The 3 files can no longer be copied from the pc to the calculator.

How about from the SD card to the calculator?

Perhaps that is by design.

Not likely.  I played around with this on the emulator,
storing the library, running "setup," then just for the heck of it,
I pressed a few menu keys to see what would happen
(why read directions when you just want to play? :)

Result: "Try to Recover Memory?" (the calc's version of "BSOD" :)

Even if a user does meaningless things,
this should not happen in well-made programs.

I renamed one of the lib files on the pc
and attempted to copy it to the calculator.  That did not work...

But what DID happen?  Did both PC and Conn4x just "hang"?
Error message on calc?  Something left on stack?
Error message from Conn4x?

"Nothing will come of nothing -- say more!" [Larry King :]

Suggestions: If "user" mode is on, turn it off.
Do -33 CF and -78 CF and -51 CF, then try again.

How about copying again from SD card instead?

Then I purged the 2 installed libraries
and deleted the directory and variables in home.

I am looking at the PDF (English) file, and I see mention of only _one_
library -- another file named "StartUp.lib" is in the downloaded zip,
but searching the PDF manual for "startup" finds nothing.

Is it possible that this extra library isn't meant to be installed?

At present, the program (HPPOW) is installed
and seems to be running correctly.

What character is being displayed as the "decimal point" in numbers?

Anyway, since everything is installed and works fine,
there's no need to transfer it again,
so it doesn't matter even if you can't :)

[r->] [OFF]- Hide quoted text -

- Show quoted text -

Until now, I have only copied individual items to the pc or sd. I now
have an archive without HPPOW which is a known good state. Also
appreciate the example of how to archive and then restore selected
items.

What is the calc's version of "BSOD" ?

When the copy from pc to calculator failed, neither the PC nor Conn4x
hung. The process seemed normal (except that when it fails, the copy
process seems faster). No message on Conn4x or calculator stack. The
library file was not copied to flash, sd, or another directory. An
error message could have been so brief that I missed it altho (at
different times) I watched pc screen and calc intently.

I had to look up user mode to see what it is. User mode was not
turned on.

Also looked up -33 CF, -78 CF, and -51 CF in the manual to learn about
it. If set, the command will clear flags 33 (transfer via wire) and
51 (fraction mark). However, my list does not have a 78. The 50g
users guide says system flag numbers not shown on the screen are not
available. What does 78 do?

I also did not find StartUp.lib listed in the pdf and wondered if it
was not required, only required during installation, or used every
time HPPOW is used. I will repeat the install process without
StartUp.

The decimal point is a comma as indicated in the pdf. Altho the pdf
says the program works fine if you set flag back to decimal. So far,
I have left the flag set at the comma.



Randy


.