|
|
View previous topic :: View next topic |
Author |
Message |
Pierre Bendes Guest
|
Writing internal EEPROM data while programming |
Posted: Thu Nov 08, 2001 8:01 am |
|
|
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
|
Re: Writing internal EEPROM data while programming |
Posted: Thu Nov 08, 2001 8:51 am |
|
|
:=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 |
Posted: Thu Nov 08, 2001 9:29 am |
|
|
:=:=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
|
Re: Writing internal EEPROM data while programming |
Posted: Thu Nov 08, 2001 10:46 am |
|
|
:=:=:=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 |
Posted: Thu Nov 08, 2001 1:10 pm |
|
|
:=:=:=:=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 |
|
|
|
|
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
|