- Joined Aug 15, 2019
I have an external CPU that outputs an active-low reset signal, and I want to use that to reset every component on my board. So, I connected this line to the MCLR pin on my PIC, and also to the RESET pins of my other chips.
The datasheet says that High Voltage Programming (HVP) or Low Voltage Programming (LVP) may be used.
- For high voltage, MCLR is elevated to VIHH (at least 8 volts), which causes the PIC to enter program mode
- For low voltage, MCLR is brought low to VIL, and a 32-bit key is passed to ICSPDAT, which causes the PIC to enter program mode
- How would I protect these components during programming, while still being able to use the MCLR pin as a reset during my application?
- Can I use LVP mode, and still be able to debug afterwards? Using this mode sounds much easier, but I'm still not entirely sure what I need to know to make it work.
- As long as I am able to debug, I don't prefer one mode over the other.
Sorry if I am asking dumb questions, this is my first project, and I'm paranoid about destroying memory chips, since the ones I am using are no longer in production.