Strange problem with Nov32 / Hepax



#10

I use my Nov-32 with Hepax to store Focal programs, executing them within Hepax. I've been working in this way for several months without problems.

Last night I allowed the batteries to run down (forgot I'd executed "ON"). This morning the batteries were flat. The Hepax contents were all there thanks to the Nov-32. I cleared the HP41 memory to be safe, and started work...

Now the strange bit: The Focal programs in Hepax cannot be directly executed as before. They have not been corrupted: if I COPY to main memory they run as expected. But when I attempt to run a program in Hepax it returns immediately, without any error message but without executing any of the program. BUT, if I GTO that program and press R/S it runs correctly!

It seems to be only the ability to execute Hepax programs directly that has been affected. This applies both to my original programs and a test program I just created and saved to Hepax. Any ideas, before I resort to reprogramming the Nov32 from scratch?


#11

More info:

I have tried the Nov32 in a different HP41, with the same results, so the problem appears to be corruption of the Nov32 contents.

If I manually execute a program in Hepax memory using GTO xx followed by R/S then programmable key assignments to labels in that program don't work but show an XROM code, e.g. XROM 63,12.


#12

Hi,

Certainly, this is a weird behavior. Not so strange due to the fact that the system has been brought to an unpowered state in very irregular way: i.e. leaving the batteries runnig out overnight.

NoV-32 is not designed to face such situation and, although not harmful to the hardware itself, it may well have led NoV-32's RAM contents to a corrupted state.

With this in mind, I'm affraid that your better choice is to erase NoV-32's RAM pages and reload the programs. Sorry for the bad news.

As you're handling FOCAL programs you could move them to main RAM and use a card reader to avoid re-typing.

Please let us know about the results.

Cheers.

Diego.


#13

Thanks, Diego. I'll try this later. No time at the moment as I'm working to a deadline, and fortunately the Focal programs I'm using for this job will fit (just!) in main memory.

This is indirectly related to the fact that Nov32 doesn't like the auto-off function of the HP41. So I normally manually execute "ON" to be safe - this time I forgot to switch off and the charger wasn't plugged in either. Ooops.

Is there any way to support auto-off or is this a fundamental limitation of the HP41's expansion bus?

Peter


#14

Hi again,

I'll need a while to check my code database, but I think I fixed the auto OFF bug, both for NoVRAM and NoV-32!! At least I'm positive I did for the NoVRAM code, but I may have forgotten updating the NoV-32 code, oops sorry if this was the case...

For the records, this was not a limitation of the 41 I/O interface whatsoever, on the contrary, PWO and SYNC lines perfectly define the HP-41 power state in any case. However, as NoV's are designed to minimize power drain, I leave PIC processor into sleep as soon as PWO goes low, thus, handling the SYNC line to detect Auto OFF, msut be done via interrupt to allow PIC "wake-up".

It took a nice code compression effort to make enough room for the interrupt handling routine that allows such handling. I finally got the time to rethink the power management and write the appropriate line by '05 3rd quarter, while I was dealing with NoV-32 developement.

In any case, you won't need to execute "ON", should your 41 goes to Auto OFF, just unplug NoV-32, plug it again and turn your calc ON. It won't lose a single bit, granted.

Best wishes.

Diego.


#15

> I think I fixed the auto OFF bug, both for NoVRAM and NoV-32!!

That's excellent news! This was the only problem I had with the otherwise excellent Nov32. It's made the HP41 much more useable - no need to mess around with card reader etc except for occasional backups.

Unfortunately the unplug/plug/power-on routine didn't work reliably for me, occasionally resulting in a high-current state in the Nov32 which would pull down the supply and corrupt the HP41 memory. That's why I usually execute ON to be safe. (we discussed this by email a few weeks ago: I'm peter at giastar com.) So support of auto-off is very useful.

I'll download the latest Nov32 firmware before continuing with this. Perhaps you could confirm when/whether the auto-off fix is included in the Nov32 firmware - I don't mind waiting for this, my NOV32 is still working fine as a non-volatile memory, I just have to COPY any stuff I'm using to main memory first.


Peter

Edited: 27 Jan 2006, 5:13 p.m.

#16

Hi, Diego,

Does the latest Nov32 code have the sleep mode fix? I'm still using the original version I got with the module, and it has the problem with deep sleep on the mainframe.

Regards,

Howard

#17

Hi,

I've had to dig a bit into my "old versions" directory to find out what happened to the *Auto-OFF bug free* version of "NoV-32-H.asm".

Finally I manage to re-create the "crime scene" :-)

- I wrote the code for NoV-32 based on NoVRAM (obviously), this code was intended to provide enable/disable features at page (4k) level.

- Then I modified the NoVRAM code to fix Auto-OFF bug.

- Modify the NoV-32 code in the same way

- At this point page enable/disable feature revealed unreliable and I rush to correct that.

- I modified NoV-32 again to allow "block" (16K) swapping... but (here it the point) I did it on the file that wasn't been modified with the code to fix Auto OFF bug... Ouch!!

Please accept my apologise, I'm confident I can rebuild a bug free version for NoV-32 along next week.

Best regards.

Diego.


#18

Ooops! Anyway, it's really good news that auto-off will soon be working on the Nov32. This module has transformed my HP41, which is still the calculator I reach for when I want to do serious work.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Strange HP 25 Problem (Repair) Onur Ilkorur 5 2,986 12-06-2013, 05:13 PM
Last Post: Onur Ilkorur
  Strange Battery Icon during updaate of Prime Firmware. Harold A Climer 7 3,605 12-05-2013, 04:40 PM
Last Post: Michael de Estrada
  HP PRIME : strange behavior when trying user key capability Damien 12 4,029 11-03-2013, 11:02 AM
Last Post: Joe Horn
  HP Prime function APP - Strange limitation ! :o( dg1969 2 1,635 10-04-2013, 12:10 PM
Last Post: dg1969
  HP41CX: Strange serial #... Stephan Matthys 1 1,205 09-13-2013, 01:38 PM
Last Post: Stephan Matthys
  [WP34s] strange behaviour at number entry Dieter 12 3,762 06-06-2013, 05:36 PM
Last Post: Harald
  Strange battery leak Cristian Arezzini 0 980 06-03-2013, 09:49 AM
Last Post: Cristian Arezzini
  HEPAX Revisited: Revision 1E available Ángel Martin 4 1,671 05-03-2013, 01:57 PM
Last Post: Diego Diaz
  Strange video Peter Niessen 9 2,896 04-07-2013, 08:33 AM
Last Post: Csaba Tizedes (Hungary)
  HP-41C Tall Keys Strange ON Behavior aj04062 3 1,755 12-02-2012, 06:49 AM
Last Post: aj04062

Forum Jump: