21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Memory Space Expansion FunctionsMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER(3) Expansion mode 2In expansion mode 2, the data bank register (0000B16) goes effective. Figure 1.8.4 shows the data bankregister.Data bank registerb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetDBR 000B16 0016Bit symbol Bit nameDescriptionNothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”.R WOFS Offset bit 0: Not offset1: OffsetBSRBank selection bitsb5 b4 b3b5 b4 b30 0 0: Bank 0 0 0 1: Bank 10 1 0: Bank 2 0 1 1: Bank 31 0 0: Bank 4 1 0 1: Bank 51 1 0: Bank 6 1 1 1: Bank 7Nothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”.Figure 1.8.4. Data bank registerExpansion mode 2 (memory space = 4M bytes for PM15 = 1, PM14 = 1)00000160040016XXXXX16MicroprocessormodeSFR areaInternal RAM areaInternal area reservedExternal area External areaInternal area reservedInternal ROM area0400016080001628000164000016D000016YYYYY16Memoryexpansion modeSFR areaInternal RAM areaInternal area reservedFFFFF16Type No. Address XXXXX16 Address YYYYY16M30622M4 00FFF16 F800016M30620M8 02BFF16 F000016M30620MA02BFF16E800016M30620MC/EC 02BFF16E000016M30622M8/E8013FF16F000016M30622MA017FF16E800016M30622MC017FF16E000016M30624MG/FG 053FF16C000016CS3 (16K bytes)CS2 (128K bytes)CS1 (96K bytes)CS0Memory expansion mode:512K bytes x 7banks +256K bytesMicroprocessor mode:512K bytes x 8banksAddresses from 4000016 through BFFFF16Bank 7 in fetching a programA bank selected by use of the bank selectionbits in accessing dataAddresses from C000016 through FFFFF16Bank 7 invariablyBank number is output to CS3 to CS1Note 1: These memory maps show an instance in which PM13 is set to 0; but in the case of M30624MG/FG, theyshow an instance in which PM13 is set to 1.Note 2: The memory maps in single-chip mode are omitted.Figure 1.8.5. Memory location and chip select area in expansion mode 225

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!