Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

DM163006 Datasheet(PDF) 39 Page - Microchip Technology

Part # DM163006
Description  High-Performance ROM-less Microcontrollers
PDF  320 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DM163006 Datasheet(HTML) 39 Page - Microchip Technology

Back Button DM163006 Datasheet HTML 35Page - Microchip Technology DM163006 Datasheet HTML 36Page - Microchip Technology DM163006 Datasheet HTML 37Page - Microchip Technology DM163006 Datasheet HTML 38Page - Microchip Technology DM163006 Datasheet HTML 39Page - Microchip Technology DM163006 Datasheet HTML 40Page - Microchip Technology DM163006 Datasheet HTML 41Page - Microchip Technology DM163006 Datasheet HTML 42Page - Microchip Technology DM163006 Datasheet HTML 43Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 320 page
background image
 2001 Microchip Technology Inc.
Advance Information
DS39541A-page 39
PIC18C601/801
4.0
MEMORY ORGANIZATION
There are two memory blocks in PIC18C601/801
devices. These memory blocks are:
• Program Memory
• Data Memory
Each block has its own bus so that concurrent access
can occur.
4.1
Program Memory Organization
PIC18C601/801 devices have a 21-bit program
counter that is capable of addressing up to 2 Mbyte of
external program memory space. The PIC18C601 has
an external program memory address space of 256
Kbytes. Any program fetch or TBLRD from a program
location greater than 256K will return all NOPs. The
PIC18C801 has an external program memory address
space of 2Mbytes. Refer to Section 5.0 (“External
Memory Interface”) for additional details.
The RESET vector address is mapped to 000000h and
the interrupt vector addresses are at 000008h and
000018h. PIC18C601/801 devices have a 31-level stack
to store the program counter values during subroutine
calls and interrupts. Figure 4-1 shows the program
memory map and stack for PIC18C601. Figure 4-2
shows the program memory map and stack for the
PIC18C801.
4.1.1
“BOOT RAM” PROGRAM MEMORY
PIC18C601/801 devices have a provision for configur-
ing the last 512 bytes of general purpose user RAM as
program memory, called “Boot RAM”. This is achieved
by configuring the PGRM bit in the MEMCON register
to ‘1’. (Refer to Section 5.0, “External Memory Inter-
face” for more information.) When the PGRM bit is ‘1’,
the RAM located in data memory locations 400h
through 5FFh (bank 4 through 5) is mapped to program
memory locations 1FFE00h to 1FFFFFh.
When configured as program memory, the Boot RAM is
to be used as a temporary “boot loader” for program-
ming purposes. It can only be used for program execu-
tion. A read from locations 400h to 5FFh in data
memory returns all ‘0’s. Any attempt to write this RAM
as data memory when PGRM = 1, does not modify any
of these locations. TBLWT instructions to these loca-
tions will cause writes to occur on the external memory
bus. The boot RAM program memory cannot be modi-
fied using TBLWT instruction. TBLRD instructions from
boot RAM will read memory located on the external
memory bus, not from the on-board RAM. Constants
that are stored in boot RAM are retrieved using the
RETLW
instruction.
The default RESET state (power-up) for the PGRM bit
is ‘0’, which configures 1.5K of data RAM and all pro-
gram memory as external. The PGRM bit can be set
and cleared in the software.
When execution takes place from “Boot RAM”, the
external system bus and all of its control signals will be
deactivated. If execution takes place from outside of
“Boot RAM”, the external system bus and all of its con-
trol signals are activated again.
Figure 4-3 and Figure 4-4 show the program memory
map and stack for PIC18C601 and PIC18C801, when
the PGRM bit is set.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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