AN2184 Freescale Semiconductor / Motorola, AN2184 Datasheet - Page 29

no-image

AN2184

Manufacturer Part Number
AN2184
Description
MCF5272 Interrupt Service Routine for the Physical Layer Interface Controller
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
das -l -g -Xalign-value -tMCF5206eFN:simple -Xasm-debug-on -I@ -o
main.o target.s
dld -m2 -o main.elf main.o -lc > map
ddump -Rv -o try.mot main.elf
Once the main.elf file has been generated, it must be downloaded to the board via the BDM. Shown below
are all the files included in main.s.
Configuration.h is the file used for all the definition of the equates. In order to save space, only the
important and used equates are shown: i.e. the Initialization registers and the PLIC registers.
; Default initial register values
; Most of the values are not used for the PLIC evaluation
Module_Regs_Addr
Init_MBAR
Init_SCR
Init_PMR
UserProgram
Init_SPR
Init_SCFR
Init_PIVR
VBR_Init
SRValue
LED
; ADDRESSES OF SYSTEM CONFIGURATION REGISTERS - These are absolute addresses
Sys_Config_Regs
MBAR
SCR
SPR
PMR
SCFR
DIR
; OFFSETS TO MODULES - Offsets w.r.t. contents of MBAR (don't use directly, use
register names below)
Intc_Reg_Offset
Csel_Reg_Offset
Port_Reg_Offset
QSPI_Reg_Offset
PWM_Reg_Offset
DMA_Reg_Offset
Uart1_Reg_Offset
Uart2_Reg_Offset
SDRAM_Reg_Offset
Timer_Reg_Offset
PLIC_Reg_Offset
Ether_Reg_Offset
USB_Reg_Offset
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
Freescale Semiconductor, Inc.
For More Information On This Product,
MCF5272 Interrupt Service Routine
$00000400
Sys_Config_Regs+0
Sys_Config_Regs+4
Sys_Config_Regs+6
Sys_Config_Regs+8
Sys_Config_Regs+$C
Sys_Config_Regs+$10
$00300000
$10000001
$0000
$0
$00020000
$00E8
$1211
$40
$00000000
$2500
$3
Go to: www.freescale.com
$000
$040
$080
$0A0
$0C0
$0E0
$100
$140
$180
$200
$300
$800
$1000
;Absolute address of sers
;Module Base Add Register
;System Config Register
;System Protection Register
;Power Management Register
;Synthesized Clock Freq
;Device ID Register
;Offset of SIM's IntC
;Offset of SIM's CSel
;Offset of SIM's Ports
;Offset of QSPI module
;Offset of PWM module
;Offset of DMA module
;Offset of UART module
;Offset of UART module
;Offset of SDRAM module
;Offset of Timer module
;Offset of PLIC module
;Offset of Ethernet module
;Offset of USB module
;Addr. of on-chip reg
;MBAR value
;Initial value of PMR
;Put program in SDRAM
;Initial value of SPR
;Initial value of SCFR
;Initial value of PIVR
Appendix A Software Configuration
29

Related parts for AN2184