foodwatch
Joined: 18 Apr 2006 Posts: 66
|
#serialize with #rom problems |
Posted: Sat Aug 02, 2008 10:51 pm |
|
|
I have been having strange problems with the #serialize function and wonder if others may have seen the same thing.... I am using the 18f4550 and the ICDU #serialize method to add serial numbers to the data eeprom. Using the #serialize by itself, everything works fine, but if I try to pre-program other portions of the data eeprom by using:
#rom int 0xf00001 = {1,2,3,4}
#rom int 0xf0000F = {5,2,3,4}
along with ....
#serialize(dataee=251,string=5,next="50000",prompt="Enter Serial")
then the #serialize function promtps for the serial number but does not work and loads the same bogus number each time at the locations specified 251-255
It appears that the serialize function fails whenever more than one #rom instruction is present in the code. A single #rom does work ok. Anyone know what I am doing wrong? |
|