[Oberon] Oberon RS232 - file exchange with Linux / OLR for RPI

thomas.kral at email.cz thomas.kral at email.cz
Sun Apr 3 10:49:45 CEST 2016


Chris,

Thank you, this helps.

In V24.Mod I can see port number is defined as CONST

portno = 1 but also as pno = 1

I tried recompiling with other values, same thing.

On RPI as on Pepino, serial ports are configured over USB channels.
I power Pepino from RPI using uUSB cable, it carries the data link as well. 

/dev/ttyUSB0 - configured as COM1
/dev/ttyUSB1 - configured as COM2

Changing the port number to 2 does not help.

Also I noticed OLR provides two modules:
V24.Mod and OLR.V24.Mod - portable, there is also ConfigV24.Mod.

It seems ports are hooked to IRQs in nonportable version assuming x86 platform?

I am putting Peter Matthias in cc, in hope he may be of help as far as OLR goes.
So the question might be, how to enable serial ports in OLR/RPI ports?

Many thanks so far 
Tomas

---------- Původní zpráva ----------
Od: Chris Burrows 
Komu: ETH Oberon and related systems 
Datum: 3. 4. 2016 9:52:51
Předmět: Re: [Oberon] Oberon RS232 - file exchange with Linux

> -----Original Message-----
> From: thomas.kral at email.cz [mailto:thomas.kral at email.cz]
> Sent: Sunday, 3 April 2016 4:49 PM
> To: chris at cfbsoftware.com; ETH Oberon and related systems
> Subject: Re: [Oberon] Oberon RS232 - file exchange with Linux
> 
> On LNO - OLR for RPI, I got ...
> 
> OCR.Open - open V24, error=2
> OCR.Send Test.txt - connection not open
> OCR.TestReq - I got 0 (zero reply)
> 

Look up error 2 in the source code of your Linux version of V24.Mod.  In the Windows version of V24.Mod the CONST error definitions include:

  NoSuchPort* = 2;

If that is the same for you, check which port you are using in ORC. Make sure it corresponds to the RS232 port on your PC that you have connected to the Pepino board.

Regards,
Chris

CFB Software
http://www.astrobe.com/RISC5


--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://lists.inf.ethz.ch/mailman/listinfo/oberon


More information about the Oberon mailing list