Hyperterm and USB to serial adapter?
wolff
Posts: 43
I just bought a new laptop and it does not come with a serial port (DB-9). So I purchased a USB/Serial port (DB-9) adapter from Parillax. I can program/run/debug my BS2 through the adapter with no problem... But when I try to use Hyperterminal to read a simple 9600 baud 8N1 stream it will only show about 50 charicters then stop. If I disconnect then reconect (using the software buttons on hyperterm) I get about 50 more characters then nothing?
Any help would be most appreciated!!!!
Any help would be most appreciated!!!!
Comments
It sounds like your BS2 program has a problem, that after 50 characters it 'locks up'. You'll have to look into that. If you get any characters at all from the BS2, the hyperterm -- USB -- Serial -- BS2 communication path is working fine.
Oh, and by "locks up" I mean your code goes into an infinite loop, or enters a DEBUGIN statement, or enters a SERIN statement and waits for input forever, or possibly your battery goes low and does a 'brown-out' of your BS2.
I certainly don't mean there's anything wrong at all with your BS2 hardware.· Getting your 50 characters or so also indicates the hardware is fine.
Also when I look at the serial stream using the debug terminal it does not stop at 50 characters.
The Debug Terminal knows about DTR, and leaves it low, I believe. It's possible you have hardware handshake turned on with Hyperterm, and that is causing it to cycle DTR, but I doubt it.
Anyway... I downloaded a freeware term program that works GREAT!·· http://bray.velenje.cx/avr/terminal/·· and solves the problem.
Thanks for your help!
J
The best solution is to use some other terminal program -- and I'm glad you found one that does the job for you.