Hot!NVMREG errata. Extra Info

Author
tonyyates
New Member
  • Total Posts : 26
  • Reward points : 0
  • Joined: 2009/03/16 04:05:35
  • Location: 0
  • Status: offline
2018/04/16 07:43:45 (permalink)
0

NVMREG errata. Extra Info

I am using a PIC18F65K40 and so am falling foul of the NVMREG errata. problem.  I even read the errata before I started and didn't notice anything relevant! AAAH!  Anyway after finally spotting the post mentioning it I found my code still did not work, my test code did, but not the production code.
Then I found that PMD0 bit 2 NVMMD was set to switch off the NVM module because I was not using it!!!
 
So to use TBLRD*  NVMCON1 bits 7:6 be 10 (Write to Flash) and ALSO PMD0 bit 2 NVMMD must be Off
#1

0 Replies Related Threads

    Jump to:
    © 2018 APG vNext Trial Version 4.5