From: Tomas Kral <thomas.kral@email.cz> Date: Fri, 9 Jun 2017 16:34:29 +0200
My setup is OLR on RPI <-- usb/serial cable --> FPGA Oberon.
On FPGA side I run PCLink1. On OLR side I run modified ORC.Mod, see below diff
Hypothetically at least, PPP should work also. Then TCP/IP and then FTP? The memory on the FPGA board will constrain? Regards, ... Lyall E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 Tel: +1 360 639 0202 Pender Is.: +1 250 629 3757 http://easthope.ca/Peter.html Bcc: peter at easthope. ca
On Fri, 9 Jun 2017 08:32:34 -0700 <peter@easthope.ca> wrote:
From: Tomas Kral <thomas.kral@email.cz> Date: Fri, 9 Jun 2017 16:34:29 +0200
My setup is OLR on RPI <-- usb/serial cable --> FPGA Oberon.
On FPGA side I run PCLink1. On OLR side I run modified ORC.Mod, see below diff
Hypothetically at least, PPP should work also. Then TCP/IP and then FTP? The memory on the FPGA board will constrain?
Regards, ... Lyall E.
Further thinking. If it is only serial line protocol over USB, than no signal conversion is needed. But how about if we really need to connect RS232 signals to USB, because different signal are levels used there. RS232 - "0" ~ -12V, "1" ~ +12V USB - "0" ~ 0V, "1" ~ +5V I can imagine RS232 -> USB is easy as to dropping voltage from 12V. But how about USB -> RS232? Does not seem possible to transform 5V->12V without external 12V power supply. Tomas -- Tomas Kral <thomas.kral@email.cz>
But how about if we really need to connect RS232 signals to USB, because different signal are levels used there.
RS232 - "0" ~ -12V, "1" ~ +12V USB - "0" ~ 0V, "1" ~ +5V
I can imagine RS232 -> USB is easy as to dropping voltage from 12V.
But how about USB -> RS232? Does not seem possible to transform 5V->12V without external 12V power supply.
Here is the relevant FTDI cable. http://www.ftdichip.com/Products/Cables/USBRS232.htm I also attached a schematic page in case you want to build something on your own. Wojtek
On Sat, 10 Jun 2017 13:54:29 +0000 "Skulski, Wojciech" <skulski@pas.rochester.edu> wrote:
But how about if we really need to connect RS232 signals to USB, because different signal are levels used there.
RS232 - "0" ~ -12V, "1" ~ +12V USB - "0" ~ 0V, "1" ~ +5V
I can imagine RS232 -> USB is easy as to dropping voltage from 12V.
But how about USB -> RS232? Does not seem possible to transform 5V->12V without external 12V power supply.
Here is the relevant FTDI cable. http://www.ftdichip.com/Products/Cables/USBRS232.htm
I also attached a schematic page in case you want to build something on your own.
Wojtek
Hi Wojtek, Nice drawing. What if I needed h/w flow control for some other non-oberon application. How would the wiring change? Many thanks -- Tomas Kral <thomas.kral@email.cz>
Tomas;
Nice drawing. What if I needed h/w flow control for some other non-oberon application. How would the wiring change?
Connect the CTS and RTS to the application which uses these pins. In our case the only signals which we need are Tx and Rx. The processors can be configured to use the other signals, but then you need to dig into the processor manuals and into the details of SW drivers. (I do not mean RISC5 here, but rather Blackfin or ARM.) The simplest configuration is as shown in the schematics. I copied it from Analog Devices years ago and used it ever since. It works, if the device driver sets the internal processor registers the proper way, what all sane device drivers do. Wojtek
On Sun, 11 Jun 2017 21:46:27 +0000 "Skulski, Wojciech" <skulski@pas.rochester.edu> wrote:
Tomas;
Nice drawing. What if I needed h/w flow control for some other non-oberon application. How would the wiring change?
Connect the CTS and RTS to the application which uses these pins. In our case the only signals which we need are Tx and Rx. The processors can be configured to use the other signals, but then you need to dig into the processor manuals and into the details of SW drivers. (I do not mean RISC5 here, but rather Blackfin or ARM.) The simplest configuration is as shown in the schematics. I copied it from Analog Devices years ago and used it ever since.
It works, if the device driver sets the internal processor registers the proper way, what all sane device drivers do.
Wojtek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
I wish to know, What the trick is, making +/-12 from +5V? -- Tomas Kral <thomas.kral@email.cz>
Hi Tomas, The answer is a DC-DC step-up converter: https://www.pololu.com/category/133/step-up-step-down-voltage-regulators or https://www.vanallesenmeer.nl/12V-Step-Up/Step-Down-Voltage-Regulator-S10V2F... Cheers, Darek On 12 June 2017 at 10:13, Tomas Kral <thomas.kral@email.cz> wrote:
On Sun, 11 Jun 2017 21:46:27 +0000 "Skulski, Wojciech" <skulski@pas.rochester.edu> wrote:
Tomas;
Nice drawing. What if I needed h/w flow control for some other non-oberon application. How would the wiring change?
Connect the CTS and RTS to the application which uses these pins. In our case the only signals which we need are Tx and Rx. The processors can be configured to use the other signals, but then you need to dig into the processor manuals and into the details of SW drivers. (I do not mean RISC5 here, but rather Blackfin or ARM.) The simplest configuration is as shown in the schematics. I copied it from Analog Devices years ago and used it ever since.
It works, if the device driver sets the internal processor registers the proper way, what all sane device drivers do.
Wojtek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
I wish to know, What the trick is, making +/-12 from +5V?
-- Tomas Kral <thomas.kral@email.cz> -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
On Mon, 12 Jun 2017 10:39:00 +0200 Darek Maksimiuk <darek.maksimiuk@gmail.com> wrote:
Hi Tomas, The answer is a DC-DC step-up converter: https://www.pololu.com/category/133/step-up-step-down-voltage-regulators or https://www.vanallesenmeer.nl/12V-Step-Up/Step-Down-Voltage-Regulator-S10V2F...
Cheers, Darek
On 12 June 2017 at 10:13, Tomas Kral <thomas.kral@email.cz> wrote:
On Sun, 11 Jun 2017 21:46:27 +0000 "Skulski, Wojciech" <skulski@pas.rochester.edu> wrote:
Tomas;
Nice drawing. What if I needed h/w flow control for some other non-oberon application. How would the wiring change?
Connect the CTS and RTS to the application which uses these pins. In our case the only signals which we need are Tx and Rx. The processors can be configured to use the other signals, but then you need to dig into the processor manuals and into the details of SW drivers. (I do not mean RISC5 here, but rather Blackfin or ARM.) The simplest configuration is as shown in the schematics. I copied it from Analog Devices years ago and used it ever since.
It works, if the device driver sets the internal processor registers the proper way, what all sane device drivers do.
Wojtek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
I wish to know, What the trick is, making +/-12 from +5V?
-- Tomas Kral <thomas.kral@email.cz> -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Hi, Thank you, you may have noticed from my questions, I am not a real h/w man, only a hobbyist. The reason I ask, that some low cost usb-rs232 adapters, do not produce +/-12V, but some +/-6V relying on broad tolerance band. But while they may work on modern systems, they may bot be reliable on some legacy systems with old serial ports. I am also thinking of some PIC application, as that is also on my list to build a programmer and learn PIC assembly, and if possible do tests on serial converter application. -- Tomas Kral <thomas.kral@email.cz>
There are plenty of RS232 tranceivers with on-board charge pumps, ref. the original, google MAX232. Maybe not standards compliant (whatever that means in the RS232/V.24 world) but they work this sort of application that you're talking about. Arnim On Mon, 12 Jun 2017 10:47:13 +0200 Tomas Kral <thomas.kral@email.cz> wrote:
On Mon, 12 Jun 2017 10:39:00 +0200 Darek Maksimiuk <darek.maksimiuk@gmail.com> wrote:
Hi Tomas, The answer is a DC-DC step-up converter: https://www.pololu.com/category/133/step-up-step-down-voltage-regulators or https://www.vanallesenmeer.nl/12V-Step-Up/Step-Down-Voltage-Regulator-S10V2F...
Cheers, Darek
On 12 June 2017 at 10:13, Tomas Kral <thomas.kral@email.cz> wrote:
On Sun, 11 Jun 2017 21:46:27 +0000 "Skulski, Wojciech" <skulski@pas.rochester.edu> wrote:
Tomas;
Nice drawing. What if I needed h/w flow control for some other non-oberon application. How would the wiring change?
Connect the CTS and RTS to the application which uses these pins. In our case the only signals which we need are Tx and Rx. The processors can be configured to use the other signals, but then you need to dig into the processor manuals and into the details of SW drivers. (I do not mean RISC5 here, but rather Blackfin or ARM.) The simplest configuration is as shown in the schematics. I copied it from Analog Devices years ago and used it ever since.
It works, if the device driver sets the internal processor registers the proper way, what all sane device drivers do.
Wojtek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
I wish to know, What the trick is, making +/-12 from +5V?
-- Tomas Kral <thomas.kral@email.cz> -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Hi,
Thank you, you may have noticed from my questions, I am not a real h/w man, only a hobbyist. The reason I ask, that some low cost usb-rs232 adapters, do not produce +/-12V, but some +/-6V relying on broad tolerance band. But while they may work on modern systems, they may bot be reliable on some legacy systems with old serial ports.
I am also thinking of some PIC application, as that is also on my list to build a programmer and learn PIC assembly, and if possible do tests on serial converter application.
-- Tomas Kral <thomas.kral@email.cz> -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Arnim Littek <arnim@actrix.gen.nz>
Hi Tomas,
I am also thinking of some PIC application, as that is also on my list to build a programmer and learn PIC assembly, and if possible do tests on serial converter application.
I have used (a modified version of) Prof. Wirth's PICL with the PIC16LF1455. He designed it for the 16F84, so it needed a bit of updating, but not much. See the section "PICL: A Programming Language for the Microcontroller PIC" on Wirth's home page: https://www.inf.ethz.ch/personal/wirth/ https://www.inf.ethz.ch/personal/wirth/PICL/ HTH Paul
participants (6)
-
Arnim Littek -
Darek Maksimiuk -
Paul Reed -
peter@easthope.ca -
Skulski, Wojciech -
Tomas Kral