Linux-Hams archive - June 1997: SCC problem...

SCC problem...

Luca Palazzo (peczzmz@roskapostia.tunk.net)
Sun, 8 Jun 1997 19:45:33 +0200 (GMT+0200)


Hallo Everyone, hallo Joerg,
i've a problem with a scc card.
This card is S5SCC (homemade). It uses a 9,8304 MHz oscillator and 2
z8530...
Its base address is 0x300 and irq 5...
In this moment only a 1200 baud ports is ready (and functions under dos &
tsthost & tfpcx)....
I use ith command for dos:
tfpcx -puscc:300:5:1000 -b600 -bu999
(-b600 because this card has 9,8304MHz osc against 4,915MHz of original
USCC)...
Everything goes well under dos...
I compiled 2.0.30 with scc support in the kernel (not as module) and i've
setted up /etc/z853...conf file.
This is the configuration file:
chip 1
data_a 0x300 # data port A
ctrl_a 0x304 # control port A
data_b 0x301 # data port B
ctrl_b 0x305 # control port B
irq 5 # IRQ No. 5 (#)
pclock 9830400 # clock (+)
board BAYCOM # hardware type (*)
escc no # enhanced SCC chip? (8580/85180/85280)
(*)
vector no # latch for interrupt vector ($)
special no # address of special function register (*)
option 0 # option to set via sfr (*)
speed 1200 # 1200 baud
clock dpll # clock source: use the dpll
mode nrzi # normal NRZI operation
#
# Level 1 parameters
#
txdelay 36 # You should know about these already!
persist 64
slot 8
tail 8
fulldup 0
wait 12
min 3
maxkey 7
idle 3
maxdef 120
group 0
txoff off
softdcd off # use software dcd

When i init scc with sccinit, i car read this in /var/log messages:
8 18:49:52 test kernel: scc0: data port = 0x300 control port = 0x304 --
found
8 18:49:52 test kernel: scc1: data port = 0x301 control port = 0x305 --
found

Everything seems right...

/proc/interrputs says:
0: 11998 timer
1: 172 keyboard
2: 0 cascade
3: 281 + serial
4: 284 + serial
5: 0 + AX.25 SCC
8: 0 + rtc
10: 1 NE2000
13: 0 math error
14: 16180 + ide0

It seems to have not any interrupt from scc....

I can see dcd's led lighting but i cannot read anything on listen or with
sccstat i've no pkts received....

What may be the problem??
Thanks in adavnce
Luca
P.S.: you can find info on s5scc on s5 national assiociation web site
(sorry i do not remember the addres..)..

--------------------------------------------------------
Luca Palazzo -------------------------------------------
Ingegneria Civile - Universita' di Catania -------------
Email address : ukylg.wotpixkypu@nsnet3.nsn.pl --------------
--------------- terhi.victor@logonet.com -----------------------
Ham addresses : oyhzmdv@ggamaur.net --------------
--------------- eyzo.rvtou@fnsppresov.sk --------------
---- AO-10 * FO-20 * FO-20 <> Only in the weekend ------
--------------------------------------------------------
Home Page ------> http://genius.cdc.unict.it/~lpala ----
--------------------------------------------------------