Searching \ for '[PIC]: Serial differences on 16c773 real vs. emula' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/ios.htm?key=serial
Search entire site for: 'Serial differences on 16c773 real vs. emula'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Serial differences on 16c773 real vs. emula'
2001\04\13@224854 by Matt Mosley

flavicon
face
Hi All,

I am having problems getting the USART on a 16c773(JW Package) to work correctly. The software is being developed with Hi-Tech C and works correctly with my Clearview Mathias emulator from Tech-tools. When I try to program a chip (so i can deliver a prototype to the user) I cannot receive any data. On the hardware side, it appears that for some reason the uC is holding the RX line high (checked between the MAX232 and the uC). On the port side of the MAX232 there is good signal. It will transmit perfectly fine. On the software side, I have tried it with the receive interrupt enabled and with it disabled, still no receive. I tried just disabling the USART but the line is still being held high, no blips anywhere. The chip is running the program, as it does other things (blinks LED's, transmits things out of the USART). I and my hardware guy are at a complete loss, any help or suggestions would be greatly appreciated.

thanks,
Matt

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\04\14@004042 by Drew Vassallo

picon face
>Clearview Mathias emulator from Tech-tools. When I try to program a chip
>(so i can deliver a prototype to the user) I cannot receive any data. On
>the hardware side, it appears that for some reason the uC is holding the RX
>line high (checked between the MAX232 and the uC).


The only thing I can imagine is that the pin is configured as an output and
latched to '1'.  Are you sure your configuration word is correct for that
port?

--Andrew
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\04\14@191327 by Matt Mosley

flavicon
face
That is what it appears to be to us also, but the TRISC is configured as per
the directions in the data sheet which say RX and TX both should be set as
inputs (seems a little strange but....). Our main concern is why would it
work correctly with the emulator, but not with a regular chip. We even went
so far as to put a blank chip in the socket and still were not able to get
that line to drop low (the default TRIS is for input).

Thanks for the input though!

Matt

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...