I know what LVP does. My question was more to why would you want/need the IDE to issue a warning if it's enabled, like the last few posts were complaining about.
Thanks for correcting my error. Seems like it enables entry into programming, not puts you into it.Enabling LVP doesn't put you in any programming mode.
LVP simply means you don't require a HV (> VDD) on the MCLR signal to enable programming.
I've probably never seen the warning because I turn it OFF automatically
I used to routinely turn it off too, but lately I've been changing that habit.
It seems that many of Microchips development boards that come with an onboard debugger/programmer (like the Curiosity LPC and Nano boards) require LVP, as does the SNAP programmer.
As you say, since you can't turn it off without HVP then it does no harm in trying, but you'll get errors in the mismatched config settings.
I have no clue anymore.The Nano boards have an on-board programmer/processor presumably if you've not got LVP set to ON, then that processor does it for you?
The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x6ff configuration memory configuration memory Address: 300006 Expected Value: 1 Received Value: 5 Failed to program device