By "everyone", I assume you mean me. Possibly a good guess since I'm the only one that replied.Originally Posted by glaugle
Then, Duh!, disable them...All I really wanted was to disable interrupts during the 5 critical instructionsCode:INTCON.7 = 0Double Duh!, look in your PBP folder for PBPPIC18.lib, and then search for "WRITE"But, since I never did get access to the guts of the PBP "WRITE" routine,Of course, we will never see the code.I just wrote my own routine. I called it "WRITE2", and it does what I need.non-deterministic timings, this must have some profound meaning, but just cant find it in the dictionary.I tested it on my bench for many thousands of EEPROM writes, and it never fails. This is much preferred over the re-try scheme, because the re-try scheme would introduce a lot of non-deterministic timings into my program,Oh sure, happy to not help, any time you want.Thanks for the effort though
Bookmarks