![]() |
41CL Serial Port Transfer - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: 41CL Serial Port Transfer (/thread-224066.html) |
41CL Serial Port Transfer - John Abbott (S. Africa) - 06-04-2012 Hi, after the accidental deletion of some of my flash files with YFERASE (and some panic!), I used R Wilker's CLWriter .NET program to do the download My procedure was as follows:
I had a few "glitches" with the serial comms, but generally it worked really very well (after overcoming my initial trepidation). As pointed out by others, use Fresh Batteries That's all there is to it (I hope I have not left out anything important) I certainly know and feel a lot more comfortable with this machine now. Thanks again for all the help. Best Regards John Re: 41CL Serial Port Transfer - Geir Isene - 06-04-2012 I am creating a solution with Ruby to facilitate serial transfer (both ways), but currently I have run into a challenge. I wrote to Antti Louko - but I guess he's rather busy, so I will see if anyone here have any light to shed on this:
Then I thought I would go on and create a similar solution to your Python programs for the CL, but in Ruby so that I can better extend it. But the problem is that, although I get the serial connection running, with YEXP (pointing at a plausible address, like 800000-0030), I only get zeros transmitted. I do get the right amount of zeros depending on the size of the last part (the 0030 in the above example)... but only zeros. Maybe something about the stop bits? The parity? The code is dead simple, as you can see:
-----------------Begin code--------------------- #!/usr/bin/ruby------------------End code---------------------- Re: 41CL Serial Port Transfer - Ángel Martin - 06-04-2012 Hi John, thanks for your nice words - truth is I just answered a couple of questions on a great topic to talk about, so I really enjoyed it too. Glad to read you´re getting things to work as supposed to; yes this system is amazing! I´ve been wondering about a method to EXPORT ROM pages to the PC using the serial connection, maybe if we ask nicely Raymond will oblige :-)
Cheers, Re: 41CL Serial Port Transfer - Diego Diaz - 06-04-2012 Hi Ángel, Exporting ROM pages to the PC is already soved by the USB-41 interface module. The other way around is not. The PC side interface is written in Python 2.7 and the module's code is (obviously) preliminary; but it works as expected. You need HEPAX or NoV in order to execute COPYROM from the desired page to page #7. The process is monitored by the code in the USB-41 and a copy of every word is sent to the PC where they're arranged in a standard .ROM file which can be used to load any Clonix/NoV/CL page. The file is built on the fly so the whole process takes just 5 or 6 seconds. Not the best moment now but we can get back to this issue in a couple of weeks in case you're interested. Cheers. Diego.
Re: 41CL Serial Port Transfer - Ángel Martin - 06-05-2012 Thanks Diego, somehow that had gone totally under my radar screen! I'll give it a try asap - No need to load the HEPAX, since the Library#4 contains the SAVEROM/GETROM code, so any Library#4-aware module will do the job: the function name is WRTPG - "write page"
Cheers, Re: 41CL Serial Port Transfer - Ángel Martin - 06-05-2012 Sorry I didn't read correctly - you say COPYROM, which is different and it's not included in the Library#4 (although it might in the future for this very reason, still plenty of room available there...) CPYPG is available on the ToolBox_4, it'll be interesting to check it out as well. the usage is as follows:
X: FROM page
Edited: 5 June 2012, 8:25 a.m.
Re: 41CL Serial Port Transfer - Marcus von Cube, Germany - 06-07-2012 Have you tried a lower baud rate?
Re: 41CL Serial Port Transfer - Frido Bohn - 06-08-2012 Diego, Re: 41CL Serial Port Transfer - Geir Isene - 06-08-2012 Right. I had different baud rates on the PC and the 41. Fixed now.
|