KIM-1 and RS-232
Posted: Sat May 01, 2004 7:06 pm
I've built the simple two-transistor 20 ma to RS-232 interface circuit from the KIM-1 FAQ, but stil get nothing. Yes, I jumpered V and 21; when RESET is pressed the LEDs don't light up, so it must be looking for input from the serial port.
The documentation says to press the RUBOUT key... that's quaint. Is there any particular hex value that my terminal emulator should be sending? I've never seen a RUBOUT key on my keyboard. Would either BACKSPACE or DELETE be acceptable?
Since there is no way to debug any portion of the interface unless it all works, is it possible to use the OUTCH routine to just force characters out to make sure at least the TX logic works? I tried something like this with no success:
LDA #$1a ;time constant for 2400 baud - I think
STA CNTL30
LDA #00
STA CNTH30
LOOP LDA #'A'
JSR OUTCH
JMP LOOP
I can see the voltage fluctuating on pin 25 of U2, but the PC still sees nothing.
8N1, right?
Thanks
Bob
The documentation says to press the RUBOUT key... that's quaint. Is there any particular hex value that my terminal emulator should be sending? I've never seen a RUBOUT key on my keyboard. Would either BACKSPACE or DELETE be acceptable?
Since there is no way to debug any portion of the interface unless it all works, is it possible to use the OUTCH routine to just force characters out to make sure at least the TX logic works? I tried something like this with no success:
LDA #$1a ;time constant for 2400 baud - I think
STA CNTL30
LDA #00
STA CNTH30
LOOP LDA #'A'
JSR OUTCH
JMP LOOP
I can see the voltage fluctuating on pin 25 of U2, but the PC still sees nothing.
8N1, right?
Thanks
Bob