HP41CL update
|
07-20-2022, 06:24 AM
Post: #1
|
|||
|
|||
HP41CL update
Dear users,
I tried to update my HP41CL that I bought in 2020. I used clupdate 1.1.0 on my Windows PC. And I used rom_files_220629.zip. After starting with "*" and FLCHK? everything seemed fine. The HP41CL makes a beep every ~4 seconds and the PC shows "KEEP ALIVE" and more and more ")". This process takes a long time and I got tired and went to bed. After about 4 hours I found that the process was finished. The HP41CL had switched off. It works, but I suspect that the update was not completed. CAT 2, for example, shows YFNZ 4F. Am I doing something wrong? Greetings Uli |
|||
07-20-2022, 07:03 AM
Post: #2
|
|||
|
|||
RE: HP41CL update
You did everything right, almost. The update process must be finished with the FLUPD command (see example 1 in the CL_UPDATE manual), this is the actual update where the updated ROM images are re-programmed in FLASH.
Regards, Meindert |
|||
07-20-2022, 07:23 AM
Post: #3
|
|||
|
|||
RE: HP41CL update
(07-20-2022 07:03 AM)MeindertKuipers Wrote: You did everything right, almost. The update process must be finished with the FLUPD command (see example 1 in the CL_UPDATE manual), this is the actual update where the updated ROM images are re-programmed in FLASH. So I have to watch the HP41CL all the time and make sure it doesn't switch off so that I can type FLUPD at the right moment? |
|||
07-20-2022, 08:22 AM
Post: #4
|
|||
|
|||
RE: HP41CL update
(07-20-2022 07:23 AM)Uli Wrote:(07-20-2022 07:03 AM)MeindertKuipers Wrote: You did everything right, almost. The update process must be finished with the FLUPD command (see example 1 in the CL_UPDATE manual), this is the actual update where the updated ROM images are re-programmed in FLASH. Usually I switch off audio (CF 26) and XEQ "ON" so the HP41 does not switch off and is silent during the process. The update program on the host computer will give you an approximate time for the FLCHK? to complete, so you can time your nap. It also gives this timing estimate for the FLUPD process. Regards, Meindert |
|||
07-20-2022, 11:12 AM
Post: #5
|
|||
|
|||
RE: HP41CL update
(07-20-2022 08:22 AM)MeindertKuipers Wrote:(07-20-2022 07:23 AM)Uli Wrote: So I have to watch the HP41CL all the time and make sure it doesn't switch off so that I can type FLUPD at the right moment? Thanks a lot for the very helpful tipps. Now I do know , what I have to do. Greetings Uli |
|||
07-20-2022, 11:36 AM
(This post was last modified: 07-20-2022 11:43 AM by Sylvain Cote.)
Post: #6
|
|||
|
|||
RE: HP41CL update
Hello Uli,
I would suggest that you look at the examples (p.43 to p51) of the 41CL Update Functions Manual. Example #2 (p.44) show how to shorten the outdated ROMs scan time from minutes/hours to seconds/minutes. (CPONLY before FLCHK?) Example #3 (p.45) show how to update the OS sector. (OSUPDT & OSPROT) However the actual Flash update will takes minutes/hours to do. As suggested by Meindert, it is a good idea to deactivate the sleep mode on your computer and on your 41CL (ON). Sylvain Edit: FLCHK? only scan for outdated ROMs, it is FLUPD who do the actual update. Code: FLCHK? → Check Flash Memory Against Flash Database |
|||
07-20-2022, 01:44 PM
Post: #7
|
|||
|
|||
RE: HP41CL update
(07-20-2022 11:36 AM)Sylvain Cote Wrote: Hello Uli, Hi Sylvain, I have read the mentioned examples in the update manual. From my point of view these are very good for people who are more specialists as me. But the steps I have to do on the pc are not mentioned in the examples. I use your presentation from HHC2017 together with the document "clupdate-1.1.0-readme.txt" that comes with the clupdate software. With these documents I can see, what I have to do on the HP41CL and on the pc. Yes, now I understand that FLCHK? makes only a scan. My HP41CL is still as before. Greetings Uli |
|||
07-20-2022, 06:08 PM
Post: #8
|
|||
|
|||
RE: HP41CL update
Hello Uli,
I am at work right now (UTC-4h), I will post a step-by-step procedure here tonight (my time). Regards, Sylvain |
|||
07-21-2022, 02:37 AM
(This post was last modified: 07-26-2022 02:33 PM by Sylvain Cote.)
Post: #9
|
|||
|
|||
RE: HP41CL update
Physical setup
Calculator should always be off when you plug/unplug the serial cable to/from the calculator. You should also insert fresh batteries before doing a Flash update. Note: it is important to physically connect your 41CL to your computer before doing the MMU configuration. The reason is that sometime the MMU is deactivated when you plug or unplug the serial cable. When that happen you just need to reactivate the MMU by executing the MMUEN command. Configuring 41CL Code: Command Description Code: MMUDIS Disable memory management unit Code: TURBO50 Activate 50x speed up (optional) CAT 2 should show the following Code: -TIME 3B On the 41CL Code: Command Description The output is the FLDB date currently installed in your 41CL. Date format respect MDY/DMY mode. Mine is 06/05/2022 for June 5th, 2022, yours will be somewhere in 2020. Software & files needed before going further:
From the command line: Code: cd folder-where-clupdate-and-rom_files-are-located You should see something like this on your computer: (I use a Mac so my serial port name is different than the ones on Windows) Code: hh:mm:ss --update [fileName: rom_files_220629.zip] [portName: /dev/tty.usbserial-AQ01D0DE] [baudRate: 4800] On the 41CL Code: Command Description You should see something like this on your computer: Code: HH:MM:SS Received OPEN_CHANNEL_REQUEST(0x41) On the 41CL Code: Command Description On your computer, you should see the new FLDB ROM image being downloaded to your 41CL Code: HH:MM:SS Received FLDB_8MB_IMPORT_REQUEST(0x47) [Page: 0x0DE] [BoardGeneration: third] [EstimatedFullScan: 02h 51m 18s] Then, several lines of: Code: HH:MM:SS Received KEEP_ALIVE(0x59)))))))))))))))))))))))))))))))) Then, the updated FLDB (called CFLDB) is being uploaded to your computer: Code: HH:MM:SS Received CORR_FLDB_8MB_EXPORT_REQUEST(0x4F) Finally, the diff report between your 41CL FLDB and the new FLDB (CFLDB): Code: HH:MM:SS Report Outdated ROM images [BoardGeneration: third] Note 2: the estimated update time above is pretty much what it will take to complete the update. Now we do the actual update, on the 41CL Code: Command Description On your computer, for each ROM being updated you will see something like this: Code: HH:MM:SS Received PAGE_IMPORT_REQUEST(0x53) [Page:0x0B7] The update will go on until you see "UPD DONE" on your 41CL. On the 41CL type: Code: Command Description On your computer, you should see the updated FLDB (called CFLDB) being uploaded to your computer and the updated report. Code: HH:MM:SS Received CORR_FLDB_8MB_EXPORT_REQUEST(0x4F) Note: if you have outdated system ROM your list will not be empty. If that is the case I will address that scenario in another post. On the 41CL type: Code: Command Description The output is the FLDB date currently installed in your 41CL. Date format respect MDY/DMY mode. You should see 06/29/2022 for June 29th, 2022. I hope this is detailled enough so you can do it. Regards, Sylvain edit 1: typos edit 2: added optional & MDY/DMY comments |
|||
07-21-2022, 09:02 AM
Post: #10
|
|||
|
|||
RE: HP41CL update
Merci Sylvain, super useful "pense-bête" ;-)
|
|||
07-21-2022, 10:02 PM
Post: #11
|
|||
|
|||
RE: HP41CL update
Dear Sylvain,
what for a great document. I am currently traveling, but I read carefully through it and I can say that is absolutely that what I am looking for. I would like to say thanks a lot. I will test it on Sunday and it’s difficult for me to wait. I am sure that I can manage the update procedure now. Thank you very much! Greetings Uli |
|||
07-25-2022, 08:44 PM
Post: #12
|
|||
|
|||
RE: HP41CL update
After FLCHK? everything seemed to be ok.
The HP41CL made a beep every ~ 5 sec.. PC shew many, many „)“. And after nearly 3 hours the procedure ended, as mentioned at the beginning. But unfortunately without success. Please see the screenshot of the pc. Do you have any idea? If not, I will try it again. I have not used TURBO50. I used it first, but the FLCHK? needed only a few seconds, so I thought something went wrong. |
|||
07-25-2022, 09:48 PM
Post: #13
|
|||
|
|||
RE: HP41CL update
(07-25-2022 08:44 PM)Uli Wrote: After FLCHK? everything seemed to be ok. The update functions automatically go to 50x while running. Nothing you need to do. Your first FLCHK? ran in CPONLY mode, which is MUCH faster. Nothing went wrong. The message on the screen should have shown the number of pages needing an update. and it would have been fine to do FLUPD at that point. Your screenshot shows the FLCHK? running regularly, taking long enough that the connection to the serial port (by Java) seems to have been lost. The "keep-alive" message sent by the 41CL was intended to keep the PC awake, but unfortunately doesn't seem to do that. Best laid plans. |
|||
07-26-2022, 01:18 AM
(This post was last modified: 07-26-2022 03:53 PM by Sylvain Cote.)
Post: #14
|
|||
|
|||
RE: HP41CL update
Hello Uli,
As Monte said, when CPONLY is active, scanning is much faster, like 170 times faster, so instead of taking a little less than 3 hours, it takes a little more than a minute. This is the first time I am seeing this error. Serial communication works. The program fails when it is trying to write the CFLDB.ROM image to disk, which is right after it has received it from the serial port. Code: ... Something is preventing the program to write the CFLDB.ROM file. Do you have write access to that disk/folder ? Do you have a file named CFLDB.ROM who is read only in that folder ? UPDATE I just tried it. I have created a CFLDB.ROM file on my disk then changed the file attributes to read only. Then, I have run the program and got the same error as you. So, delete the CFLDB.ROM file that is on your disk, Windows will ask you to confirm it, then retry the procedure with the CPONLY option this time. Best regards, Sylvain Edit: typos |
|||
07-26-2022, 12:24 PM
Post: #15
|
|||
|
|||
RE: HP41CL update
I just used Sylvain procedure's with freshly recharged NiMh cells.
Doing so i found a typo hereby : Code: PLUG1H Map YUPS ROM image to page 9 (port 1 high page) And on the DOS line : Code: java -jar clupdate-1.1.0.jar --update rom_files_220629.zip COMx 4800 Worked well besides a transmission error during the update phase that i had to restart over on the 41CL and it resumed from there. Maybe one ROM has been missed in the process ? I redid a Code: Code: And got no update proposed, so i guess all went well :-) (first time i tried without the XEQ CPONLY and it was running crazy slow as Monte is warning above).... |
|||
07-26-2022, 02:36 PM
Post: #16
|
|||
|
|||
RE: HP41CL update
(07-26-2022 12:24 PM)Chr Yoko Wrote: Doing so i found a typo hereby :Oups, corrected, thanks! (07-26-2022 12:24 PM)Chr Yoko Wrote: And on the DOS line :Well, yeah, I was assuming that it was clear, but you are right of course to mention it. |
|||
07-26-2022, 04:22 PM
Post: #17
|
|||
|
|||
RE: HP41CL update
(07-26-2022 12:24 PM)Chr Yoko Wrote: I just used Sylvain procedure's with freshly recharged NiMh cells. CPONLY mode is fine if the Flash is known-good. That is, nothing messed with the Flash since the last update AND the last update finished cleanly. CPONLY only compares FLDB values between the 41CL and the PC, so it's only good if the YCRC values in the FLDB actually reflect the state of the Flash. An update that doesn't finish cleanly means that some pages may not have been updated, even though the FLDB _has_ been updated. So, I would probably run FLCHK again, but NOT in CPONLY mode. Or look at the PC screen to see where things went wrong. |
|||
07-26-2022, 08:09 PM
Post: #18
|
|||
|
|||
RE: HP41CL update
Hi All!
Today I was successful, because of your wonderful support. Thanks a lot ! PLUG1H: I have changed it in the beginning of my tests to PLUG1U without understanding why. TURBO50: to activate it I need always to remove the serial connection before. Access to folder: Sylvain solved my main problem. There was no access to the folder , where clupdate is installed. My fault! UPDATE IS DONE. And I feel like a king. Should I do anything in addition because I have have outdated system ROM ? If not, it’s okay for me. |
|||
07-26-2022, 08:49 PM
(This post was last modified: 07-26-2022 08:56 PM by Sylvain Cote.)
Post: #19
|
|||
|
|||
RE: HP41CL update
Hello Uli,
... or should I say Majesty Great news! Here is the procedure to update the OS Flash block. I am skipping some intermediate output. Assuming the same 41CL configuration Code: Command Description From the command line: Code: cd folder-where-clupdate-and-rom_files-are-located You should see something like this on your computer: (I use a Mac so my serial port name is different than the ones on Windows) Code: hh:mm:ss --update [fileName: rom_files_220629.zip] [portName: /dev/tty.usbserial-AQ01D0DE] [baudRate: 4800] On the 41CL Code: Command Description On your computer, you should see the updated FLDB (called CFLDB) being uploaded to your computer and the updated report. Code: HH:MM:SS Received CORR_FLDB_8MB_EXPORT_REQUEST(0x4F) On the 41CL Code: Command Description The output is the FLDB date currently installed in your 41CL. Date format respect MDY/DMY mode. You should see 06/29/2022 for June 29th, 2022. Regards, Sylvain Edit: typos |
|||
07-27-2022, 02:19 PM
Post: #20
|
|||
|
|||
RE: HP41CL update
It is sooooooooo easy to update the HP41CL ....
if I get help from YOU! :-) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)