41CL Self-Update
|
11-17-2017, 05:25 PM
Post: #81
|
|||
|
|||
RE: 41CL Self-Update
(11-17-2017 03:37 PM)Neve Wrote: This is the first time I’m trying to link and update any CL board. Neve, There is no port "com3" on a Mac. What you need to do is to find the port where the serial cable is connected. Typically, you would have to search the /dev directory on OS X with the command "/dev/tty.usbserial*" (assuming you are connecting the serial cable via a USB port). You then replace com3 with the address of the serial port. For example, on my Mac, the command to start the JAVA program is: java -jar clupdate-1.0.0.jar --update rom_files_171106.zip /dev/tty.usbserial-DO002NJS 4800 As you can see, "com3" is replaced by the location of the USB port where the serial cable is plugged in (via a serial to USB adapter), in this case, "/dev/tty.usbserial-DO002NJS". Hope this helps. Jack |
|||
11-17-2017, 05:30 PM
Post: #82
|
|||
|
|||
RE: 41CL Self-Update
(11-17-2017 05:25 PM)jwhsu Wrote: Neve, Yes, I should’ve figured that out. I just blindly copied the command from the tutorial... indeed I am connected to USB with a serial to USB cable. I’ll let you know if this works. Thanks Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-17-2017, 06:59 PM
(This post was last modified: 11-17-2017 07:04 PM by Neve.)
Post: #83
|
|||
|
|||
RE: 41CL Self-Update
(11-17-2017 05:25 PM)jwhsu Wrote: Neve, Ok, so I found the right port on my Mac. It’s /dev/ttys000. So now after I type the right command, I get a message on the terminal saying that it’s awaiting a 41CL command.... I do an XEQ CMOPEN which ends up in a timeout, and I can’t do anything until it does. Then I try to do XEQ CDBIMP and I get IMP 806, which times out after a while. It’s not working for me... What’s next?? Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-17-2017, 10:57 PM
Post: #84
|
|||
|
|||
RE: 41CL Self-Update
(11-17-2017 06:59 PM)Neve Wrote: Ok, so I found the right port on my Mac. It’s /dev/ttys000. Neve, I'm not sure you have the right port selected. Typically, the port is identified as "/dev/tty.usbserial (possibly with the serial number of the adapter)". Can you list what you get when you type "ls /dev/tty.usbserial*"? Jack |
|||
11-18-2017, 04:19 AM
Post: #85
|
|||
|
|||
RE: 41CL Self-Update
(11-17-2017 10:57 PM)jwhsu Wrote: Neve, I get nothing at all. But I do get something when I type “ls -alrt /dev/” And at the bottom I get ttys000. It’s the only port that doesn’t return an error when trying to use it. My serial to USB adapter does list in the system profile. Also, since I do get a message saying “WAITING FOR 41CL COMMAND....”. I’m assuming it’s connecting to the calculator somehow. I must do something wrong, but I have no clue as to what. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 04:53 AM
Post: #86
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 04:19 AM)Neve Wrote: And at the bottom I get ttys000. It’s the only port that doesn’t return an error when trying to use it. /dev/ttys000 is your terminal virtual port The USB-to-Serial interface should be named with the pattern /dev/tty.usbserial* If you do not see it, then it is normally one of the following: a) USB port is not working b) your dongle is damaged c) driver is not available for your dongle [normal problem] What version of OSX are you running ? [click on the apple at the top left, then on the "About this mac", report the version] Sylvain |
|||
11-18-2017, 04:57 AM
Post: #87
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 04:53 AM)Sylvain Cote Wrote:(11-18-2017 04:19 AM)Neve Wrote: And at the bottom I get ttys000. It’s the only port that doesn’t return an error when trying to use it. Hi, I’m using the latest and most up-to-date version of MacOS. Also, my USB-to-Serial interface is showing in System Profile. I didn’t install any drivers for it. I just received it yesterday. The CD that comes with it is a mini-CD that my iMac can’t read because of its size. Peut-on en discuter en MP? Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 09:40 AM
Post: #88
|
|||
|
|||
RE: 41CL Self-Update
I finally found and installed the correct drivers from here.
Now I have the /dev/tty.usbserial which I didn’t have before. The adapter shows in the system profile. Everything seems to be okay. However, I am still having the exact same issue. It does not connect to the calculator at all. The calc XEQ CMOPEN times out, and I still get “ WAITING FOR 41CL COMMAND...” on the terminal window. Any help welcomed. Thanks. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 12:18 PM
Post: #89
|
|||
|
|||
RE: 41CL Self-Update
Well, I guess I’m doomed. I’ve tried everything I know, and nothing seems to be working.
Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 12:41 PM
Post: #90
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 09:40 AM)Neve Wrote: I finally found and installed the correct drivers from here. Neve, To clarify. On the CL side, the MMU is activated and you used SERINI, TURBO, and BAUD to set up the CL for data transfer? If so, the only other option i can think of is the driver or USB chip of the adapter may not be compatible. I’ve always used USB adapters with FTDI chips as drivers are already a part of the OS. I would think you should be able to connect with adapters using Prolific chips, however, i haven’t tested that myself. Jack |
|||
11-18-2017, 01:24 PM
Post: #91
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 12:41 PM)jwhsu Wrote: To clarify. On the CL side, the MMU is activated and you used SERINI, TURBO, and BAUD to set up the CL for data transfer? MMU is activated. I don’t know anything about the other commands. I just followed the instructions on the CL site: here. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 02:10 PM
Post: #92
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 12:41 PM)jwhsu Wrote: To clarify. On the CL side, the MMU is activated and you used SERINI, TURBO, and BAUD to set up the CL for data transfer?For YUPS on the 41CL to work, you do need to have YFNX (or YNFZ) mapped to a port, YUPS mapped to a port and the MMU active, but you do not need the SERINI/BAUD/TURBO functions. YUPS functions CMOPEN/FLCHK?/CDBIMP/CDBEXP/FLUPD/CMLOSE handle the serial port setup and CL speed by themselves internally. Sylvain |
|||
11-18-2017, 02:20 PM
(This post was last modified: 11-18-2017 02:35 PM by Neve.)
Post: #93
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 02:10 PM)Sylvain Cote Wrote: For YUPS on the 41CL to work, you do need to have YFNX (or YNFZ) mapped to a port, YUPS mapped to a port and the MMU active, but you do not need the SERINI/BAUD/TURBO functions. So following the instructions from the link I posted above is all I should be doing, right? But obviously something is not working. I don’t even know what to expect. I’ve never done that before. After the USB-to-Serial driver installation I do have the /dev/tty.usbserial. So I assume this is working properly. But apparently it is not. I’m clueless (and speechless). Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 03:19 PM
Post: #94
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 12:18 PM)Neve Wrote: Well, I guess I’m doomed. I’ve tried everything I know, and nothing seems to be working.Not yet! do not despair we are far from having done everything possible here. We are going to validate the serial port and remove clupdate program from the equation. First thing to do is
The reason we connect the cables first is that sometime the 41CL deactivate the MMU when you plug or unplug the serial cable from the calculator. On the 41CL setup we use the same setup as Monte v5 update document
Next, the serial update protocol is very simple, the CMOPEN command send the uppercase character A to the serial port and wait for the uppercase character B as a reply. Here, we will start a serial console from the command line and test if the communication is working between the calculator and the computer.
If the above procedure is not working then you have a communication (hardware or driver) problem. Sylvain PS: I will be in and out of the house all day so do not expect fast response time, plus I am 6 hours behind you (GMT-5) PPS: Je préfère garder, si possible, l'échange en anglais et publique. Le but est de permettre aux autres utilisateurs de 41CL d'avoir une procédure de test supplémentaire. |
|||
11-18-2017, 04:57 PM
Post: #95
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 03:19 PM)Sylvain Cote Wrote:Everything is fine until I need to get the “A” and “B” letters. I have nothing at all. No “A” when I(11-18-2017 12:18 PM)Neve Wrote: Well, I guess I’m doomed. I’ve tried everything I know, and nothing seems to be working.Not yet! do not despair we are far from having done everything possible here. XEQ CMOPEN, and typing “B” doesn’t do anything, the keyboard is not even responding. However, the driver seems to be OK as I do have /dev/tty.usbserial Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 06:36 PM
Post: #96
|
|||
|
|||
RE: 41CL Self-Update
Maybe the serial connector is defective. I don’t know what to think.
Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-18-2017, 06:53 PM
(This post was last modified: 11-18-2017 07:10 PM by Sylvain Cote.)
Post: #97
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 04:57 PM)Neve Wrote: Everything is fine until I need to get the “A” and “B” letters. I have nothing at all. ok, serial communication does not work. First, the screen application is not configured by default to echo local typed characters on the keyboard, so that you see nothing when you type B is normal. Second, it would be safe to assume that the USB-to-Serial dongle is working correctly because the drivers sees it. The only way to be 100% safe would be to use the dongle with another serial device and see if it works. Another way is to put a RS232 serial tester like this one between the cables and visually monitor if the RX & TX lines operates correctly. FYI, the 41CL is configured as a communication (DCE) device while the computer is configured as a terminal (DTE) device, this is why you do not need a null-modem adapter between them. This mean that when the 41CL transmitting the RX led is flashing and when the computer is transmitting the TX led is flashing on the serial tester. If I were you, I would put my effort to see if the internal serial cable is not reversed and correctly inserted into the 41CL board, I would also inspect the cable to see that no wires has been cut, then I would redo the tests. Sylvain edit: typos |
|||
11-18-2017, 10:10 PM
Post: #98
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 06:36 PM)Neve Wrote: Maybe the serial connector is defective. I don’t know what to think. It is possible to test the 41CL serial port. Basically plug in the serial cable and then connect the TX and RX pins on the DB9 end. Turn on the serial port and send a byte. Then check the receiver for a received byte. No need to take the machine apart. |
|||
11-19-2017, 03:42 AM
Post: #99
|
|||
|
|||
RE: 41CL Self-Update
(11-18-2017 10:10 PM)Monte Dalrymple Wrote:(11-18-2017 06:36 PM)Neve Wrote: Maybe the serial connector is defective. I don’t know what to think. How do you turn on the serial port and send a byte?? I performed the procedure Sylvain suggested earlier. I believe that’s what it does. I’m 100% certain that the inside connector is not reversed. It looks exactly as the pictures on the CL manual. Also, it won’t fit the other way around. However, maybe one of the wire strands is cut or defective, or is too compressed between the two halves. I don’t know... Maybe the connections at the back of the female jack are not the right ones. That’s all I can think of at the moment. Needless to say this is very frustrating. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-19-2017, 04:12 AM
Post: #100
|
|||
|
|||
RE: 41CL Self-Update
(11-19-2017 03:42 AM)Neve Wrote: How do you turn on the serial port and send a byte??I have done it in the past, just don't remember right now, I am currently transmitting bytes but the result are not conclusive. Once I am back to speed on this, I will post a detailed how-to. (11-19-2017 03:42 AM)Neve Wrote: I performed the procedure Sylvain suggested earlier. I believe that’s what it does.Yes it does, but Monte suggestion removes the USB-to-Serial dongle from the equation. (11-19-2017 03:42 AM)Neve Wrote: I’m 100% certain that the inside connector is not reversed. It looks exactly as the pictures on the CL manual. Also, it won’t fit the other way around.ok, so another variable removed. (11-19-2017 03:42 AM)Neve Wrote: Maybe the connections at the back of the female jack are not the right ones. That’s all I can think of at the moment.Did you buy the 41CL serial cable from Monte or did you made one by yourself ? (11-19-2017 03:42 AM)Neve Wrote: Needless to say this is very frustrating.I understand. What's frustrating for me, is that I could probably resolved the issue in less than 5 minutes if I were right beside you. Being in the dark, we are doing what we can remotely, please be patient. Sylvain |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)