I use atmega 328pb and I have problem with memory, if I touch somewhere around xtal0/1 and oscillator then CPU stop working (it's clear because capacitance of finger etc..), but it erase whole memory.
According manual it seems it can be connected to http://ww1.microchip.com/downloads/en/DeviceDoc/40001906A.pdf (32.8.3) Chip Erase section. It is really annoying behaviour, is it any way how to protect to erase memory if I touch to oscillator, or only possible way use varnish?
Picture with memory dump is from pololu a-start 328pb, I was able to simulate similar behaviour on pololu board if I "played" with oscilloscope probe around ceramic oscillator, there were not erased whole memory but only first four lines. It's blink program.
It's easy to fix by ISP programmer but, who from customer has ISP programmer :(.
Thank you very much.