Post Reply 
More power (literally) for the HP-41, follow-up.
08-14-2023, 06:31 PM
Post: #41
RE: More power (literally) for the HP-41, follow-up.
Pictures of my beta unit ...

[Image: 82120D_1.jpeg]

[Image: 82120D_7.jpeg]

[Image: 82120D_9.jpeg]

[Image: 82120D_8.jpeg]

[Image: 82120D_2.jpeg]

[Image: 82120D_3.jpeg]

[Image: 82120D_4.jpeg]

[Image: 82120D_5.jpeg]

[Image: 82120D_6.jpeg]
Find all posts by this user
Quote this message in a reply
08-15-2023, 07:24 PM
Post: #42
RE: More power (literally) for the HP-41, follow-up.
:O

Compliments Diego for your creation and thank-you Sylvain for the report and tests
Find all posts by this user
Quote this message in a reply
08-16-2023, 07:37 PM
Post: #43
RE: More power (literally) for the HP-41, follow-up.
Hi all,

Thanks. Sylvain for these clear pictures. ;-)

and Aurelio for your kind words.

Best.

Diego.

"Do not suppose, check it twice."
Find all posts by this user
Quote this message in a reply
08-19-2023, 06:12 PM
Post: #44
RE: More power (literally) for the HP-41, follow-up.
The battery indicator is finally visible!

It took ...
  • 305 magnetic cards read/write
  • 315 barcode program strips
  • 134h test program execution
... to make it happen.
Find all posts by this user
Quote this message in a reply
08-19-2023, 06:22 PM
Post: #45
RE: More power (literally) for the HP-41, follow-up.
Hi Sylvain,

And thanks for confirming it works!

I was starting to think that the low battery detection circuit was not properly designed. :-)

Note however that the "BAT" annunciator is activated when the battery capacity is about 22-25%, so there's still some "life" in it, though it is highly advisable to recharge it before it runs under 20% to extend functional life span.

Best wishes.

Diego.

"Do not suppose, check it twice."
Find all posts by this user
Quote this message in a reply
08-21-2023, 06:50 PM (This post was last modified: 08-25-2023 02:50 PM by Sylvain Cote.)
Post: #46
RE: More power (literally) for the HP-41, follow-up.
Test round #2 → 41CL Flash update

Flash upgrade setup
  • plug serial cable
  • 41CL
    Code:
    MMUDIS      // disable memory management unit
    MMUCLR      // clear memory management unit configuration
    "YFNX"      // CL Extreme ROM
    PLUG1L      // map ROM image to page 8
    "YUPS"      // CL Update ROM
    PLUG1U      // map ROM image to page 9
    Code:
    TURBO50     // 50x speed up
    SERINI      // initialize serial port
    BAUD48      // set speed to 4800 baud
    MMUEN       // enable memory management unit
    CAT 2       // search for CL Update ROM image : UPDAT 4D
  • Computer
    Code:
    java -jar clupdate-1.1.0.jar --update rom_files_230725.zip /dev/tty.usbserial-5230 4800
                // HH:MM:SS --update   [fileName: rom_files_230725.zip] [portName: /dev/tty.usbserial-5230]
                // HH:MM:SS File       rom_files_230725.zip loading ... done
                // HH:MM:SS Serial     /dev/tty.usbserial-5230 opened at 4800 baud.
                // HH:MM:SS Waiting    for 41CL commands ...
  • 41CL
    Code:
    ON          // disable sleep
    CF 26       // disable beeper
    FDBVER?     // get current Flash revision : ??/??/???? (MDY)
    "*"         // scan all ROM images
    CMOPEN      // open serial port communication
    CPONLY      // do CRC compare only
    FLCHK?      // scan Flash for outdated ROM images
                // HH:MM:SS Report     ? outdated pages, out of 1024 pages, spread over ? Flash blocks, estimated update time: ??h ??m ??s
    Code:
    CDBVER?     // 07/25/2023 (MDY)    [should be equal or near to rom_files_YYMMDD.zip date value]
    "*"         // update all ROM images
    FLUPD       // do the update
    CDBEXP      // to validate that all ROM images has been updated
                // HH:MM:SS Report     0 outdated pages, out of 1024 pages, spread over 0 Flash blocks, estimated update time: 00h 00m 00s
    FDBVER?     // get current Flash revision : 07/25/2023 (MDY)
    Code:
    CMCLOSE     // close serial port communication
    CDBDEL      // delete correlated ROM image
    MMUDIS      // disable memory management unit
    MMUCLR      // clear memory management unit configuration
    OFF         // power off & reactivate sleep mode
  • unplug serial cable

Flash upgrade to 2023-07-25
Code:
CL Board  :: FDBVER?    :: CDBEXP
41CLv2    :: 09/23/2022 :: Report        7 outdated pages, out of  256 pages, spread over  5 Flash blocks, estimated update time: 00h 16m 01s
41CLv3    :: 09/23/2022 :: Report       15 outdated pages, out of  512 pages, spread over  9 Flash blocks, estimated update time: 00h 29m 33s
41CLv4    :: 09/23/2022 :: Report       15 outdated pages, out of  512 pages, spread over  9 Flash blocks, estimated update time: 00h 29m 33s
41CLv5 #1 :: 09/23/2022 :: Report       73 outdated pages, out of 1024 pages, spread over 19 Flash blocks, estimated update time: 01h 14m 47s
41CLv5 #2 :: 06/03/2023 :: Report        6 outdated pages, out of 1024 pages, spread over  4 Flash blocks, estimated update time: 00h 12m 56s

All my units has been updated and the battery is not depleted.
So I will simulate a lot of update by doing a downgrade/upgrade loop until the BAT light-up between 2023-07-25 and 2018-12-28

Flash downgrade setup
  • plug serial cable
  • 41CL
    Code:
    MMUDIS      // disable memory management unit
    MMUCLR      // clear memory management unit configuration
    "00A>830"   // 00A YFNX-4C Flash location > 830 free RAM location
    YMCPY       // copy YFNX-4C from Flash to RAM
    "062>831"   // 062 YUPS-4D Flash location > 831 free RAM location
    YMCPY       // copy YUPS-4D from Flash to RAM
    Code:
    "830-RAM"   // CL Extreme location in RAM
    PLUG1L      // map YFNX ROM image in RAM to page 8
    "831-RAM"   // CL Update location in RAM
    PLUG1U      // map YUPS ROM image in RAM to page 9
    Code:
    TURBO50     // 50x speed up
    SERINI      // initialize serial port
    BAUD48      // set speed to 4800 baud
    MMUEN       // enable memory management unit
    CAT 2       // search for "YFNX 4C" and "UPDAT 4D"
    ON          // disable sleep
    CF 26       // disable beeper
  • loop
    • Computer odd step
      Code:
      java -jar clupdate-1.1.0.jar --update rom_files_181228.zip /dev/tty.usbserial-5230 4800
                  // HH:MM:SS --update   [fileName: rom_files_181228.zip] [portName: /dev/tty.usbserial-5230]
                  // HH:MM:SS File       rom_files_181228.zip loading ... done
                  // HH:MM:SS Serial     /dev/tty.usbserial-5230 opened at 4800 baud.
                  // HH:MM:SS Waiting    for 41CL commands ...
      Computer even step
      Code:
      java -jar clupdate-1.1.0.jar --update rom_files_230725.zip /dev/tty.usbserial-5230 4800
                  // HH:MM:SS --update   [fileName: rom_files_230725.zip] [portName: /dev/tty.usbserial-5230]
                  // HH:MM:SS File       rom_files_230725.zip loading ... done
                  // HH:MM:SS Serial     /dev/tty.usbserial-5230 opened at 4800 baud.
                  // HH:MM:SS Waiting    for 41CL commands ...
    • 41CL
      Code:
      FDBVER?     // get current Flash revision : 07/25/2023 (odd) | 12/18/2018 (even)
      "*"         // scan all ROM images
      CMOPEN      // open serial port communication
      CPONLY      // do CRC compare only
      FLCHK?      // scan Flash for outdated ROM images
                  // HH:MM:SS Report     315 outdated pages, out of 1024 pages, spread over 67 Flash blocks, estimated update time: 04h 40m 59s
      Code:
      CDBVER?     // 12/18/2018 (odd) | 07/25/2023 (even)
      "*"         // update all ROM images
      FLUPD       // do the update
      CDBEXP      // to validate that all ROM images has been updated
                  // HH:MM:SS Report     0 outdated pages, out of 1024 pages, spread over 0 Flash blocks, estimated update time: 00h 00m 00s
      FDBVER?     // get current Flash revision : 12/18/2018 (odd) | 07/25/2023 (even)
      CMCLOSE     // close serial port communication
      CDBDEL      // delete correlated ROM image
  • end-loop
    Code:
    MMUDIS      // disable memory management unit
    MMUCLR      // clear memory management unit configuration
    OFF         // power off & reactivate sleep mode
  • unplug serial cable

Testing on my 41CL v5 #2 ...
Code:
  FDBVER?    :: CDBVER?    :: CDBEXP
  07/25/2023 :: 12/18/2018 ::   64 outdated pages, out of 1024 pages, spread over  24 Flash blocks, were updated before the 41CL was send crashing on the floor (no comment)

Switching to my 41CL v4
Code:
  FDBVER?    :: CDBVER?    :: CDBEXP
  07/25/2023 :: 12/18/2018 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  12/18/2018 :: 07/25/2023 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  07/25/2023 :: 12/18/2018 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  12/18/2018 :: 07/25/2023 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  07/25/2023 :: 12/18/2018 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  12/18/2018 :: 07/25/2023 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks

Switching to my 41CL v3
Code:
  FDBVER?    :: CDBVER?    :: CDBEXP
  07/25/2023 :: 12/18/2018 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  12/18/2018 :: 07/25/2023 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  07/25/2023 :: 12/18/2018 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  12/18/2018 :: 07/25/2023 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  07/25/2023 :: 12/18/2018 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks
  12/18/2018 :: 07/25/2023 ::  123 outdated pages, out of  512 pages, spread over  37 Flash blocks

Switching to my 41CL v5 #1
Code:
  FDBVER?    :: CDBVER?    :: CDBEXP
  07/25/2023 :: 12/18/2018 ::  311 outdated pages, out of 1024 pages, spread over 66 Flash blocks
... the BAT annunciator went on here, but it went off after, so I am continuing the test
  12/18/2018 :: 07/25/2023 ::  311 outdated pages, out of 1024 pages, spread over 66 Flash blocks
  07/25/2023 :: 12/18/2018 ::  311 outdated pages, out of 1024 pages, spread over 66 Flash blocks
... the BAT annunciator went on permanently here after
  12/18/2018 :: 07/25/2023 ::   31 outdated pages, out of 1024 pages, spread over 13 Flash blocks

Final results on a single charge are ...
Code:
FLCHK?
   ~50 x FLDB/CFLDB ROM images downloaded/uploaded to/from RAM 
FLUPD
  2620 x ROM images downloaded to RAM
   725 x 64KiB Flash blocks read/erased/written

edit: last update 2023-08-25 10h50 UTC-4h
Find all posts by this user
Quote this message in a reply
08-22-2023, 06:28 AM
Post: #47
RE: More power (literally) for the HP-41, follow-up.
Thanks Sylvain for a thorough report. I just picked up my PowerPack from the post office and it is now powering my CL, purring like a wild cat - kudos to Diego, as always!

I was thinking of doing some tests but but you've beat me to it ;-)

it's a great thing not needing to worry about alkaline batteries anymore!

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
08-25-2023, 02:53 PM
Post: #48
RE: More power (literally) for the HP-41, follow-up.
Test round #2 → 41CL Flash update

Final results on a single charge are ...
Code:
FLCHK?
   ~50 x FLDB/CFLDB ROM images downloaded/uploaded to/from RAM 
FLUPD
  2620 x ROM images downloaded to RAM
   725 x 64KiB Flash blocks read/erased/written
Find all posts by this user
Quote this message in a reply
09-13-2023, 01:11 PM (This post was last modified: 09-13-2023 01:16 PM by KimH.)
Post: #49
RE: More power (literally) for the HP-41, follow-up.
Hi Diego,

Just got my 82120D - works great, I am one happy camper Smile

Thank you for making this - much needed option - available!!

/KimH

PS: Ready for one more if/when you make a second batch
Find all posts by this user
Quote this message in a reply
09-13-2023, 02:33 PM
Post: #50
RE: More power (literally) for the HP-41, follow-up.
(09-13-2023 01:11 PM)KimH Wrote:  Just got my 82120D - works great, I am one happy camper Smile
Thank you for making this - much needed option - available!!
Same here!

(09-13-2023 01:11 PM)KimH Wrote:  PS: Ready for one more if/when you make a second batch
I already have a beta unit, a production unit and three more in the pipeline. (one per production batch)

Sylvain Côté
Find all posts by this user
Quote this message in a reply
09-14-2023, 08:00 AM
Post: #51
RE: More power (literally) for the HP-41, follow-up.
Just finished a marathon test with Diego's 82120D (Beta).
Setup: HP41CL with TIME module and the PPC rom plugged. Running PNG (Prime Number Generator) from the PPC manual examples, slightly modified to print the prime with the time indication and testing flag 49 for battery status, print this when BAT is low.
Printing using the YPRT ROM to print into the serial port with a PC connected, printing to the HP82240 simulator in HP82143 mode. Running in TURBO 50 mode all the time with the serial port active.

Running time until BAT appearance: 59 hrs 23 minutes
Running time from BAT until OFF: 12 hrs 28 minutes
Total running time 71 hrs 51 minutes, highest prime found is 455921

Compared with my own built 1100 mAh battery solution: total running time 36 hrs 35 minutes (no BAT indication)

Compliments to Diego for another fine HP41 necessity!

Here is the program used:
Code:
 01◆LBL "PNG"
 02 2
 03◆LBL 01
 04 XROM "NP"
 05 X=Y?
 06 XEQ 02
 07 CLX
 08 2
 09 ST+ Y
 10 GTO 01
 11◆LBL 02
 12 CLA
 13 TIME
 14 FIX 4
 15 ATIME
 16 "Ͱ "
 17 RDN
 18 FIX 0
 19 ARCL X
 20 FS? 49
 21 "Ͱ BAT"
 22 AVIEW
 23 END

Regards, Meindert
Find all posts by this user
Quote this message in a reply
09-15-2023, 07:25 PM
Post: #52
RE: More power (literally) for the HP-41, follow-up.
Hi Meindert,

Thanks for sharing this test results and your kind words. :-)

Special interest the running time after "BAT" annunciator, which gives an overall idea about the total capacity of the 82120D.

Needless to say that this is a *one time* test and it is always recommended to charge the Power Bank early after the "BAT" is on, to extend the battery life.

All the best from the Caribbean.

Diego.

"Do not suppose, check it twice."
Find all posts by this user
Quote this message in a reply
09-17-2023, 05:35 AM
Post: #53
RE: More power (literally) for the HP-41, follow-up.
Very interesting information!
Do you also know the Running time until BAT appearance by using LR1 NiMH with each ~ 500mAh in your HP41CL?
I have to change the batteries every 2 weeks. And I am happy to get the new solution from Diego.

+++++++
(09-14-2023 08:00 AM)MeindertKuipers Wrote:  Just finished a marathon test with Diego's 82120D (Beta).
Setup: HP41CL with TIME module and the PPC rom plugged. Running PNG (Prime Number Generator) from the PPC manual examples, slightly modified to print the prime with the time indication and testing flag 49 for battery status, print this when BAT is low.
Printing using the YPRT ROM to print into the serial port with a PC connected, printing to the HP82240 simulator in HP82143 mode. Running in TURBO 50 mode all the time with the serial port active.

Running time until BAT appearance: 59 hrs 23 minutes
Running time from BAT until OFF: 12 hrs 28 minutes
Total running time 71 hrs 51 minutes, highest prime found is 455921

Compared with my own built 1100 mAh battery solution: total running time 36 hrs 35 minutes (no BAT indication)

Compliments to Diego for another fine HP41 necessity!

Here is the program used:
Code:
 01◆LBL "PNG"
 02 2
 03◆LBL 01
 04 XROM "NP"
 05 X=Y?
 06 XEQ 02
 07 CLX
 08 2
 09 ST+ Y
 10 GTO 01
 11◆LBL 02
 12 CLA
 13 TIME
 14 FIX 4
 15 ATIME
 16 "Ͱ "
 17 RDN
 18 FIX 0
 19 ARCL X
 20 FS? 49
 21 "Ͱ BAT"
 22 AVIEW
 23 END
Find all posts by this user
Quote this message in a reply
09-17-2023, 02:09 PM
Post: #54
RE: More power (literally) for the HP-41, follow-up.
(09-17-2023 05:35 AM)Uli Wrote:  Very interesting information!
Do you also know the Running time until BAT appearance by using LR1 NiMH with each ~ 500mAh in your HP41CL?
I have to change the batteries every 2 weeks. And I am happy to get the new solution from Diego.

I do not have these batteries anymore, and in my setup I do not get a low battery at all. I now exclusively use 2 homebuilt packs of 1100 mAh each (the battery taken from a giveaway USB powerbank) and Diego's new product.

Regards, Meindert
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)