Disappearing Key Assignments
|
12-30-2019, 03:27 PM
Post: #1
|
|||
|
|||
Disappearing Key Assignments
I am seeing strange behavior on my 41CL and the PowerCL (Angel Martin) PWRX Module.
After executing the ROMLST function, all of my Shifted Key Assignments disappear and I get a bunch of new assignments where "ABS" has been assigned to various shifted keys. It looks like maybe ROMLST is using the "e" Register for something and not restoring it when finished? This could be operator error since I am a novice on the 41CL and I might have configured something improperly. [attachment=7969] Thanks in advance for any assistance. |
|||
12-30-2019, 05:23 PM
(This post was last modified: 12-30-2019 05:27 PM by Ángel Martin.)
Post: #2
|
|||
|
|||
RE: Disappearing Key Assignments
Your diagnostic is correct: such sympthom is indeed a sign for register "e" overwrite.
I suspect the issue is a version mismatch between the PWRX and 4LIB ROMS. Pls. make sure you have the latest installed. ÁM "To live or die by your own sword one must first learn to wield it aptly." |
|||
12-30-2019, 05:29 PM
Post: #3
|
|||
|
|||
RE: Disappearing Key Assignments
Angel, Thank you for responding!
I got my 41CL board back in November and have not updated any ROM images since. I can't get the serial port to work... I am using the ROM Images that came with my board. How do I check for the Version numbers? Thanks! |
|||
12-30-2019, 05:37 PM
(This post was last modified: 12-30-2019 05:38 PM by Ángel Martin.)
Post: #4
|
|||
|
|||
RE: Disappearing Key Assignments
I can't help with the serial port, but the latest ROM versions can be downloaded from Monte's web site at this URL
click on the item on the upper right: "The current set of .rom files for the 41CL is: rom_files_191203.zip" "To live or die by your own sword one must first learn to wield it aptly." |
|||
12-30-2019, 05:51 PM
Post: #5
|
|||
|
|||
RE: Disappearing Key Assignments
Is there a way that I can check to see which versions that i currently have installed?
|
|||
12-30-2019, 05:57 PM
Post: #6
|
|||
|
|||
RE: Disappearing Key Assignments | |||
12-30-2019, 06:17 PM
Post: #7
|
|||
|
|||
RE: Disappearing Key Assignments
I am pretty sure that I destroyed the cable while re-assembling the calculator. It moved and I pinched it pretty bad between the case halves. I also need to verify the pinouts on the serial cable that I have.
I am using your clupdate software on macOS 10.15.2. The software seems to be installed correctly but I just get timeouts when trying to connect to the calculator. Could be damaged cable as noted above, bad serial cable, incompatible USB-Serial Converter, etc. If I had access to a windows computer with a real serial port (if such a thing even exists anymore) I could eliminate a couple of variables. I am afraid to disassemble the calculator again because the posts were marginal to begin with and I may have some extensive work to do to get it running again. |
|||
12-30-2019, 07:56 PM
(This post was last modified: 12-30-2019 07:59 PM by Sylvain Cote.)
Post: #8
|
|||
|
|||
RE: Disappearing Key Assignments
Here is a small test program written in Python that will test your serial ports on the computer side.
Software needed:
Terminal #1 - clupdate program (need to be started first) Code: java -jar clupdate-1.1.0.jar --update rom_files_191203.zip /dev/tty.usbserial-1412430 4800 Code: 14:29:20 --update [fileName: rom_files_191203.zip] [portName: /dev/tty.usbserial-1412430] [baudRate: 4800] Terminal #2 - 41CL protocol test program Code: python3 cl-protocol-test.py Code: opening serial port Python test program (cl-protocol-test.py) Code: #!/usr/bin/env python3 Sylvain |
|||
12-30-2019, 08:32 PM
Post: #9
|
|||
|
|||
RE: Disappearing Key Assignments
Thank you for this information. I have all of the hardware bits here at work with the exception of the LED tester. I have one ordered now. I'll give it a shot over the next weekend.
|
|||
12-30-2019, 08:55 PM
Post: #10
|
|||
|
|||
RE: Disappearing Key Assignments
(12-30-2019 08:32 PM)twoweims Wrote: Thank you for this information. I have all of the hardware bits here at work with the exception of the LED tester. I have one ordered now. I'll give it a shot over the next weekend.LED tester is nice but not needed for the test. Let me know your test results. Sylvain |
|||
12-30-2019, 09:58 PM
(This post was last modified: 12-30-2019 10:03 PM by twoweims.)
Post: #11
|
|||
|
|||
RE: Disappearing Key Assignments
Success... so far.
Here at work I have verified functioning clupdate and two good usb-serial cables. My 41CL Serial Cable is at home. I will bring the cable in tomorrow and attempt to update my 41CL. Thanks again for your help. [attachment=7970] |
|||
12-31-2019, 02:17 PM
(This post was last modified: 12-31-2019 02:22 PM by twoweims.)
Post: #12
|
|||
|
|||
RE: Disappearing Key Assignments
Well, I think my initial fear has been verified.
I double checked the pinouts on my CableClub BC20213-6 Serial Cable. It is the correct cable. clupdate starts and waits for 41CL Commands but CMOPEN on the CL results in COMM and then TIMEOUT. I am in Turbo 50 mode. I have executed SERINI and set the baud rate to 4800. I will contact Monte about getting a new cable... |
|||
01-02-2020, 03:55 PM
Post: #13
|
|||
|
|||
RE: Disappearing Key Assignments
(12-30-2019 07:56 PM)Sylvain Cote Wrote: [*]DB9F-to-DB9M RS-232 LED Tester please forgive me going off-topic a little, but can you explain what the two sets of 8 LEDs denote, on the tester? Is the left set of 8 looking in one direction, the right set in the other? Cambridge, UK 41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47 Casio, Rockwell 18R |
|||
01-02-2020, 04:47 PM
Post: #14
|
|||
|
|||
RE: Disappearing Key Assignments
(01-02-2020 03:55 PM)cdmackay Wrote:(12-30-2019 07:56 PM)Sylvain Cote Wrote: [*]DB9F-to-DB9M RS-232 LED Tester Each pair of LEDs should indicate the state of the corresponding signal with respect to signal ground. One LED should light when the signal is positive (logic 0) and the other should light when the signal is negative (logic 1). Some testers replace the pair of LEDs with a 2-pin, bi-colour LED. The pair of LEDs is connected in parallel with opposite polarity, so at most one of them should light up. — Ian Abbott |
|||
01-02-2020, 04:56 PM
(This post was last modified: 01-02-2020 05:17 PM by Sylvain Cote.)
Post: #15
|
|||
|
|||
RE: Disappearing Key Assignments
(01-02-2020 03:55 PM)cdmackay Wrote: please forgive me going off-topic a little, but can you explain what the two sets of 8 LEDs denote, on the tester? Yeah, I asked myself the same question when I received the tester, I am used to only have one set of LEDs. After some experiments, I discovered that the lights were used as follow: Code: LEDS Description LEDS In my test, when both cables are plugged but no software is running the tester show this: Code: 0 1 Description 0 1 When I start clupdate, then the tester show this: Code: 0 1 Description 0 1 Then I start the python test program, after the port is open I see: Code: 0 1 Description 0 1 Then the LEDs on RXD & TXD are moving back and forth from 0 to 1 when there is transmission going on. Hope it clarify things a bit. Sylvain PS: Ian beat me to it |
|||
01-02-2020, 05:58 PM
Post: #16
|
|||
|
|||
RE: Disappearing Key Assignments
thanks Ian, Sylvain!
I have one too, but only used it once, and couldn't make sense of it, partly I think because I used it on something that wasn't working properly, so couldn't calibrate my head to it So neither lights means 0V, i.e. not connected/not in use? My other confusion was whether the left bank of 8 lights was 4 pairs of [0,1] for signals 1–4, or the 0 indicators for all 8 signals. Sounds like it's the former. I'll get mine out and try it again. Thanks! Cambridge, UK 41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47 Casio, Rockwell 18R |
|||
01-02-2020, 06:29 PM
Post: #17
|
|||
|
|||
RE: Disappearing Key Assignments
(01-02-2020 05:58 PM)cdmackay Wrote: So neither lights means 0V, i.e. not connected/not in use?Not connected or not driven. RS-232C signal levels are: Code: Logical 1 = −15V to −3V (01-02-2020 05:58 PM)cdmackay Wrote: My other confusion was whether the left bank of 8 lights was 4 pairs of [0,1] for signals 1–4, or the 0 indicators for all 8 signals. Sounds like it's the former.Yep! that's it! |
|||
01-02-2020, 07:03 PM
Post: #18
|
|||
|
|||
RE: Disappearing Key Assignments
(01-02-2020 04:56 PM)Sylvain Cote Wrote:(01-02-2020 03:55 PM)cdmackay Wrote: please forgive me going off-topic a little, but can you explain what the two sets of 8 LEDs denote, on the tester? The 0s and 1s seem to be transposed, but apart from that it looks OK. Logic 0 is "asserted" (space) in RS-232, and logic 1 is "deasserted" (mark). The quiescent state of RXD and TXD (when no characters are being sent) is logic 1. From the set-up you posted earlier, the Prolific adapter (controlled by clupdate) is acting as the DTE (data terminal equipment), and the FTDI adapter via the Null Modem dongle (controlled by the Python test program) is acting as the DCE (data circuit-terminating equipment). The Null Modem dongle will cross over RXD & TXD, CTS & RTS, DSR & DTR, and wire DCD to DSR at each end. So on the tester:
— Ian Abbott |
|||
01-02-2020, 07:36 PM
Post: #19
|
|||
|
|||
RE: Disappearing Key Assignments
(01-02-2020 07:03 PM)ijabbott Wrote: The 0s and 1s seem to be transposed, but apart from that it looks OK. Logic 0 is "asserted" (space) in RS-232, and logic 1 is "deasserted" (mark). The quiescent state of RXD and TXD (when no characters are being sent) is logic 1.RS-232C use inverted logic vs voltage level, a logic zero is declared when the voltage goes over +3V and a logic 1 is declared when the voltage goes under -3V. (01-02-2020 07:03 PM)ijabbott Wrote: From the set-up you posted earlier, the Prolific adapter (controlled by clupdate) is acting as the DTE (data terminal equipment), and the FTDI adapter via the Null Modem dongle (controlled by the Python test program) is acting as the DCE (data circuit-terminating equipment). The Null Modem dongle will cross over RXD & TXD, CTS & RTS, DSR & DTR, and wire DCD to DSR at each end. So on the tester:Yep, you are right. RI line is wired but not driven, that is why no LED is lighten up. Lots of peoples have a hard time understanding RS-232C DTE & DCE roles and communications direction that goes with it. It was designed in the 1960's and reflect the reality of the equipments back then. Data Terminal Equipments (DTE): Teletype, Terminal, Computer, etc Data Communication Equipments (DCE): Modem, Printer, Plotter, etc. As an example, when using a DB9 connector ... a) the transmit data (TXD, pin 3) on the DTE side is an output line but on the DCE side it is an input line b) the received data (RXD, pin 2) on the DTE side is an input line but on the DCE side it is an output line It is why when using our USB-to-RS-232C DTE dongles we need a NULL MODEM dongle that switches wires to create a DCE device on the other side. Direct DTE-to-DTE or DCE-to-DCE communication is not possible without a NULL MODEM adapter, the interface was designed at the hardware level to only works when a DTE device is connected to a DCE device. Sylvain |
|||
01-02-2020, 10:05 PM
Post: #20
|
|||
|
|||
RE: Disappearing Key Assignments
(01-02-2020 07:36 PM)Sylvain Cote Wrote:(01-02-2020 07:03 PM)ijabbott Wrote: The 0s and 1s seem to be transposed, but apart from that it looks OK. Logic 0 is "asserted" (space) in RS-232, and logic 1 is "deasserted" (mark). The quiescent state of RXD and TXD (when no characters are being sent) is logic 1.RS-232C use inverted logic vs voltage level, a logic zero is declared when the voltage goes over +3V and a logic 1 is declared when the voltage goes under -3V. Yes, it's like a "double inversion". It is inverted with respect to voltage level and also inverted with respect to assertion:
— Ian Abbott |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 14 Guest(s)