I’ve been working on this software that sends data over the serial port.
I’ve come across some (rather annoying) problem that I can’t seem to figure
out. I have hardware that I want to have hooked up to ser1. My software is
configured to use this port, but is changeable (a quick define at the top
can change it). As I go to run my software, I send data out and expect data
coming back, but nothing ever comes back. So, I grab the trusty
oscilloscope and start checking the lines. For the serial port, I find that
NOTHING is coming out of the port (tx line). I then go and check the other
serial port pins, and voila, there’s data coming out. So I quickly change
my setup to use the other port, compile the software, and it stops working.
Same issue. I had the hardware engineer that built the hardware verify that
everything was “safe” and that it wasn’t doing anything to disrupt the uart.
So I’m wondering what might happen that would suddenly make the UART not
transmit data. I’ve killed/restarted the serial drivers but nothing seems
to fix it. Any hints on this are appreciated.
PS: version of Dev32.ser I’m using is 4.23I