bluejay Posted January 25, 2021 Share Posted January 25, 2021 I tried testing my user port RS232 adapter, and it does indeed work well; it transfers and receives data just fine, to and from my laptop, both using terminal programs. However, when I tried TCPSER, it simply doesn't work. The RX line on my USB-TTL adapter blinks when I type on the PET, but when I send commands like ATE or ATDT TCPSER simply doesn't respond(TX line doesn't blink). Has anyone had issues using TCPSER with their PET? Quote Link to comment Share on other sites More sharing options...
brain Posted January 25, 2021 Share Posted January 25, 2021 Hmmm, there's not a lot of information here, but I can assure you TCPSER works with PETs. ? If the terminal program on the PC works, then at most it's a configuration issue. Try providing the command line you're using here, and turn on debugging and tracing : -l7 -tsSiI and post some of the output here. TCPSER has to play with the RS232 lines to create a DCD line for the PET, and thus you might need a modified null modem cable (as noted in the github repo README), or you might need to tie DCD high all the time... Jim Quote Link to comment Share on other sites More sharing options...
bluejay Posted January 25, 2021 Author Share Posted January 25, 2021 (edited) This is odd. I did what you asked, and it does seem to send the data to the PET, but the PET won't display anything. I'm using the Windows Command Line. Edited January 25, 2021 by bluejay Quote Link to comment Share on other sites More sharing options...
brain Posted January 25, 2021 Share Posted January 25, 2021 Try leaving off the &C0 and seeing if that helps. Also, if you have a Serial line tester, those are always good to see the difference in signals from the two setups. Jim Quote Link to comment Share on other sites More sharing options...
bluejay Posted January 25, 2021 Author Share Posted January 25, 2021 (edited) Tried it, didn't work. I'm only using the TX and RX lines coming from the PET, so only those are the ones connected to the PC too. Maybe I'll try the program with an actual USB to RS232 adapter instead of a USB to TTL one. Update: Trying the RS232 adapter didn't work at all. Edited January 25, 2021 by bluejay Quote Link to comment Share on other sites More sharing options...
bluejay Posted January 26, 2021 Author Share Posted January 26, 2021 I did some googling and found someone got it to work on his C64 by typing in -i"&k0" so I tried that; and it works! Quote Link to comment Share on other sites More sharing options...
brain Posted January 26, 2021 Share Posted January 26, 2021 Hmm, flow control. OK. Well, good that it works for you. Jim 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.