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 10 matches
CCS Forum Index
Author Message
  Topic: Individual port bits
seven

Replies: 15
Views: 20430

PostForum: General CCS C Discussion   Posted: Thu Jun 02, 2005 9:02 am   Subject: Individual port bits
Looking at the datasheet of the PIC18F4550, go to page 68 of the .pdf file. Page 68 of the .pdf file is also page 66 in print. You'll see a table that maps all the registers. So for the PIC18F4550

...
  Topic: Writing to register
seven

Replies: 5
Views: 8002

PostForum: General CCS C Discussion   Posted: Thu Jun 02, 2005 6:16 am   Subject: Writing to register
thank you!
My problem is i can"t locate those registers.
could you help to find them for PIC 18F4550?

p.s. Look at the previous post today where you asked about how to map SSPSTAT, SSPCON1, etc. ...
  Topic: Writing to register
seven

Replies: 5
Views: 8002

PostForum: General CCS C Discussion   Posted: Thu Jun 02, 2005 6:06 am   Subject: Writing to register
thank you!
My problem is i can"t locate those registers.
could you help to find them for PIC 18F4550?
  Topic: Individual port bits
seven

Replies: 15
Views: 20430

PostForum: General CCS C Discussion   Posted: Thu Jun 02, 2005 5:51 am   Subject: Individual port bits
you need to define a RAM variable...

#byte PORT_B 0x07 // device-dependent mapping
...
unsigned char my_port_b;
...
my_port_b = PORT_B;

...
if (port_b & 0x01) // is port_b bit 0 a 1? ...
  Topic: Writing to register
seven

Replies: 5
Views: 8002

PostForum: General CCS C Discussion   Posted: Thu Jun 02, 2005 5:26 am   Subject: Writing to register
i want to know how can i write write directly to register such as sspstat,sspcon1 etc ....
i remind you i'm using pic 184550.
thanks
  Topic: ICD control working - Debugger not
seven

Replies: 6
Views: 46959

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Mon May 30, 2005 1:39 am   Subject: ICD control working - Debugger not
i do not have the file "devices.dat".

Is it available just with the lastest version? cause i'm running with the 3.222 version
  Topic: 18F4550 USB driver code
seven

Replies: 17
Views: 78495

PostForum: Code Library   Posted: Fri May 27, 2005 9:22 am   Subject: 18F4550 USB driver code
i've just realised i can't program my pic 18F4550 !!!

i used to use an icd for programming my pic, but with with icd i can't programm this pic. An error has occured telling me that i have to update ...
  Topic: 18F4550 USB driver code
seven

Replies: 17
Views: 78495

PostForum: Code Library   Posted: Fri May 27, 2005 6:53 am   Subject: 18F4550 USB driver code
i've just realised i can't program my pic 18F4550 !!!

i used to use an icd for programming my pic, but with with icd i can't programm this pic. An error has occured telling me that i have to update ...
  Topic: 18F4550 USB driver code
seven

Replies: 17
Views: 78495

PostForum: Code Library   Posted: Thu May 26, 2005 2:16 pm   Subject: 18F4550 USB driver code
so i just have to configure the register and all will work fine Smile

can u tell me how i can use the code u've posted please. Do i have to copy it in the .h file created?
How can i create a new pic ...
  Topic: 18F4550 USB driver code
seven

Replies: 17
Views: 78495

PostForum: Code Library   Posted: Thu May 26, 2005 1:53 pm   Subject: 18F4550 USB driver code
please, can you tell me why i have to use a 24MHz crystal.
If i want to use a 20 MHZ crystal i have just to configure config1l the way i get 5 on the pll divider no?
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group