Welcome, Guest. Please login or register.

Author Topic: Output serial to console?  (Read 1980 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline HolySamosaTopic starter

  • Newbie
  • *
  • Join Date: Oct 2014
  • Posts: 23
    • Show only replies by HolySamosa
Output serial to console?
« on: November 08, 2014, 05:10:53 PM »
Is there a way with only WB 1.3 to write incoming serial data to the screen?  In the shell I've tried "Type SER: to CON:", but it seems CON: isn't writable.  

I'm trying to diagnose the serial problems with my null modem setup. Really want to get Amiga Explorer up and at 'em!

Thanks!
 

guest11527

  • Guest
Re: Output serial to console?
« Reply #1 on: November 08, 2014, 08:11:21 PM »
Quote from: HolySamosa;776927
Is there a way with only WB 1.3 to write incoming serial data to the screen?  In the shell I've tried "Type SER: to CON:", but it seems CON: isn't writable.

CON: is writable, but not under this path because it requires a full window specification. You may want to try "*" as target as it denotes the currently active console session you started the command in. But,preferably, use a terminal program such as Term or Terminus as it allows you to define the serial parameters more conveniently than the workbench preferences.
 

Offline Jiffy

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 474
    • Show only replies by Jiffy
    • http://clausewitz.nl
Re: Output serial to console?
« Reply #2 on: November 08, 2014, 10:00:07 PM »
FYI: Term doesn't work with WB 1.3.
Life sucks. Then you die. Then they throw mud in your face. Then you get eaten by worms. Be happy it happens in that order... My Amiga 1200
 

Offline LyleHaze

  • Newbie
  • *
  • Join Date: Aug 2013
  • Posts: 39
    • Show only replies by LyleHaze
    • https://sites.google.com/site/takeaprogrammertolunch/
Re: Output serial to console?
« Reply #3 on: November 09, 2014, 04:24:37 AM »
try something like

copy AUX:115200/8N1 CON:0/0/300/300

You can change the baud rate and control specifications as you like.
Same with the CON: window dimensions.

There are more things that can be added to the CON: spec, but I can't find the details right now. I know that Title and "AUTO" are also options, but I'm not sure of the order (or even if the order matters)

Have Fun!
 

Offline psxphill

Re: Output serial to console?
« Reply #4 on: November 09, 2014, 09:09:36 AM »
Quote from: Thomas Richter;776935
But,preferably, use a terminal program such as Term or Terminus as it allows you to define the serial parameters more conveniently than the workbench preferences.

He doesn't have access to any other software until he has Amiga Explorer working. Once he has it working then he probably won't need to diagnose the problem again.
 
 
Quote from: HolySamosa;776927
Is there a way with only WB 1.3 to write incoming serial data to the screen? In the shell I've tried "Type SER: to CON:", but it seems CON: isn't writable.

I'm trying to diagnose the serial problems with my null modem setup. Really want to get Amiga Explorer up and at 'em!

Thanks!
 

guest11527

  • Guest
Re: Output serial to console?
« Reply #5 on: November 09, 2014, 09:50:16 AM »
Quote from: LyleHaze;776954
try something like

copy AUX:115200/8N1 CON:0/0/300/300


AUX: is a line-buffered version of SER: and not ideally suited for copying raw data from the serial port to the console. However, what's worth trying is to have a terminal program at the other end of the null-model cable (PC, something), and then type on the Amiga side  newshell AUX:  which will give you an Amiga shell on the terminal sitting on the PC.
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: Output serial to console?
« Reply #6 on: November 09, 2014, 01:49:06 PM »
Could you give more details of your serial cable set up.
Try lowering the speed. You can also link via parallel cable.
Go Go Gadget Signature!
 

Offline HolySamosaTopic starter

  • Newbie
  • *
  • Join Date: Oct 2014
  • Posts: 23
    • Show only replies by HolySamosa
Re: Output serial to console?
« Reply #7 on: November 19, 2014, 05:08:16 AM »
Hi guys-- I finally achieved success with Amiga Explorer after switching to a different PC.

Thanks for all of the tips!