Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm
- From: jbitz34@xxxxxxxxx
- Date: 10 Apr 2007 16:33:22 -0700
On Apr 10, 4:50 am, "Roger Hamlett"
<rogerspamigno...@xxxxxxxxxxxxxxxxxxx> wrote:
What he posts, should work. However there are some caveats:
What _version_ of CCS. They recently (nearly a year ago now!...), launched
their 'version 4' compilers. So far, these are still not working right.
The latest version (32 releases after the supposed 'launch'), is
approaching a 'beta' status to my mind. They ran a 'beta' program for a
few weeks, and had not even got the compiler close to working, or any of
the main issues fixed, before they went 'live'. I was on the beta program,
and one of the things I raised, was only fixed a couple of weeks ago...
I'd guess this may be the free 'demo' version (since this supports the
16F877), and how good this is I don't know. However I would expect basic
code at this level to work OK.
Yes, it is the version 4 CCS compiler. :-(
I have to 'query' why on earth he bothers to test for the compiler being
PCM?. This is normally only done, when you want to make the source code
portable, across multiple chips, and as shown, is an extra thing to go
wrong.
Sorry, this was just the pertinent snippet; this code is based on the
framework of one of CCS's sample programs, in which they have a full
test for PCM, PCB, or PCH. I just copied the important #defines to
show my RS232 setup. I can simply remove the check if you think that
is a possible issue.
.
- References:
- Trying to send RS232 with PIC sends incorrect data in TeraTerm
- From: jbitz34
- Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm
- From: Anthony Fremont
- Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm
- From: jbitz34
- Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm
- From: Donald
- Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm
- From: Roger Hamlett
- Trying to send RS232 with PIC sends incorrect data in TeraTerm
- Prev by Date: Re: What a newsgroup!!!
- Next by Date: Re: New farnell website
- Previous by thread: Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm
- Next by thread: Re: Trying to send RS232 with PIC sends incorrect data in TeraTerm
- Index(es):
Relevant Pages
|