Author |
Message |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Tue Dec 09, 2008 9:37 pm Subject: PIC24HJ128xxx and RS232 help !!!!!!! |
I experienced usage of wrong addresses with some built-in functions, but I never used ICD-U40 with PIC24. It's better to perform some independant checking, at least in case of failure.
As karthik m ... |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Tue Dec 09, 2008 9:18 am Subject: PIC24HJ128xxx and RS232 help !!!!!!! |
To supplement the suggestions by kartik. A cmd:
#use rs232(UART1,baud=9600)
is actually implementing UART2, selecting UART2 gives an error "no second UART", Unfortunately th ... |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Tue Dec 09, 2008 2:38 am Subject: PIC24HJ128xxx and RS232 help !!!!!!! |
If I understand your post right, the wrong TRIS register access is with built-in function UART pin setup? It's not surprising to me, cause there have been various bugs of this kind with PCD, at least ... |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Tue Dec 09, 2008 12:20 am Subject: PIC24HJ128xxx and RS232 help !!!!!!! |
I followed the link and just copy pasted. I have just changed the pin names. It did not work . I am attaching the gif file for u.
WHY THE HELL TRISC IS CHANGING WHEN I WANT CHANGES TO HAPPEN ... |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Mon Dec 08, 2008 9:53 pm Subject: PIC24HJ128xxx and RS232 help !!!!!!! |
You still have not told us what PIC you are using.
I am using 24HJ128502 and the compiler is PCD oscillator is 8MHz crystal.
#use delay(clock=32MHz, oscillator = 8MHz) //Fcy = 32mhz
//set ... |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Mon Dec 08, 2008 4:49 am Subject: PIC24HJ128xxx and RS232 help !!!!!!! |
Post the #include statement for your PIC. You should always put that in
the posted code. Also post your compiler version.
Well thx..I have put the #include, Fuses and rs232 in the main file. ... |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Fri Dec 05, 2008 4:56 am Subject: Re: PIC and RS232 help !!!!!!! |
Guys,
}
}
Are you using LVP? If not then you should add the NOVLP fuse.
Does the #use RS232 automatically perform the peripheral pin mapping?
->
LVP ?? PIC24H generated no ... |
Topic: PIC24HJ128xxx and RS232 help !!!!!!! |
smkul13
Replies: 18
Views: 21243
|
Forum: General CCS C Discussion Posted: Thu Dec 04, 2008 7:57 am Subject: PIC24HJ128xxx and RS232 help !!!!!!! |
Guys,
I need your help desperately. I am trying to read and write back to hyperterminal from pic24. But it's not happening. I am not sure what the problem is. Here is the code.
#fuses XT,NOWDT, ... |
|