This is the sequence of events that happens.
1) VDD, VPP, ICSPDAT, ICSPCLK held low.
2) Raise VPP to 11.86V
3) Raise VDD to 4.9V
The chip should be in program/verify mode now. Correct?
4) Issue 16 cycles of ICSPCLK with ICSPDAT high. ~An ICSP "NOOP" to get the line running.
5) Issue "Load Configuration" to move the PC to 0x2000.
6) Issue "Bulk Program Erase" to clear the configuration registers and user memory.
7) Issue 7 or 9 "Increment Address"es to get to the Configuration Register or Calibration Word.
8) Issue "Read Data from Program Memory." This command always reads out zeroes. The manual said that this happens when CP is set.
Am I missing anything?
Also what does it mean when it says the write latches must be reset when programming 0x2000-0x2009? I gather I'm supposed to issue several LDFP commands with all 1s as data, but at what point do I reset the latches?