Hi Folks,
I'm trying to get a PC style printer to operate with a TUART parallel port under Cromix Plus 162. I have the TUART setup as per TUART #1 in the Cromix Plus Admin Manual and i have regenerated the OS with a parallel printer on the TUART.
I did find a spreadsheet with the pin mappings for CDOS by Martin Eberhard (although i can't for the life of me remember where i found it) from the TUART to a "normal" PC style cable. I made up an adapter cable and it works fine with CDOS. Excellent!
When i tried with Cromix Plus 162 i found that everything goes well for a single character. After that it doesn't go at all. No characters are emitted and the process (in my case ls >/dev/lpt1) stops dead until i terminate it with a ^C.
The single character is correct ("b") and i can see with the scope (see attached STRB_L, BUSY/READY_L, ACK_L) that the printer responds to STRB_L by asserting BUSY and then negating BUSY while producing an ACK_L pulse. The status lines from the printer look fine. (i use _L for active low btw)
I know the printer is not hung up because if i shutdown cromix and go to RDOS i can bit bash the output port (54h) to send more characters.
The various status inputs and ACK_L from the printer are connected to input port pins on the TUART. The TUART manual leaves the pin assignments up to the OS so Cromix could be different to CDOS. I've tried a few variations but the result is always the same. eg I routed ACK_L to SENS_L.
I expect the Cromix driver is waiting for something - just not sure what!
Any thoughts?
Graham