MEVB QUICK START GUIDE
M68MPB16R3UM/D
3-7
7
Below is the MPBR3.ICD initialization macro program listing.
symbol SCIMCR FFA00
symbol SYNCR FFA04
symbol SYPCR FFA21
symbol CSBARBT FFA48
symbol CSORBT FFA4A
symbol START 00200
dmmw SCIMCR 40CF
Set module mapping to $FFF000-$FFFFFF
dmmb SYNCR 7F
Set system clock frequency to 16.78 MHz
dmmb SYPCR 04
Turn off software watchdog timer
dmmw CSBARBT 0003
Change CSBOOT block size to 64K
dmmw CSORBT 7830
Change wait state to zero
mdf6 START
Display program in PMM window
pk=0
Initialize CPU registers
a=AA
b=BB
e=0000
ix=0000
iy=0000
iz=0000
hr=0000
ir=0000
k=0000
sp=03fe
Initialize the stack pointer
sk=1
symbol SRAMBAH FFB04
symbol SRAMMCR FFB00
dmmb SRAMBAH 01
Set SRAM base address
dmmb SRAMMCR 00
Enable SRAM array
dmml 10000 4D6F746F
Check SRAM: Write Motorola 68HC16 Advanced MCUs
dmml 10004 726F6C61
dmml 10008 20363848
dmml 1000C 43313620
dmml 10010 41647661
dmml 10014 6E636564
dmml 10018 20204D43
dmml 1001C 55732020
dmml 10020 36384843
mdf3 10000
Display SRAM in DMM window
ip=START
Start entering your program here
Содержание MCU M68MPB916R3
Страница 6: ...CONTENTS vi M68MPB16R3UM D ...
Страница 10: ...GENERAL INFORMATION 1 4 M68MPB16R3UM D ...
Страница 32: ...MEVB QUICK START GUIDE 3 8 M68MPB16R3UM D ...
Страница 46: ...MEVB SUPPORT INFORMATION 4 14 M68MPB16R3UM D ...
Страница 52: ...MAPI SUPPORT INFORMATION 5 6 M68MPB16Y3UM D ...
Страница 62: ...SCHEMATIC DIAGRAMS 6 10 M68MPB16R3UM D ...