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 7 matches
CCS Forum Index
Author Message
  Topic: Setting Configuration Bits on a PIC12F508
dahli.llama

Replies: 8
Views: 13384

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2006 11:05 am   Subject: SOLVED!
Okay, I've solved it!!!

this is what the end of my hex file looks like:

:021FFE00FE0FD4
:00000001FF
;PIC12F508

Evidentally you need to tell the programmer that the config word goes ...
  Topic: Setting Configuration Bits on a PIC12F508
dahli.llama

Replies: 8
Views: 13384

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2006 10:58 am   Subject: Setting Configuration Bits on a PIC12F508
Ok, another thing. I just found this in the PIC12F508/12F509 Memory Programing Specification.

Note: By convention, the Configuration Word is
stored at the logical address location of
0xFFF w ...
  Topic: Setting Configuration Bits on a PIC12F508
dahli.llama

Replies: 8
Views: 13384

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2006 10:35 am   Subject: Setting Configuration Bits on a PIC12F508
Ok, I have tried to manually edit the hex file, but no such luck.

I have changed the end of the .hex file to this:

:0207FE00FE0FEC
:00000001FF
;PIC12F508

Which should be the right l ...
  Topic: Setting Configuration Bits on a PIC12F508
dahli.llama

Replies: 8
Views: 13384

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2006 9:22 am   Subject: Setting Configuration Bits on a PIC12F508
Thank you for the information.

I will be submitting a bug to them.

I will probably just use the hex editor for now.

Thanks again for the help.
  Topic: Setting Configuration Bits on a PIC12F508
dahli.llama

Replies: 8
Views: 13384

PostForum: General CCS C Discussion   Posted: Thu Jan 26, 2006 3:25 pm   Subject: Setting Configuration Bits on a PIC12F508
1. Ok, the #fuses statement I am using is:


//Configuration
//Format for CCS C Ver. 3.218
//Internal oscillator, Watchdog Enabled, Master Clear enabled, Code Protect off

#FUSES WDT,NOPROTEC ...
  Topic: Setting Configuration Bits on a PIC12F508
dahli.llama

Replies: 8
Views: 13384

PostForum: General CCS C Discussion   Posted: Wed Jan 25, 2006 1:46 pm   Subject: Setting Configuration Bits on a PIC12F508
Hello,

I need some help setting the configuration bits in the hex file on the PIC12F508. I am using the CCS C compiler for this and the #fuses directive that is supposed to set the correct bits fo ...
  Topic: CCS C and SlickEdit
dahli.llama

Replies: 2
Views: 9170

PostForum: General CCS C Discussion   Posted: Tue Jul 19, 2005 12:05 pm   Subject: CCS C and SlickEdit
I am currently using SlickEdit do write my code and I'd like to be able to compile with CCS C from inside SlickEdit, but I can't seem to figure out how to get it working properly. Does anyone have an ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group