[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-700754-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-700754-en":130,"doc-similar-700754":182},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","pic32-flash-programming-specification-10-device-overview","PIC32 Flash Programming Specification - 1.0 DEVICE OVERVIEW","","PIC32 Flash Programming Specification defines how to program Flash memory on PIC32 32-bit microcontrollers. It is written for developers of external programmer tools, describing the internal Flash programming operations and the special function registers used to control programming. The specification outlines overall programming steps and the complete workflow, including connecting to the device, comparing EJTAG versus ICSP interfaces, entering enhanced ICSP modes, checking device status, erasing, writing flash rows, executing download procedures, and verifying results such as checksum and device configuration identifiers.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/pic32-flash-programming-specification-10-device-overview/700754/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/pic32-flash-programming-specification-10-device-overview/700754.png","ImageObject",300,407,{"name":42,"@type":43},"Dewi_Sukmawati","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-17","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is this PIC32 Flash Programming Specification intended for?","Question",{"text":62,"@type":63},"It defines the Flash programming specification for the PIC32 family and guides developers of external programmer tools.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which programming interfaces are provided for PIC32 devices?",{"text":67,"@type":63},"PIC32 devices offer 2-wire ICSP and 4-wire JTAG interfaces for communication with external programmer tools.",{"name":69,"@type":60,"acceptedAnswer":70},"What are key considerations for devices with dual Flash panels and dual boot regions?",{"text":71,"@type":63},"Developers must ensure the SWAP bit (NVMCON[7]) is set correctly, handle aliasing of boot memory during checksum calculations, and for certain PIC32MK devices use the Erase/Retry feature when page erase attempts fail.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},700754,1794520574,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":115,"preview_urls":145},962094243415,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","PIC32  \nPIC32 Flash Programming Specification  \n1.0 DEVICE OVERVIEW  \nThis document defines the Flash programming specification for the PIC32 family of 32-bit microcontrollers.  \nThis programming specification is designed to guide developers of external programmer tools. Customers who are developing applications for PIC32 devices should use development tools that already provide support for device programming.  \nThe major topics of discussion include:  \n• Section 1 .0 “Device Overview”  \n• Section 2.0 “Programming Overview”  \n• Section 3.0 “Programming Steps”  \n• Section 4.0 “Connecting to the Device”  \n• Section 5 .0 “EJTAG vs. ICSP”  \n• Section 6.0 “Pseudo Operations”  \n• Section 7.0 “Entering 2-Wire Enhanced ICSP Mode”  \n• Section 8 .0 “Check Device Status”  \n• Section 9.0 “Erasing the Device”  \n• Section 10.0 “Entering Serial Execution Mode”  \n• Section 11.0 “Downloading the Programming Executive (PE)”  \n• Section 12.0 “Downloading a Data Block”  \n• Section 13.0 “Initiating a Page Erase”  \n• Section 14.0 “Initiating a Flash Row Write”  \n• Section “”  \n• Section 16.0 “Exiting Programming Mode”  \n• Section 17.0 “The Programming Executive”  \n• Section 18 .0 “Checksum”  \n• Section 19.0 “Configuration Memory and Device ID”  \n• Section 20 .0 “TAP Controllers”  \n• Section 21.0 “AC/DC Characteristics and Timing Requirements”  \n• Appendix A: “PIC32 Flash Memory Map”  \n• Appendix B: “Hex File Format”  \n• Appendix C: “Device IDs”  \n• Appendix D: “Revision History”  \n2.0 PROGRAMMING OVERVIEW  \nWhen in development of a programming tool, it is necessary to understand the internal Flash program operations of the target device and the Special Function Registers (SFRs) used to control Flash programming, as these same operations and registers are used by an external programming tool and its software. These operations and control registers are described in the “Flash Program Memory” chapter in the specific device data sheet, and the related “PIC32 Family Reference Manual” section. It is highly recommended that these documents be used in conjunction with this programming specification. An external tool programming setup consists of an external programmer tool and a target PIC32 device. Figure 2-1 illustrates a typical programming setup. The programmer tool is responsible for executing necessary programming steps and completing the programming operation.  \nFIGURE 2-1: PROGRAMMING SYSTEM  \nSETUP  \nTarget PIC32 Device  \n􀂤 2007-2021 Microchip Technology Inc. DS60001145AA-page 1  \nPIC32  \n2.1 Devices with Dual Flash Panel and Dual Boot Regions  \nThe PIC32MKXXXXXXD/E/F/K/L/M and PIC32MZ families of devices incorporate several features useful for field (self) programming of the device. These features include dual Flash panels with dual boot regions, an aliasing scheme for the boot regions allowing automatic selection of boot code at start-up and a panel swap feature for Program Flash. The two Flash panels and their associated boot regions can be erased and programmed separately. Refer to the  \nSection 48. “Memory Organization and Permissions” (DS60001214) of the “PIC32 Family Reference Manual” for a detailed explanation of these features.  \nA development tool used for production programming will not be concerned about most of these features with the following exceptions:  \n• Ensuring the SWAP bit (NVMCON[7]) is in the proper setting. The default setting is‘0’for no swap of panels. The development tool should assume the default setting when generating source files for the programming tool.  \n• Proper handling of the aliasing of the boot memory in the checksum calculation. The aliased sections will be duplicates of the fixed sections. See Section 18 .0 “Checksum” for more information on checksum calculations with aliased regions  \n• For PIC32MK devices, using the Erase/Retry feature when an attempt to erase a Flash page fails and needs to be retried. See Section 13 .0 “Initiating a Page Erase” for more information.  \n2.2 Programming Interfaces  \nAll P","cbCaiec9GpoL3LPq","https://ap.wps.com/l/cbCaiec9GpoL3LPq","pdf",847258,84,"English","# 1.0 DEVICE OVERVIEW\n# 2.0 PROGRAMMING OVERVIEW\n## 2.1 Devices with Dual Flash Panel and Dual Boot Regions\n## 2.2 Programming Interfaces\n## 2.3 Enhanced JTAG (EJTAG)\n## 2.4 Data Sizes\n# 3.0 PROGRAMMING STEPS","[{\"question\":\"What is this PIC32 Flash Programming Specification intended for?\",\"answer\":\"It defines the Flash programming specification for the PIC32 family and guides developers of external programmer tools.\"},{\"question\":\"Which programming interfaces are provided for PIC32 devices?\",\"answer\":\"PIC32 devices offer 2-wire ICSP and 4-wire JTAG interfaces for communication with external programmer tools.\"},{\"question\":\"What are key considerations for devices with dual Flash panels and dual boot regions?\",\"answer\":\"Developers must ensure the SWAP bit (NVMCON[7]) is set correctly, handle aliasing of boot memory during checksum calculations, and for certain PIC32MK devices use the Erase/Retry feature when page erase attempts fail.\"}]","PIC32 Flash Programming Specification - 1.0 DEVICE OVERVIEW | PDF",212,[146,150,154,158,162,166,170,174,178],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/296e2664e2469e08afdf064e471fb296.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/ff45a963cbd146b8e1c09b1eea1fd815.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e4975401893d028c348877a618e8229b.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/ba2a0a03c3634366726c7793e1fa6698.webp",980,1268,{"page_no":96,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f80a85929e0751f58c547a2e01f3d58b.webp",979,1267,{"page_no":101,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6fdf804ed440e6d5b0234acc0f90e28f.webp",978,1265,{"page_no":105,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1e1595db968080b1293a3f8b85dbf97c.webp",977,1264,{"page_no":110,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e9d0b58a9c9f5f2e4d568fe0d66eab6f.webp",976,1263,{"page_no":115,"url":179,"width":180,"height":181},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b0746608880ea6f518b31d62e2827f70.webp",975,1261,{"list":183,"token":11},[184,190,196,202,208,214,220,226,232,238],{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":30,"category_name":29,"create_tm":189},700752,"PIC32 Flash Programming Specification - DS60001145AB-1 - Programming Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012035043/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=nyAVkh%2B6tHyRJqyH9RRPq6YQtbY%3D","pic32-flash-programming-specification-ds60001145ab-1-programming-guide",1794520573,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":115,"category_name":29,"create_tm":195},562630,"dsPIC33F/PIC24H Flash Programming Specification - 1.0 Device Overview - Programming specification overview for dsPIC33F/ PIC24H","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947820643/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=rHlrMDgsSn%2F1c1Mc3ny08GnuIPc%3D","dspic33fpic24h-flash-programming-specification-10-device-overview-programming-specification-overview-for-dspic33f-pic24h",1791809134,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":30,"category_name":29,"create_tm":201},691611,"Elprotronic-Programmers - Fast and Reliable Production - Flash and Gang Programmers for MCUs and MPUs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002050211/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=sjolXv5%2F8pG33wJKlAbRvAzyEUg%3D","elprotronic-programmers-fast-and-reliable-production-flash-and-gang-programmers-for-mcus-and-mpus",1794175374,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":30,"category_name":29,"create_tm":207},692131,"PIC18FXXK80 FAMILY - Flash Microcontroller Programming Specification - Device Overview - 1.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002904565/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=95dzb4CjHOSLRLe8fFc1jNrhDXg%3D","pic18fxxk80-family-flash-microcontroller-programming-specification-device-overview-10",1794179578,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":110,"category_name":29,"create_tm":213},696688,"MPLAB Harmony Integrated Software Framework - v1.11 - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009773866/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=kpVmQQtIJUVJ7blu1wtYeqAx07M%3D","mplab-harmony-integrated-software-framework-v111-overview",1794434390,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":33,"category_name":29,"create_tm":219},690248,"CY9B310T Series - 32-bit ARM Cortex-M3 FM3 Microcontroller","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002604216/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=kBo9Gy6yvGauC08C1FXg5%2BAXzes%3D","cy9b310t-series-32-bit-arm-cortex-m3-fm3-microcontroller",1794159481,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":33,"category_name":29,"create_tm":225},689862,"Atmel 8-bit AVR Microcontroller with 2/4/8K Bytes In-System Programmable Flash - ATtiny25/45/85 Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002163104/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=6hgbJtRB4w4NKIurUfXa%2Fc7TDEE%3D","atmel-8-bit-avr-microcontroller-with-248k-bytes-in-system-programmable-flash-attiny254585-datasheet",1794129868,{"doc_id":227,"doc_title":228,"file_type":137,"home_preview_img_url":229,"slug":230,"view_count":96,"category_name":29,"create_tm":231},562815,"SPI Flash Programmer - Schematic Diagram","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947833800/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=2s4sJy4TRyKD4fIFLc1SxUx0EjM%3D","spi-flash-programmer-schematic-diagram",1791809785,{"doc_id":233,"doc_title":234,"file_type":137,"home_preview_img_url":235,"slug":236,"view_count":110,"category_name":29,"create_tm":237},562621,"PIC18F6XJXX/8XJXX - Flash Microcontroller Programming Specification - 1.0 Device Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947820199/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=92N5qjgaAgJF4M0yfkWq0jyhh3E%3D","pic18f6xjxx8xjxx-flash-microcontroller-programming-specification-10-device-overview",1791809112,{"doc_id":239,"doc_title":240,"file_type":137,"home_preview_img_url":241,"slug":242,"view_count":243,"category_name":29,"create_tm":244},562447,"STM8S103K3 STM8S103F3 STM8S103F2 - Product description","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947811627/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=5WD2dhO%2FHrP%2BMcWSxPeJNP1sntM%3D","stm8s103k3-stm8s103f3-stm8s103f2-product-description",14,1791808649]