| Electronic Components Datasheet Search |
|
PIC24FJ64GA Datasheet(PDF) 17 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC24FJ64GA Datasheet(HTML) 17 Page - Microchip Technology |
|
17 / 52 page ![]() © 2008 Microchip Technology Inc. DS39768D-page 17 PIC24FJXXXGA0XX TABLE 3-4: SERIAL INSTRUCTION EXECUTION FOR CHIP ERASE Command (Binary) Data (Hex) Description Step 1: Exit the Reset vector. 0000 0000 0000 000000 040200 000000 NOP GOTO 0x200 NOP Step 2: Set the NVMCON to erase all program memory. 0000 0000 2404FA 883B0A MOV #0x404F, W10 MOV W10, NVMCON Step 3: Set TBLPAG and perform dummy table write to select what portions of memory are erased. 0000 0000 0000 0000 0000 0000 200000 880190 200000 BB0800 000000 000000 MOV #<PAGEVAL>, W0 MOV W0, TBLPAG MOV #0x0000, W0 TBLWTL W0,[W0] NOP NOP Step 4: Initiate the erase cycle. 0000 0000 0000 A8E761 000000 000000 BSET NVMCON, #WR NOP NOP Step 5: Repeat this step to poll the WR bit (bit 15 of NVMCON) until it is cleared by the hardware. 0000 0000 0000 0000 0000 0001 0000 040200 000000 803B02 883C22 000000 <VISI> 000000 GOTO 0x200 NOP MOV NVMCON, W2 MOV W2, VISI NOP Clock out contents of the VISI register. NOP |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |