16-bit word PIC18 architecture

18f4550.jpg

Support List
 DS39576B
  PIC18F242 U PIC18F248 U PIC18F252 T PIC18F258 U
  PIC18F442 U PIC18F448 U PIC18F452 U PIC18F458 U

 DS39592E
  PIC18F1220 U PIC18F1320 T PIC18F2220 U PIC18F2320 T
  PIC18F4220 U PIC18F4320 U

 DS39622K
  PIC18F2221 U PIC18F2321 U PIC18F2410 U PIC18F2420 U
  PIC18F2423 U PIC18F2450 U PIC18F2455 U PIC18F2458 U
  PIC18F2480 U PIC18F2510 U PIC18F2515 U PIC18F2520 U
  PIC18F2523 U PIC18F2525 U PIC18F2550 T PIC18F2553 U
  PIC18F2580 U PIC18F2585 U PIC18F2610 U PIC18F2620 U
  PIC18F2680 U PIC18F2682 U PIC18F2685 U PIC18F4221 U
  PIC18F4321 U PIC18F4410 U PIC18F4420 U PIC18F4423 U
  PIC18F4450 U PIC18F4455 U PIC18F4458 U PIC18F4480 U
  PIC18F4510 U PIC18F4515 U PIC18F4520 T PIC18F4523 U
  PIC18F4525 U PIC18F4550 T PIC18F4553 U PIC18F4580 U
  PIC18F4585 U PIC18F4610 U PIC18F4620 T PIC18F4680 U
  PIC18F4682 U PIC18F4685 T

 DS39752A (4)
  PIC18F1230 U PIC18F1330 T PIC18F1330-ICD U

 DS41398B (1)
  PIC18F23K22 U PIC18F24K22 U PIC18F25K22 T PIC18F26K22 U
  PIC18F43K22 U PIC18F44K22 U PIC18F45K22 U PIC18F46K22 U

 DS41398B (7)
  PIC18LF23K22 U PIC18LF24K22 U PIC18LF25K22 U PIC18lF26K22 U
  PIC18LF43K22 U PIC18LF44K22 U PIC18LF45K22 U PIC18LF46K22 U

 DS39972B (2)
  PIC18F66K80 U PIC18F46K80 U PIC18F26K80 T PIC18F65K80 U
  PIC18F45K80 T PIC18F25K80 U

 DS39972B (7)
  PIC18LF66K80 U PIC18LF46K80 U PIC18LF26K80 U PIC18LF65K80 U
  PIC18LF45K80 U PIC18LF25K80 U

 DS41630B (1)
  PIC18F45K50 U PIC18F25K50 T PIC18F24K50 U PIC18F26K50 U
  PIC18F46K50 U

 DS41342E (3)
  PIC18F13K50 T PIC18F14K50 T

 DS41342E (7)
  PIC18LF13K50 U PIC18LF14K50 U
  
 DS30500A
  PIC18F2331 U PIC18F2431 T PIC18F4331 U PIC18F4431 U

 DS39687E (3)
  PIC18F24J10 U PIC18F25J10 U PIC18F44J10 U PIC18F45J10 U
  PIC18F25J11 U PIC18F24J11 U PIC18F26J11 U PIC18F45J11 U
  PIC18F44J11 U PIC18F46J11 U PIC18F24J50 U PIC18F25J50 U
  PIC18F26J50 T PIC18F44J50 U PIC18F45J50 U PIC18F46J50 U
  PIC18F26J13 U PIC18F27J13 U PIC18F46J13 U PIC18F47J13 U
  PIC18F26J53 U PIC18F27J53 U PIC18F46J53 U PIC18F47J53 U

 DS39687E (7)
  PIC18LF24J10 U PIC18LF25J10 U PIC18LF44J10 U PIC18LF45J10 U
  PIC18LF25J11 U PIC18LF24J11 U PIC18LF26J11 U PIC18LF45J11 U
  PIC18LF44J11 U PIC18LF46J11 U PIC18LF24J50 U PIC18LF25J50 U
  PIC18LF26J50 U PIC18LF44J50 U PIC18LF45J50 U PIC18LF46J50 U
  PIC18LF26J13 U PIC18LF27J13 U PIC18LF46J13 U PIC18LF47J13 U
  PIC18LF26J53 U PIC18LF27J53 T PIC18LF46J53 U PIC18LF47J53 U

 DS30480C (5 and 6)
  PIC18F2439  U PIC18F2539  U PIC18F4439  U PIC18F4539  U
  PIC18LF2439 U PIC18LF2539 T PIC18LF4439 U PIC18LF4539 U

 DS41357B (1)
  PIC18F13K22 U PIC18F14K22 T

 DS41357B (7)
  PIC18LF13K22 U PIC18LF14K22 U

 DS41297F (3)
  PIC18F23K20 U PIC18F24K20 U PIC18F25K20 U PIC18F26K20 T
  PIC18F43K20 U PIC18F44K20 U PIC18F45K20 U PIC18F46K20 U

 T=TESTED
 U=UNTESTED
  1. These devices must be flashed with VPP at 9V. The simplest means to do this on a Velleman K8048 is to either connect a 9V1 zener diode or 6K8 resistor between pins 4 and 8 on the 8-pin PIC socket.
  2. Only tested in LVP(KEY) mode with VDD=3V3.
  3. Can only be programmed in LVP(PGM) or LVP(KEY) mode with VDD=3V3.
  4. Needs to be power cycled to enter PROG. mode after RUN on the Velleman K8048.
  5. DS30480C devices share their device ids with DS39576B devices and require device selection.
  6. The sample PIC18LF2539 device has 32KB usable flash with the topmost 8KB flash programmed with the ProMPT Eval Board kernel firmware. This firmware is erasable and the space re-usable and it is not restored with this application.
  7. These devices are not compatible with the Velleman K8048 and should be programmed in LVP mode at 3V3.
Sample Data

18f2320.jpg

 PIC18F252:
  [000000] [PROGRAM]     4000 WORDS (0200 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     2700
  [300002] [CONFIG2]     0f0f
  [300004] [CONFIG3]     0100
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     c00f
  [30000A] [CONFIG6]     e00f
  [30000C] [CONFIG7]     400f
  [3FFFFE] [DEVICEID]    0407 DEV:020 REV:07 PIC18F252
  [F00000] [DATA]        0100 BYTES

 PIC18LF2539 (SAME DEVID AS PIC18F252):
  [000000] [PROGRAM]     4000 WORDS (0200 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF .
  [200001] [IDLOCATION2] FF .
  [200002] [IDLOCATION3] FF .
  [200003] [IDLOCATION4] FF .
  [200004] [IDLOCATION5] FF .
  [200005] [IDLOCATION6] FF .
  [200006] [IDLOCATION7] FF .
  [200007] [IDLOCATION8] FF .
  [300000] [CONFIG1]     2200
  [300002] [CONFIG2]     0E0F
  [300004] [CONFIG3]     0100
  [300006] [CONFIG4]     0081
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    0407 DEV:020 REV:07 PIC18F252
  [F00000] [DATA]        0100 BYTES

 PIC18F1320:
  [000000] [PROGRAM]     1000 WORDS (0080 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     0400
  [300002] [CONFIG2]     1f0f
  [300004] [CONFIG3]     8000
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     c003
  [30000A] [CONFIG6]     e003
  [30000C] [CONFIG7]     4003
  [3FFFFE] [DEVICEID]    07C4 DEV:03E REV:04 PIC18F1320
  [F00000] [DATA]        0100 BYTES

 PIC18F2550:
  [000000] [PROGRAM]     4000 WORDS (0200 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     0400
  [300002] [CONFIG2]     0001
  [300004] [CONFIG3]     8100
  [300006] [CONFIG4]     00c4
  [300008] [CONFIG5]     c00f
  [30000A] [CONFIG6]     e00f
  [30000C] [CONFIG7]     400f
  [3FFFFE] [DEVICEID]    1242 DEV:092 REV:02 PIC18F2550
  [F00000] [DATA]        0100 BYTES

 PIC18F2320:
  [000000] [PROGRAM]     1000 WORDS (0080 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1] 0100
  [300002] [CONFIG2] 1e0c
  [300004] [CONFIG3] 8300
  [300006] [CONFIG4] 0081
  [300008] [CONFIG5] c00f
  [30000A] [CONFIG6] e00f
  [30000C] [CONFIG7] 400f
  [3FFFFE] [DEVICEID]    0504 DEV:028 REV:04 PIC18F2320
  [F00000] [DATA]        0100 BYTES

 PIC18F4550:
  [200000] [IDLOCATION1] 00
  [200001] [IDLOCATION2] 01
  [200002] [IDLOCATION3] 02
  [200003] [IDLOCATION4] 03
  [200004] [IDLOCATION5] 04
  [200005] [IDLOCATION6] 05
  [200006] [IDLOCATION7] 06
  [200007] [IDLOCATION8] 07
  [300000] [CONFIG1] 0000
  [300002] [CONFIG2] 1E18
  [300004] [CONFIG3] 8000
  [300006] [CONFIG4] 0081
  [300008] [CONFIG5] C00F
  [30000A] [CONFIG6] E00F
  [30000C] [CONFIG7] 400F
  [3FFFFE] [DEVICEID] 1202 DEV:1200 (12:0) REV:2 PIC18F4550

 PIC18F25K22:
  [000000] [PROGRAM]     4000 WORDS (0200 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     3300
  [300002] [CONFIG2]     1C19
  [300004] [CONFIG3]     B500
  [300006] [CONFIG4]     0080
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    5545 DEV:2AA REV:5 PIC18F25K22
  [F00000] [DATA]        0100 BYTES

 PIC18F25K50:
  [000000] [PROGRAM]     4000 WORDS (0200 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     2500
  [300002] [CONFIG2]     3F5F
  [300004] [CONFIG3]     D300
  [300006] [CONFIG4]     00A5
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    5C21 DEV:2E1 REV:01 PIC18F25K50
  [F00000] [DATA]        0100 BYTES

 PIC18F26K80:
  [000000] [PROGRAM]     8000 WORDS
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     085D
  [300002] [CONFIG2]     7F7F
  [300004] [CONFIG3]     8900
  [300006] [CONFIG4]     0091
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    6124 DEV:6120 (61:1) REV:4 PIC18F26K80

 PIC18F14K50:
  [000000] [PROGRAM]     2000 WORDS
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     2700
  [300002] [CONFIG2]     1F3F
  [300004] [CONFIG3]     8800
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C003
  [30000A] [CONFIG6]     E003
  [30000C] [CONFIG7]     4003
  [3FFFFE] [DEVICEID]    4768 DEV:4760 (47:3) REV:8 PIC18F14K50

 PIC18LF27J53:
  [000000] [PROGRAM]    10000 WORDS
  [01FFF8] [CONFIG1]     F7FF
  [01FFFA] [CONFIG2]     FFFF
  [01FFFC] [CONFIG3]     FFFF
  [01FFFE] [CONFIG4]     FFFF
  [3FFFFE] [DEVICEID]    5A61 DEV:5A60 (5A:3) REV:1 PIC18LF27J53

 PIC18F4520:
  [000000] [PROGRAM]     4000 WORDS
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     0700
  [300002] [CONFIG2]     1F1F
  [300004] [CONFIG3]     8300
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    1087 DEV:1080 (10:4) REV:7 PIC18F4520

 PIC18F4620:
  [000000] [PROGRAM]     8000 WORDS
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     0700
  [300002] [CONFIG2]     1F1F
  [300004] [CONFIG3]     8300
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    0C03 DEV:C00 (C:0) REV:3 PIC18F4620

 PIC18F2431:
  [000000] [PROGRAM]     2000 WORDS
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     CF00
  [300002] [CONFIG2]     3F0F
  [300004] [CONFIG3]     9D3C
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    08C2 DEV:8C0 (8:6) REV:2 PIC18F2431

 PIC18F1330:
  [000000] [PROGRAM]     1000 WORDS (0080 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF
  [200001] [IDLOCATION2] FF
  [200002] [IDLOCATION3] FF
  [200003] [IDLOCATION4] FF
  [200004] [IDLOCATION5] FF
  [200005] [IDLOCATION6] FF
  [200006] [IDLOCATION7] FF
  [200007] [IDLOCATION8] FF
  [300000] [CONFIG1]     0700
  [300002] [CONFIG2]     1F1F
  [300004] [CONFIG3]     810E
  [300006] [CONFIG4]     0081
  [300008] [CONFIG5]     C003
  [30000A] [CONFIG6]     E003
  [30000C] [CONFIG7]     4003
  [3FFFFE] [DEVICEID]    1E22 DEV:0F1 REV:02 PIC18F1330
  [F00000] [DATA]        0080 BYTES

 PIC18F14K22:
  [000000] [PROGRAM]     2000 WORDS (0100 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF .
  [200001] [IDLOCATION2] FF .
  [200002] [IDLOCATION3] FF .
  [200003] [IDLOCATION4] FF .
  [200004] [IDLOCATION5] FF .
  [200005] [IDLOCATION6] FF .
  [200006] [IDLOCATION7] FF .
  [200007] [IDLOCATION8] FF .
  [300000] [CONFIG1]     2700
  [300002] [CONFIG2]     1F1F
  [300004] [CONFIG3]     8800
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C003
  [30000A] [CONFIG6]     E003
  [30000C] [CONFIG7]     4003
  [3FFFFE] [DEVICEID]    4F2A DEV:279 REV:0A PIC18F14K22
  [F00000] [DATA]        0100 BYTES

 PIC18F26K20:
  [000000] [PROGRAM]     8000 WORDS (0400 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF .
  [200001] [IDLOCATION2] FF .
  [200002] [IDLOCATION3] FF .
  [200003] [IDLOCATION4] FF .
  [200004] [IDLOCATION5] FF .
  [200005] [IDLOCATION6] FF .
  [200006] [IDLOCATION7] FF .
  [200007] [IDLOCATION8] FF .
  [300000] [CONFIG1]     0700
  [300002] [CONFIG2]     1F1F
  [300004] [CONFIG3]     8B00
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    202C DEV:101 REV:0C PIC18F26K20
  [F00000] [DATA]        0400 BYTES

 PIC18F4685:
  [000000] [PROGRAM]     C000 WORDS (0600 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF .
  [200001] [IDLOCATION2] FF .
  [200002] [IDLOCATION3] FF .
  [200003] [IDLOCATION4] FF .
  [200004] [IDLOCATION5] FF .
  [200005] [IDLOCATION6] FF .
  [200006] [IDLOCATION7] FF .
  [200007] [IDLOCATION8] FF .
  [300000] [CONFIG1]     0700
  [300002] [CONFIG2]     1F1F
  [300004] [CONFIG3]     8200
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C03F
  [30000A] [CONFIG6]     E03F
  [30000C] [CONFIG7]     403F
  [3FFFFE] [DEVICEID]    2761 DEV:13B REV:01 PIC18F4685
  [F00000] [DATA]        0400 BYTES
  
 PIC18F45K80:
  [000000] [PROGRAM]     4000 WORDS (0200 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF .
  [200001] [IDLOCATION2] FF .
  [200002] [IDLOCATION3] FF .
  [200003] [IDLOCATION4] FF .
  [200004] [IDLOCATION5] FF .
  [200005] [IDLOCATION6] FF .
  [200006] [IDLOCATION7] FF .
  [200007] [IDLOCATION8] FF .
  [300000] [CONFIG1]     085D
  [300002] [CONFIG2]     7F7F
  [300004] [CONFIG3]     8900
  [300006] [CONFIG4]     0091
  [300008] [CONFIG5]     C00F
  [30000A] [CONFIG6]     E00F
  [30000C] [CONFIG7]     400F
  [3FFFFE] [DEVICEID]    6166 DEV:30B REV:06 PIC18F45K80
  [F00000] [DATA]	 0400 BYTES
 
 PIC18F13K50:
  [000000] [PROGRAM]     1000 WORDS (0080 ROWS OF 0020 WORDS)
  [200000] [IDLOCATION1] FF .
  [200001] [IDLOCATION2] FF .
  [200002] [IDLOCATION3] FF .
  [200003] [IDLOCATION4] FF .
  [200004] [IDLOCATION5] FF .
  [200005] [IDLOCATION6] FF .
  [200006] [IDLOCATION7] FF .
  [200007] [IDLOCATION8] FF .
  [300000] [CONFIG1]     2700
  [300002] [CONFIG2]     1F3F
  [300004] [CONFIG3]     8800
  [300006] [CONFIG4]     0085
  [300008] [CONFIG5]     C003
  [30000A] [CONFIG6]     E003
  [30000C] [CONFIG7]     4003
  [3FFFFE] [DEVICEID]    4741 DEV:23A REV:01 PIC18F13K50
  [F00000] [DATA]        0100 BYTES

 PIC18F26J50:
  [000000] [PROGRAM]     8000 WORDS (0040 ROWS OF 0200 WORDS)
  [00FFF8] [CONFIG1]     F7FF
  [00FFFA] [CONFIG2]     FFFF
  [00FFFC] [CONFIG3]     FFFF
  [00FFFE] [CONFIG4]     FFFF
  [3FFFFE] [DEVICEID]    4C44 DEV:262 REV:04 PIC18F26J50