Writting data for Data EEPROM in notepad

Status
Not open for further replies.

sairfan1

Full Member level 1
Joined
Jun 12, 2010
Messages
97
Helped
4
Reputation
8
Reaction score
7
Trophy points
1,288
Location
Regina, Canada
Visit site
Activity points
2,384
Hi, i am working on some project using PIC 16F877A MCU where i want to save some data to its data EEPROM memory,

problem is that i want to write these initial values (in text and numeric form) manually to EEPROM like in notepad so that when i burn my device this data could also copy to EEPROM of MCU. I also want to write these values at specific location so that it can be called through program. below is the structure of EEPROM when i open it in notepad.

Thanking you.

Code:
:020000040000FA
:10420000FF00FF00FF00FF00FF00FF00FF00FF00B6
:10421000FF00FF00FF00FF00FF00FF00FF00FF00A6
:10422000FF00FF00FF00FF00FF00FF00FF00FF0096
:10423000FF00FF00FF00FF00FF00FF00FF00FF0086
:10424000FF00FF00FF00FF00FF00FF00FF00FF0076
:10425000FF00FF00FF00FF00FF00FF00FF00FF0066
:10426000FF00FF00FF00FF00FF00FF00FF00FF0056
:10427000FF00FF00FF00FF00FF00FF00FF00FF0046
:10428000FF00FF00FF00FF00FF00FF00FF00FF0036
:10429000FF00FF00FF00FF00FF00FF00FF00FF0026
:1042A000FF00FF00FF00FF00FF00FF00FF00FF0016
:1042B000FF00FF00FF00FF00FF00FF00FF00FF0006
:1042C000FF00FF00FF00FF00FF00FF00FF00FF00F6
:1042D000FF00FF00FF00FF00FF00FF00FF00FF00E6
:1042E000FF00FF00FF00FF00FF00FF00FF00FF00D6
:1042F000FF00FF00FF00FF00FF00FF00FF00FF00C6
:10430000FF00FF00FF00FF00FF00FF00FF00FF00B5
:10431000FF00FF00FF00FF00FF00FF00FF00FF00A5
:10432000FF00FF00FF00FF00FF00FF00FF00FF0095
:10433000FF00FF00FF00FF00FF00FF00FF00FF0085
:10434000FF00FF00FF00FF00FF00FF00FF00FF0075
:10435000FF00FF00FF00FF00FF00FF00FF00FF0065
:10436000FF00FF00FF00FF00FF00FF00FF00FF0055
:10437000FF00FF00FF00FF00FF00FF00FF00FF0045
:10438000FF00FF00FF00FF00FF00FF00FF00FF0035
:10439000FF00FF00FF00FF00FF00FF00FF00FF0025
:1043A000FF00FF00FF00FF00FF00FF00FF00FF0015
:1043B000FF00FF00FF00FF00FF00FF00FF00FF0005
:1043C000FF00FF00FF00FF00FF00FF00FF00FF00F5
:1043D000FF00FF00FF00FF00FF00FF00FF00FF00E5
:1043E000FF00FF00FF00FF00FF00FF00FF00FF00D5
:1043F000FF00FF00FF00FF00FF00FF00FF00FF00C5
:00000001FF
 

Im not looking for external EEPROM, i want to use internal EEPROM, i want to understand above values saved
 

The data will be normally written in C or assembly language in a better readable form. Hex code as shown in post #1 is generated by assembler/compiler.
 

Im not looking for external EEPROM, i want to use internal EEPROM, i want to understand above values saved
one of the examples appears to be for the internal EEPROM of a PIC16, i.e.
For a PIC16F87x, how to initialize the built-in 256 bytes of EEPROM at compile time.


also if you do a web search pic16 eeprom example it will give you many links
 

As you are talking about it should get stored at burning time. so as per my opinion there could be two solutions as
1.Use internal ROM for storing thses array
2. use SD-card for storing these data.

as per file this this is looking as hex file format as we burn it in controller.so if u clearly explain ur task we could help you.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…