CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 8 matches
CCS Forum Index
Author Message
  Topic: PIC24HJ128xxx and RS232 help !!!!!!!
smkul13

Replies: 18
Views: 21243

PostForum: 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

PostForum: 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", Surprised Unfortunately th ...
  Topic: PIC24HJ128xxx and RS232 help !!!!!!!
smkul13

Replies: 18
Views: 21243

PostForum: 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

PostForum: 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 Crying or Very sad . 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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, ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group