PIC18F4585-H/PT Microchip Technology, PIC18F4585-H/PT Datasheet - Page 359

no-image

PIC18F4585-H/PT

Manufacturer Part Number
PIC18F4585-H/PT
Description
IC MCU 8BIT 48KB FLASH 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet

Specifications of PIC18F4585-H/PT

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
44-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
24.5
The overall structure of the code protection on the
PIC18 Flash devices differs significantly from other
PIC
The user program memory is divided into five blocks.
One of these is a boot block of 2 Kbytes. The remainder
of the memory is divided into four blocks on binary
boundaries.
FIGURE 24-5:
TABLE 24-3:
© 2007 Microchip Technology Inc.
300008h
300009h
30000Ah
30000Bh
30000Ch
30000Dh
Legend: Shaded cells are unimplemented.
®
devices.
File Name
*
Program Verification and
Code Protection
(PIC18F2585/4585)
Unimplemented in PIC18FX585 devices; maintain this bit set.
Unimplemented
Unimplemented
CONFIG5L
CONFIG5H
CONFIG6L
CONFIG6H
CONFIG7L
CONFIG7H
48 Kbytes
Boot Block
Read ‘0’s
Read ‘0’s
Block 0
Block 1
Block 2
SUMMARY OF CODE PROTECTION REGISTERS
MEMORY SIZE/DEVICE
CODE-PROTECTED PROGRAM MEMORY FOR PIC18F2585/2680/4585/4680
WRTD
Bit 7
CPD
(PIC18F2680/4680)
Unimplemented
Boot Block
64 Kbytes
EBTRB
WRTB
Read ‘0’s
Bit 6
CPB
Block 0
Block 1
Block 2
Block 3
PIC18F2585/2680/4585/4680
Preliminary
WRTC
Bit 5
000000h
0007FFh
000800h
003FFFh
004000h
007FFFh
008000h
00B7FFh
00C000h
00FFFFh
010000h
1FFFFFh
Address
Range
Each of the five blocks has three code protection bits
associated with them. They are:
• Code-Protect bit (CPn)
• Write-Protect bit (WRTn)
• External Block Table Read bit (EBTRn)
Figure 24-5 shows the program memory organization
for 48 and 64-Kbyte devices and the specific code
protection bit associated with each block. The actual
locations of the bits are summarized in Table 24-3.
Bit 4
EBTR3*
WRT3*
CP3*
Bit 3
(Unimplemented Memory Space)
Block Code Protection
CPB, WRTB, EBTRB
CP0, WRT0, EBTR0
CP1, WRT1, EBTR1
CP2, WRT2, EBTR2
CP3, WRT3, EBTR3
Controlled By:
EBTR2
WRT2
Bit 2
CP2
EBTR1
WRT1
Bit 1
CP1
DS39625C-page 357
EBTR0
WRT0
Bit 0
CP0

Related parts for PIC18F4585-H/PT