From
Konstantin Butorin
→
To
All
12 June 2002
Hi, All!
Please check it out and tell me all possible glitches/shortcomings. Something is missing from me
plows...
┌────────┐
── GND ───│B1 A1│─── -I/O CH CK ──
LPT-16(INIT) ── +RESET ───│B2 A2│─── +D7 ───────── LPT-09(data7)
── +5V ───│B3 A3│─── +D6 ───────── LPT-08(data6)
── +IRQ2 ───│B4 A4│─── +D5 ───────── LPT-07(data5)
── -5VDC ───│B5 A5│─── +D4 ───────── LPT-06(data4)
── +DRQ2 ───│B6 A6│─── +D3 ───────── LPT-05(data3)
── -12V ───│B7 A7│─── +D2 ───────── LPT-04(data2)
── ───│B8 A8│─── +D1 ───────── LPT-03(data1)
── +12V ───│B9 A9│─── +D0 ───────── LPT-02(data0)
── GND ───│B10 A10│─── +I/O CH RDY ─
── -MEMW ───│B11 A11│─── +AEN ──────── general
── -MEMR ───│B12 A12│─── +A19 ────────
LPT-14(AUTO LF) ── -IOW ───│B13 A13│─── +A18 ────────
LPT-01(STROBE) ── -IOR ───│B14 A14│─── +A17 ────────
── -DACK3 ───│B15 A15│─── +A16 ────────
── +DRQ3 ───│B16 A16│─── +A15 ────────
── -DACK1 ───│B17 A17│─── +A14 ────────
── +DRQ1 ───│B18 A18│─── +A13 ────────
── -DACK0 ───│B19 A19│─── +A12 ────────── CLOCK ───│B20 A20│─── +A11 ────────
── +IRQ7 ───│B21 A21│─── +A10 ────────
── +IRQ6 ───│B22 A22│─── +A9 ─────────####─┐
── +IRQ5 ───│B23 A23│─── +A8 ─────────####─┤
── +IRQ4 ───│B24 A24│─── +A7 ─────────####─┤
5v
── -DACK2 ───│B26 A26│─── +A5 ─────────####─┤
── +T/C ───│B27 A27│─── +A4 ─────────####─┤
── +ALE ───│B28 A28│─── +A3 ─────────####─┘
── +5V ───│B29 A29│─── +A2 ───────── LPT-13(SELECT)
── OSC ───│B30 A30│─── +A1 ───────── LPT-12(PAPER END)
── GND ───│B31 A31│─── +A0 ───────── LPT-10(ASK)
└────────┘
А ТАК ЖЕ СХЕМКА:
┌──┬────┬──┐
ОБЩИЙ ─ 1 ─oER│IR23│Z │
├──┤ │ │
LPT-17(SEL IN) -11 ─.C │ │ │
├──┤ │ │
ISA-9(DATA0) - 3 ─┤D0│ │Q0├─ 2 - ISA-31(ADRES0)
ISA-8(DATA1) - 4 ─┤D1│ │Q1├─ 5 - ISA-30(ADRES1)
ISA-7(DATA2) - 7 ─┤D2│ │Q2├─ 6 - ISA-29(ADRES2)
8 ─┤D3│ │Q3├─ 9
13 ─┤D4│ │Q4├─ 12
14 ─┤D5│ │Q5├─ 15
17 ─┤D6│ │Q6├─ 16
18 ─┤D7│ │Q7├─ 19└──┴────┴──┘
That is, the address is set like this: turn on the bit for the address in LPT, enter the address in
data port and reset the address bit in LPT. Immediately the question is: is there a modem?
Can you post the address?
Bye All...
From
Aleksandr Majorov
→
To
Konstantin Butorin
17 June 2002
Hello Konstantin!
12 Jun 02 21:12, Konstantin Butorin -> All:
KB> Please check it out and tell me all the possible glitches/shortcomings. Something about me
KB> does not plow...
[skipped]
Well, you've made a fool of yourself...
Is your LPT port bi-directional?
Do you have any output-to-output conflicts (between the modem and the buffer)?
The diagram is correct at first glance, but it takes a long time to look at it
and really lazy :)
Take a probe (tester, oscillator) and go through the information
conclusions "step by step" - most likely you will find everything yourself.
YES, and explain exactly how it “doesn’t work”?
Is it working at all or is something wrong?
KB> That is, the address is set like this: turn on the bit for the address in LPT,
KB> enter the address into the data port and reset the address bit in lpt.
Long and inconvenient. You can immediately forget about the high connection speed IMHO.
There are suspicions that even 14400 will not cope.
KB> Immediately the question is - can the modem set its address?
Explain the question. What is “your address” and why does the modem set it?
Alexand
From
Aleksandr Majorov
→
To
Konstantin Butorin
25 June 2002
Hello Konstantin!
20 Jun 02 11:58, Konstantin Butorin -> Aleksandr Majorov:
[skipped]
AM>> Hey, you screwed up...
KB> I'm not a chemist, I'm a physicist ;) So I didn't cheat ;)...
Yep, got it wrong :)
AM>> Is your LPT port bi-directional?
KB> Hy... Standard LPT port ptsshny...
Yeah, how do you plan to read from the modem?
AM>> Do you have any output-to-output conflicts (between the modem and the buffer)?
KB> Buffer of what?
LTP port buffer.
If you try to read something from the modem, then the modem
will give you the data.
At this moment his legs "data" will be the exit,
which will be connected to the outputs of the LTP port
Which, according to reference books, is a very bad thing.
AM>> The diagram is correct at first glance, it will take a long time to consider
AM>> and really lazy :)
KB> And how lazy I was to solder the circuits!
It would be better if you got down to business - put together a Kondratiev circuit, or something.
AM>> Take a probe (tester, oscillator) and go through the information
AM>> conclusions "step by step" - most likely you will find everything yourself.
KB> Find what? Error? Unfortunately everything works that way... The modem is not working correctly KB> someone perceives something... Or does not perceive...
Find out finally - does he perceive it or not?
AM>> YES and explain exactly how it “doesn’t plow”?
KB> As I understand it, it is necessary to implement control at a very low level. That
KB> when setting the address, first set the WR signal, then the address
KB> then date, then remove all this in reverse order...
You should be driven out of physics and into plumbing!!!!!!!!!!!
Make RTFM at a low level!
You even had signal diagrams!!!
The edge of the WR or RD signal is applied when all data is ready for recording
or reading!!!!!
First put the data in the address register, then put the data for the LTP port
modem and only then issue a WR signal of the required duration!
Mlyn, well, for whom are these diagrams drawn and books written?
[skipped]
KB> Most likely I’m setting the modem address incorrectly. Which one is needed?
RTFM
KB> And you also need to install the dips on the modem - in what position -
KB> unknown... Modem - IDC 2442 BL
RTFM book for modem.
Or look on the Internet for how to set the desired COM port address and interruption.
[skipped]
AM>> Long and inconvenient. About high connection speed IMHO you can immediately AM>> forget. There are suspicions that even 14400 will not cope.
KB> Well, what can you do... The disadvantage of LPT with bidirectional outputs...
So do you have bidirectional LTP or not???
[skipped]
KB> And by the way, do modem addresses need to be changed often? like once
KB> put it up, and you can forget about it for a while...
Write a byte to the data port (transmit data):
1) check the modem readiness bit (read from some port)
2) if the modem is not ready, go to (1)
3) write data to the data register.
Read a byte from the modem (receive data):
1) check the modem readiness bit (read from some port)
2) if the modem is not ready, go to (1)
3) read data from the data register.
Are comments unnecessary?
KB>>> The immediate question is - can the modem set its address?
AM>> Explain the question. What is “your address” and what is the modem for?
AM>> exhibit?
KB> Well, maybe just a control device (in our case, an LPT port)
KB> sets the modem address?
Yes.
KB> The modem itself cannot set the address?
At what point?
No, of course.
Alexand
From
Konstantin Butorin
→
To
Aleksandr Majorov
3 August 2002
Hi, Alexander!
AM>>> You have a ONE-DIRECTIONAL LPT port! ONLY FOR RECORDING DATA IN
AM>>> DEVICE! How can you accept anything from him?
AM>>> devices???
KB>> Yes, you drive! ;) On the PC, the port is bidirectional - itself with wiring
KB>> checked. On the PC! Can you hear me! HA PC! NOT ON SPEC!
AM> In this case, explain why you couldn’t do anything
AM> read from modem?
Well, probably because I didn’t try to read from it ;) I actually don’t have
I had problems READING, I have a problem WRITE to the port. He's somehow strange
behaves at the same time. (Everything has been discussed before)
AM> And tell me how you “checked the wiring”
AM> then the port is bidirectional?
I took the +5V wiring and, reading from the port, started poking at the printer’s date signals.
The port changed its values as it should have changed
AM>>> Just connect the modem data bus to the computer data bus!
KB>> I don’t have an ISA bus in the PC, and I can’t connect to PCI...
AM> You can install an external modem, you can install a PCI modem
AM> you can put a cartoon...You can... You can... Anything is possible... But I don’t need it! I WANT to attach a modem
to the printer. There are diagrams on how to attach a hard drive to it...
AM>>> Kondratiev diagram for connecting a Chaes modem to Specky.
AM>>> Where is there even a word about PC?
KB>> Can anyone even hear me? I connect Hayes to the PC via LPT!
AM> Only now you directly said where you connect the modem!
Haven't you seen the diagram? it seems to clearly indicate the modem, and whose printer port and
etc.
AM>>> Think for yourself - WHAT WAS RECORDED IN IR23?
AM>>> You're just lucky - there was "0" there - the list of modem commands.
KB>> I said that I tried all 8 addresses.
AM> I'll probably surprise you, but with 8 signal lines it can
AM> be not 8, but 256 combinations. Have you gone through them all? ;)
AM> The modem uses only the lowest 8 ports, i.e. 0...7
Are you kidding me? I SAID THAT I TRIED ALL 8 ADDRESSES.
Address/No. 000-1st; 001-2nd; 010-3rd; 011-4th; 100-5th; 101-6th; 110-7th; 111-8th
value 0 1 2 3 4 5 6 7
EIGHT!!! The rest are on 5v.
AM> If you try to read anything from any modem portAM> (from 0 to 7), then the modem will definitely answer you.
AM> Provided that you give him the signals correctly
AM> (which are described in the docs).
AM> Another thing is that you most likely cannot read the data.
AM> Provide a listing of your miracle program for working with a modem.
Definitely, but later - when I make a normal RECORDING to the ports. and so that it works
not every other time...
AM>>>>> Make RTFM at a low level!
KB>>>> Well, I did this already... Still the same crap - Well, the modem is unnecessary
KB>>>> address and everything is here ;)
AM>>> Why doesn’t the IR23 work when the IR23 is disconnected?
KB>> Believe me, I’m also interested in finding out ;)
AM> Because the modem needs an address.
AM> He's married and that's it! ;)
So I give him the same address as with IR23 - the senior ones are on 5v, the junior 3 - in any
combinations. It doesn't plow.
Bye Alexander...
From
Kirill Frolov
→
To
Konstantin Butorin
23 August 2002
Press RESET immediately, Konstantin!
03 Aug 02 16:24, Konstantin Butorin wrote to Aleksandr Majorov:
KB> Are you kidding me? I SAID THAT I TRIED ALL 8 ADDRESSES.
KB> Address/No. 000-1st; 001-2nd; 010-3rd; 011-4th; 100-5th; 101-6th; 110-7th;
KB> 111-8th value 0 1 2 3 4 5
KB> 6 7
KB> EIGHT!!! The rest are on 5th century.
Are you slow? They already wrote to you - A0, A1, A2 = register address,
A2..A9=device address on the bus. Quite specific, otherwise does not react.
Or how do you think a modem differs from a disk drive controller?
KB> Necessarily, but later - when I make a normal ENTRY to the ports. and
KB> so that it works more than once...
Switch the port to EPP mode and don’t screw yourself or anyone else’s brains.
How to do this, and what it is all about, you can read in the “encyclopedia
pisyuk" by M. Guk or search the Internet for the specification (on Google, in English
language, pdf of unlimited size, search using the words "parallel port", "IEEE1284").
Your input and output to the modem will work as input and output to the port, also
There will be two strobes - for address and data. Connect the data to the modem, address
to the IR23 register, where the modem register address will be stored and outputto him on the address bus. You will connect an interrupt from the modem to the ACK signal of the port.