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

Read_Program_eeprom for 16F767

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







Read_Program_eeprom for 16F767
PostPosted: Mon Mar 28, 2005 12:11 pm     Reply with quote

Just tried to recompile some old code with Version 3.221 of compiler for the PIC16F767.

I used read_program_eeprom() for some stored data. I now get an error undefined identifier?

This worked with version 3.216.

Has CCS removed this command?.

I checked the data sheet for the PIC16f767 and a read program memory is allowed.

Has anyone encountered this problem.
Ttelmah
Guest







PostPosted: Mon Mar 28, 2005 2:06 pm     Reply with quote

Read the 'readme.txt' with the compiler version. To write without having to erase first, you should be using 'write_program_memory'. However the eeprom version certainly should exist.

Best Wishes
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 28, 2005 2:22 pm     Reply with quote

Quote:
Just tried to recompile some old code with Version 3.221 of compiler for the PIC16F767.


I just tested it. Results:

PCM 3.188 -- compiles OK

PCM 3.221 -- undefined identifier

PCM 3.222 -- compiles OK


Conclusion: They broke it in 3.221, and fixed it in 3.222.
If possible, download 3.222. If your download rights ran out
and you don't have the old version, then you could email CCS
and make the case that they should let you download 3.222
so that you have a working version again.
Guest
Guest







PostPosted: Mon Mar 28, 2005 3:21 pm     Reply with quote

Thanks for info.

I will do that.
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