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 support@ccsinfo.com

Writing internal EEPROM data while programming

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







Writing internal EEPROM data while programming
PostPosted: Thu Nov 08, 2001 8:01 am     Reply with quote

Does someone knows how to program some data into the internal eeprom while programming a chip. I'm currently working on the PIC16F877. Is there a specific keyword to use. I know the write_eeprom command that can be executed while running. I need to initiate each microcontrolor with a serial address and do not want to do it while running.
___________________________
This message was ported from CCS's old forum
Original Post ID: 1013
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

Re: Writing internal EEPROM data while programming
PostPosted: Thu Nov 08, 2001 8:51 am     Reply with quote

:=Does someone knows how to program some data into the internal eeprom while programming a chip. I'm currently working on the PIC16F877. Is there a specific keyword to use. I know the write_eeprom command that can be executed while running. I need to initiate each microcontrolor with a serial address and do not want to do it while running.

#rom 0x2100 = {125,200,90,11,124,28,204,210,113,250,231,223,114,250,231,223,138,10,143,139,4}
first 21 bytes of ROM are loaded during programming.
___________________________
This message was ported from CCS's old forum
Original Post ID: 1014
Pierre Bendes
Guest







Re: Writing internal EEPROM data while programming
PostPosted: Thu Nov 08, 2001 9:29 am     Reply with quote

:=:=Does someone knows how to program some data into the internal eeprom while programming a chip. I'm currently working on the PIC16F877. Is there a specific keyword to use. I know the write_eeprom command that can be executed while running. I need to initiate each microcontrolor with a serial address and do not want to do it while running.
:=
:=#rom 0x2100 = {125,200,90,11,124,28,204,210,113,250,231,223,114,250,231,223,138,10,143,139,4}
:=first 21 bytes of ROM are loaded during programming.
Why do you use 2100? is it the base address for the EEPROM?? wich chip? is it for the 16f877??
___________________________
This message was ported from CCS's old forum
Original Post ID: 1015
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

Re: Writing internal EEPROM data while programming
PostPosted: Thu Nov 08, 2001 10:46 am     Reply with quote

:=:=:=Does someone knows how to program some data into the internal eeprom while programming a chip. I'm currently working on the PIC16F877. Is there a specific keyword to use. I know the write_eeprom command that can be executed while running. I need to initiate each microcontrolor with a serial address and do not want to do it while running.
:=:=
:=:=#rom 0x2100 = {125,200,90,11,124,28,204,210,113,250,231,223,114,250,231,223,138,10,143,139,4}
:=:=first 21 bytes of ROM are loaded during programming.
:=Why do you use 2100? is it the base address for the EEPROM?? wich chip? is it for the 16f877??

Read the last part of page 3 of the PIC16F87X data sheet.
___________________________
This message was ported from CCS's old forum
Original Post ID: 1017
chas
Guest







Re: Writing internal EEPROM data while programming
PostPosted: Thu Nov 08, 2001 1:10 pm     Reply with quote

:=:=:=:=Does someone knows how to program some data into the internal eeprom while programming a chip. I'm currently working on the PIC16F877. Is there a specific keyword to use. I know the write_eeprom command that can be executed while running. I need to initiate each microcontrolor with a serial address and do not want to do it while running.
:=:=:=
:=:=:=#rom 0x2100 = {125,200,90,11,124,28,204,210,113,250,231,223,114,250,231,223,138,10,143,139,4}
:=:=:=first 21 bytes of ROM are loaded during programming.
:=:=Why do you use 2100? is it the base address for the EEPROM?? wich chip? is it for the 16f877??
:=
:=Read the last part of page 3 of the PIC16F87X data sheet.

That's the PIC16F87x EEPROM Memory Programming Specification.
___________________________
This message was ported from CCS's old forum
Original Post ID: 1019
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