Need help: 18f27K42 vs 18f25k42
Hi. I have a problem in usage of E2ROM and FLASH, maybe somebody knows solution.
I have transferred old project from 18f25k22 to 18f25k42. And this change was 100% successfull. Everything works like before.
In next step I used 18f27k42. Difference between 18f27k42 and 18f25k42 is only in memory size (RAM, EEPROM, FLASH). And some settings which are result of these differences. In my opinion, of course.
BUT the same program with 18f27k42 does not work properly about self re-programming of FLASH. And propably EEPROM either. Part of data is memorized in memory, part not. For example when filling FLASH, 64 bytes are writing properly and next 64 b are empty, and so on.
In previous family (k22) and earlier families I have NEVER similar problems. Members of the same family never have any mechanism working different. I mean, to this time using of "bigger" member of the family was problemless. Of course I remember about registers for addressing of higher parts of the memory.
Maybe I missed any info in PDF? Is usage of re-writable ROM in 18f27K42 different than in 18f25k42 ???
my config today: Dell Optiflex i7 4-core, win7 prof x64, 12GB RAM, SSD, Mplab X 4.10 (or 4.20 but only if necessary) + ICD4, PIC18F27K42, assembly only