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 CCS Technical Support

#serialize with #rom problems

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



Joined: 18 Apr 2006
Posts: 66

View user's profile Send private message Yahoo Messenger

#serialize with #rom problems
PostPosted: Sat Aug 02, 2008 10:51 pm     Reply with quote

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?
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