PIC16F193X/LF193X
DS41360A-page 2
Advance Information
2008 Microchip Technology Inc.
Table of Contents
1.0
Overview ..................................................................................................................................................................................... 1
1.1
Hardware Requirements ......................................................................................................................................................... 1
1.1.1
High-Voltage ICSP Programming ................................................................................................................................ 1
1.1.2
Low-Voltage ICSP Programming ................................................................................................................................. 1
1.2
Pin Utilization .......................................................................................................................................................................... 1
2.0
Device Pinouts ............................................................................................................................................................................ 3
3.0
Memory Map ............................................................................................................................................................................... 8
3.1
User ID Location ..................................................................................................................................................................... 9
3.2
Device ID ................................................................................................................................................................................ 9
3.3
Configuration Words ............................................................................................................................................................. 10
3.4
Calibration Words ................................................................................................................................................................. 10
4.0
Program/Verify Mode ................................................................................................................................................................ 13
4.1
High Voltage Program/Verify Mode Entry and Exit ............................................................................................................... 13
4.1.1
VPP – First Entry Mode ............................................................................................................................................... 13
4.1.2
VDD – First Entry Mode .............................................................................................................................................. 13
4.1.3
Program/Verify Mode Exit .......................................................................................................................................... 13
4.2
Low-Voltage Programming (LVP) Mode ............................................................................................................................... 13
4.3
Program/Verify Commands ................................................................................................................................................... 14
4.3.1
Load Configuration ..................................................................................................................................................... 15
4.3.2
Load Data For Program Memory ............................................................................................................................... 15
4.3.3
Load Data For Data Memory ...................................................................................................................................... 16
4.3.4
Read Data From Program Memory ............................................................................................................................ 16
4.3.5
Read Data From Data Memory .................................................................................................................................. 17
4.3.6
Increment Address ..................................................................................................................................................... 17
4.3.7
Reset Address ............................................................................................................................................................ 18
4.3.8
Begin Internally Timed Programming ......................................................................................................................... 18
4.3.9
Begin Externally Timed Programming ........................................................................................................................ 19
4.3.10 End Externally Timed Programming .......................................................................................................................... 19
4.3.11 Bulk Erase Program Memory ..................................................................................................................................... 20
4.3.12 Bulk Erase Data Memory ........................................................................................................................................... 20
4.3.13 Row Erase Program Memory ..................................................................................................................................... 21
5.0
Programming Algorithms ........................................................................................................................................................... 22
6.0
Code Protection ......................................................................................................................................................................... 30
6.1
Program Memory .................................................................................................................................................................. 30
6.2
Data Memory ........................................................................................................................................................................ 30
7.0
Hex File Usage .......................................................................................................................................................................... 30
7.1
Configuration Word ............................................................................................................................................................... 30
7.2
Device ID and Revision ......................................................................................................................................................... 30
7.3
Data EEPROM ...................................................................................................................................................................... 30
Checksum Computation ........................................................................................................................................................ 31
7.4.1
Code Protection Disabled .......................................................................................................................................... 31
7.4.2
Code Protection Enabled ........................................................................................................................................... 32
8.0
Electrical Specifications............................................................................................................................................................. 33
8.1
AC Timing Diagrams ............................................................................................................................................................. 34