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

how to change configuration word in pic microcontroller?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kamranraj



Joined: 25 Jan 2011
Posts: 2
Location: karachi

View user's profile Send private message Send e-mail Visit poster's website

how to change configuration word in pic microcontroller?
PostPosted: Tue Feb 08, 2011 1:46 am     Reply with quote

C file
Code:

#include <16f84a.h>
#fuses HS,NOWDT
#use delay(clock=10000000)
void main (void)
{
int n;
   while (1)
   {
      for (n=0;n<255;n++)
      {
      output_b(n);
      delay_ms(100);
       
      }
   }
}

hex file
Code:
:1000000000308A001828000013308400000803190B
:10001000172803308D008C018C0B0C288D0B0B28BE
:100020003C308C008C0B12281528800B09282728BF
:1000300084011F3083059201120F1F28292883167F
:100040008601831212088600643093000428920A05
:060050001C281B286300C0
:02400E00F23F7F
:00000001FF
;PIC16F84A

I am using GENIUS G540 programmer and ccs c compiler v4.057.
After compiling, load I the .hex file in GENIUS G540 programmer.
I have receive message,
None configuration worde in the HEX file
Please set it after the loading


Just like this
http://www.youtube.com/watch?v=08RbgdoJKmo

How to set configuration word?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group