i uses pbp3 so not sure about other versions but
option 1 - data command - for loading values into a eeprom location - used when preloading when the device is programed
example
Code:
'----------------- EEprom pre-programmed dephalts Memory Map --------------------- ^
DATA @$00,5 ' 0. Location 0 , Program location 0 with Firmware Version#: 05= Version 0.5
data @$01,0 ' 1. Location 1 , Program Location 1 with Hardware version # 0.0
option 2; Write / read command
done for changeing eeprom bytes as required in program
Code:
write $01, $10 ' write location 1 , value of 10 hex
for x = 1 to 10 ' clear ( write 0 value ) to locations 1 - 10
write x , 0
next x
read $01 , X ' read the value at location 1 in eeprom to varable x
for x = 1 to 10 ' read locations 1 - 10 values into Y array
read x, y[x]
next x
very straight forward for EEprom based on PIC chips
Bookmarks