03.01.2015 Views

PIC12F629/675 EEPROM Memory Programming Specification

PIC12F629/675 EEPROM Memory Programming Specification

PIC12F629/675 EEPROM Memory Programming Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PIC12F629</strong>/<strong>675</strong><br />

2.3.1.1 LOAD CONFIGURATION<br />

After receiving this command, the program counter<br />

(PC) will be set to 0x2000. Then, by applying 16 cycles<br />

to the clock pin, the chip will load 14 bits in a “data<br />

word,” as described above, which will be programmed<br />

into the configuration memory. A description of the<br />

memory mapping schemes of the program memory for<br />

normal operation and Configuration mode operation is<br />

shown in Figure 2-1. After the configuration memory is<br />

entered, the only way to get back to the user program<br />

memory is to exit the Program/Verify mode by taking<br />

MCLR low (VIL).<br />

FIGURE 2-3:<br />

LOAD CONFIGURATION COMMAND<br />

GP1<br />

CLOCK<br />

1 2 3 4 5 6<br />

Tdly2<br />

1 2 3 4 5 15 16<br />

GP0<br />

DATA<br />

0 00 0 0 X X<br />

Tdly1<br />

strt_bit<br />

LSb<br />

Tset1<br />

Thld1<br />

MSb<br />

stp_bit<br />

2.3.1.2 LOAD DATA FOR PROGRAM<br />

MEMORY<br />

After receiving this command, the chip will load in a<br />

14-bit “data word” when 16 cycles are applied, as<br />

described previously. A timing diagram for the LOAD<br />

DATA command is shown in Figure 2-4.<br />

FIGURE 2-4:<br />

LOAD DATA FOR PROGRAM MEMORY COMMAND<br />

GP1<br />

CLOCK<br />

1 2 3 4 5 6<br />

Tdly2<br />

1 2 3 4 5 15 16<br />

GP0<br />

DATA<br />

0 1 0 0 X X<br />

Tset1<br />

Tdly1<br />

Thld1<br />

strt_bit<br />

LSb<br />

Tset1<br />

Thld1<br />

MSb<br />

stp_bit<br />

DS41173B-page 4 Preliminary © 2002 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!