Post Reply 
DM41L serial transfer help!
12-24-2015, 08:00 AM
Post: #1
DM41L serial transfer help!
Haven't done much with terminal communications for awhile.

Here is the problem: I want to save the calculator state (13 routines at over 1300 registers and extended memory data files).

I followed Swiss micros instructions at the web site:

Downloaded Putty (win10). Successful
Downloaded UART USB driver. Successful
Configured serial in Putty as per instructions.

Configured the 41 "SERIAL CONSOLE"
Attached cable from 41 to USB on computer.

Now what? clicking done in PUTTY chimes, where is the consol to read the dump...?

I am a real newbie here to putty, but it can't be any more difficult then the 15 34s I have created, or the 4 41cls, Clonix, novram ...

So if you have a step by step guide knowing I have Putty, driver installed and can use the UART to USB cable.

Help


I am doing this so I can save all the work I did manually to configure the 41 for work BEFORE I start playing with synthetics and creating the LB (load bytes) program.

Cheers, Geoff
Find all posts by this user
Quote this message in a reply
12-24-2015, 12:16 PM
Post: #2
RE: DM41L serial transfer help!
Set-up Putty and the cable before you go into the console. When the console is started you should see a prompt.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-24-2015, 06:59 PM
Post: #3
RE: DM41L serial transfer help!
Thanks Marcus,

Missed the cookies again this year!

When you say console, haven't done much work here in years, excuse my ignorance:

PowerShell?
Command prompt?
Another more convenient available shell?

Merry Christmas all.


Geoff
Find all posts by this user
Quote this message in a reply
12-24-2015, 07:07 PM
Post: #4
RE: DM41L serial transfer help!
(12-24-2015 06:59 PM)Geoff Quickfall Wrote:  When you say console, haven't done much work here in years, excuse my ignorance:

I was talking about the C+ON sequence on the calculator.

(12-24-2015 06:59 PM)Geoff Quickfall Wrote:  Missed the cookies again this year!

Sources have drained. My mother in law has moved to a retirement home and my wife is handicapped since spring.

Whenever your job takes your near us, why not drop us a note?

Frohe Weihnachten!

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-24-2015, 07:17 PM
Post: #5
RE: DM41L serial transfer help!
Marcus,

My best wishes for your wife, and the new year. I will definitely let you know!

Yes I have activated the serial console on the calc as well as started up and modified Putty serial connection correctly and Made the and in the correct sequence according to the web site.

Using a shielded UART to USB cable, installed drivers, I do not not get the prompt in Windows command or power shell. Should the command prompt be in a specific directory before a Windows access is achieved? Should I be invoking any commands in the command shell?

Cheers, Geoff

P.s. Is it me or are the instructions missing a few steps? :-(
Find all posts by this user
Quote this message in a reply
12-24-2015, 08:19 PM
Post: #6
RE: DM41L serial transfer help!
(12-24-2015 07:17 PM)Geoff Quickfall Wrote:  Using a shielded UART to USB cable ...

The SwissMicros calculators use a standard Mini-B USB cable without a converter.
Find all posts by this user
Quote this message in a reply
12-24-2015, 08:51 PM
Post: #7
RE: DM41L serial transfer help!
(12-24-2015 08:19 PM)Dave Frederickson Wrote:  The SwissMicros calculators use a standard Mini-B USB cable without a converter.

And the console is just Putty, not a windows command prompt of some sort. So the sequence is:

  1. Install the USB drivers
  2. Connect the DM calculator to the USB cable and the USB cable to some USB port on your PC
  3. Find out the COM port name (use device manager)
  4. Set-up Putty in serial mode, using the COM port from the previous step
  5. Turn on the calculator with the C button held down

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-26-2015, 08:52 PM (This post was last modified: 12-26-2015 08:54 PM by Geoff Quickfall.)
Post: #8
RE: DM41L serial transfer help!
hello Marcus and all the best for the new year.

Well, previous to your email I did follow the procedures exactly as outlined at Swiss Micros. I did follow yours as described as they are much more readable.

  1. Downloaded latest drivers and confirmed with calculator plugged in that Device Driver recognized the UART USB connection.
  2. downloaded and installed latest PuTTY.
  3. called putty and corrected serial section (see photo).
  4. machine off but plugged in during first three steps I then turned it on+c to Serial Console.


Result, nothing, clicking OPEN causes windows chime only. Unplugging and plugging causes chimes only. tried three different cables all confirmed to work with other hardware. No joy.

I did see the console windows appear and disappear in a flash on one occasion.

Tried three different computers, all windows ten and no joy on any.

Again, device drivers loaded successfully, PuTTY loaded successfully, cables confirmed to function. Procedure you listed followed exactly. All to no avail!


ARRGGG

Geoff


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
12-26-2015, 10:30 PM
Post: #9
RE: DM41L serial transfer help!
Geoff,

this looks fine. What happens when you click on OPEN in Putty? Do you see something that looks like a terminal window? If that is the case, it's time to issue C+ON on the calculator. This should give you a prompt in the terminal window.

I once had a problem with unreadable garbage on the terminal screen. After a firmware update the problem has gone. Probably a simple reset would have helped, too. I don't now if such a procedure preserves your programs and data, though. And I haven't tried to save and load memory on the DM-41 with Putty. I guess you have to download the output of the dump command somehow. Putty should have an option to capture data.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-26-2015, 10:44 PM
Post: #10
RE: DM41L serial transfer help!
Ha!

loaded the dm41 and was hoping to use putty to transfer programs. LOTS of programs!!


so a reset on the calc may be required. no terminal showing up at all, that's the problem. I will let you know how a calc reset works out.

Cheers, Geoff
Find all posts by this user
Quote this message in a reply
12-26-2015, 10:51 PM (This post was last modified: 12-26-2015 10:52 PM by Massimo Gnerucci.)
Post: #11
RE: DM41L serial transfer help!
Geoff, try to setup serial options on Putty's main menu (as per the attached picture) and then click Open.

If the calc is in serial console mode a terminal session will open, key in "?" and you should see what is shown.

I used my DM-41 (not L) but I think it will work all the same.


Attached File(s) Thumbnail(s)
   

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
12-26-2015, 10:57 PM (This post was last modified: 12-27-2015 05:29 AM by Geoff Quickfall.)
Post: #12
RE: DM41L serial transfer help!
THAT DID IT!!!!!!

sorry, didn't mean to shout.

I will type up a 'how to' in the correct order for people like me. Is it that I am so ignorant on serial communication (yes, rhetorical statement) or were the instructions not that obvious?n

it must be assumed by Michael, that we know what we are doing :-)

Cheers all
Find all posts by this user
Quote this message in a reply
12-27-2015, 10:16 PM
Post: #13
RE: DM41L serial transfer help!
hah ha,

well thanks for all the help! I have Putty and DM41L talking including the memory dump. I have copied the dump to note pad for safe keeping.

I am now stuck at the decoder/encoder. The DM41 is not on the drop down list and therefore is not recognized. pasting the code is easy but I am unable to decode this for copy/paste and print for my hard copy archives.

Also I cannot create a text program and then encode it for dumping.

Where is the manual for the encoder/decoder or is there a newer version which will accept the DM41L

Cheers, Geoff
Find all posts by this user
Quote this message in a reply
12-27-2015, 10:26 PM
Post: #14
RE: DM41L serial transfer help!
(12-27-2015 10:16 PM)Geoff Quickfall Wrote:  I am now stuck at the decoder/encoder. The DM41 is not on the drop down list and therefore is not recognized. pasting the code is easy but I am unable to decode this for copy/paste and print for my hard copy archives.

Also I cannot create a text program and then encode it for dumping.

Where is the manual for the encoder/decoder or is there a newer version which will accept the DM41L

Cheers, Geoff

We are all waiting for a new version supporting 41 code...
:(

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
12-27-2015, 10:33 PM
Post: #15
RE: DM41L serial transfer help!
Using the sample dump, I could only get the Encoder/Decoder to work with Internet Explorer. Firefox and Chrome were a bust.

The last update was three years ago, so for now I believe it only works with the Voyagers.
Find all posts by this user
Quote this message in a reply
12-27-2015, 10:36 PM
Post: #16
RE: DM41L serial transfer help!
thanks,

thought it was me!

what a relief. well a least the code is saved for when the decoder is created!

Best regards, Geoff

p.s. did I miss the memo?
Find all posts by this user
Quote this message in a reply
12-27-2015, 10:36 PM
Post: #17
RE: DM41L serial transfer help!
(12-27-2015 10:33 PM)Dave Frederickson Wrote:  Using the sample dump, I could only get the Encoder/Decoder to work with Internet Explorer. Firefox and Chrome were a bust.

The last update was three years ago, so for now I believe it only works with the Voyagers.

Not all of them, only the DM15.

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
12-28-2015, 03:43 AM
Post: #18
RE: DM41L serial transfer help!
Email from Michael,

They are working on the decode/encoder. Also a a slower PSE for fast mode.

Cheers.
Find all posts by this user
Quote this message in a reply
12-28-2015, 06:25 AM
Post: #19
RE: DM41L serial transfer help!
(12-28-2015 03:43 AM)Geoff Quickfall Wrote:  Email from Michael,

They are working on the decode/encoder. Also a a slower PSE for fast mode.

Cheers.

Thank you for the update Geoff.

Cheers!
Visit this user's website Find all posts by this user
Quote this message in a reply
12-28-2015, 05:51 PM (This post was last modified: 12-28-2015 06:06 PM by BarryMead.)
Post: #20
RE: DM41L serial transfer help!
Another convenient way to upload/download programs is to use the HP-15C simulator written by Torsten Manz. You can get your copy here http://www.hp-15c.homepage.t-online.de/download.htm Using the simulator you can browse a nice pre-built library of well-documented tested HP-15C programs, and can conveniently upload/download programs with two clicks of the mouse. Of course you can also key-in your own favorite special programs and add them to your library just as quickly. The Simulator has a very nice automatic documentation feature that knows which resources (Labels/Flags) are used by each program and makes it nearly painless to generate high-quality documentation for each program you create or key-in. It is exceptionally well written and worth a look. Torsten's Simulator has pre-compiled binarys for Linux/Windows/Mac systems, and can also be run on any Linux/Unix system with TCL/TK 8.5.9 or higher. I know this won't help with your DM-41 communication issues, but if you ever need to talk to a DM-15 this tool is very nice.
Find all posts by this user
Quote this message in a reply
Post Reply 




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