Sure!
Post #4
https://www.picbasic.co.uk/forum/sho...rking-with-HEF
Needs to be adapted to your eeprom I guess. Have not tested yet.
Ioannis
Sure!
Post #4
https://www.picbasic.co.uk/forum/sho...rking-with-HEF
Needs to be adapted to your eeprom I guess. Have not tested yet.
Ioannis
be aware that I made use of the full 14 bit width of the flash in that code, the data sheet says that only the low byte is high endurance.
the repercussions of making use the high byte too is not known to me. i have never used hef in any strenuous way, ever.
Warning I'm not a teacher
Thanks for the warning.
I do not have an alternative as the chip I need to use (16F1779) does not have other EEPROM. Only HEF.
If I can spare a couple of pins, maybe an external EEPROM will save the day.
Ioannis
use the hef by all means , preferably as bytes ie the low byte . just mask off the high byte and leave it set to 255
so you don't keep trashing it
Warning I'm not a teacher
I understand, its just gets too complicated to use the HEF area.
Thanks,
Ioannis
Bookmarks