![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
samyg
Joined: 26 Apr 2013 Posts: 11
|
About the virtual eeprom driver |
Posted: Tue Aug 07, 2018 7:59 am |
|
|
While going through the forums on using the self-program flash feature on PICs as an EEPROM for some calibration data, I came across the CCS virtual EEPROM driver, which I've got a few questions about:
1. The announcement page on CCS' website for the driver says that it adds virtual EEPROM to "Any PIC MCU". Is this correct? I use the PIC12f615 a lot, which does not have self-write capabilities. Will the driver work on this too? If not self-write, how does this driver write to the flash without applying programming level voltages (forgive me if i'm being ignorant here).
2. The driver uses the last 2 ROM pages. Most PICs that I work with seem to have only 1 page (Page 0), or 2 at max. What happens here? Since there cannot be 2 empty pages, can I not use the driver with these chips? I do have empty space on the flash though.
Thanks! |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19369
|
|
Posted: Tue Aug 07, 2018 9:00 am |
|
|
No. Should say 'any PIC supporting flash write'.
Most PIC's have dozens or hundreds of pages in this context. Thery are talking about the _erase page_, not the physical memory page. If you look (for instance), at PIC16F1782, the program memory has two physical pages, but it's erase block is 32 words, so 64 'erase pages'.
It's the old thing of choosing the wording carefully!.... |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|