Hardware Reference
In-Depth Information
PageWinAddr 5 (SRecAddr % PPAGEWinSize) 1 PPAGEWinStart
(14.2)
where
PageNum is from $00 to $3F.
SRecAddr is the linear address used in S records.
PPAGEWinSize 5 16 kB (or 16384)
PageWinAddr is a number between $8000 and $BFFF.
PPAGEWinStart 5 $8000
5. Compute SRecAddr from PageNum and PageWinAddr as follows:
SRecAddr 5 PageNum 3 PPAGEWinSize 1 PageWinAddr 2 PPAGEWinStart
(14.3)
6. When addressing external memory, the highest 6 address bits appear on
XADDR19 , XADDR14 and the lowest 14 address bits appear on A13,A0.
S-Record Address
Range
PPAGE Value
A15 , A0
Page 1 A13 , A0
Memory Type
$00 , $2F
$30
$31
$32
$33
$34
$35
$36
$37
$38
$39
$3A
$3B
$3C
$3D
$3E
$3F
$00000 , $BFFFF
$C0000 , $C3FFF
$C4000 , $C7FFF
$C8000 , $CBFFF
$CC000 , $CFFFF
$D0000 , $D3FFF
$D4000 , $D7FFF
$D8000 , $DBFFF
$DC000 , $DFFFF
$E0000 , $E3FFF
$E4000 , $E7FFF
$E8000 , $EBFFF
$EC000 , $EFFFF
$F0000 , $F3FFF
$F4000 , $F7FFF
$F8000 , $FBFFF
$FC000 , $FFFFF
1
$0000 , $3FFF
$4000 , $7FFF
$8000 , $BFFF
$C000 , $FFFF
$0000 , $3FFF
$4000 , $7FFF
$8000 , $BFFF
$C000 , $FFFF
$0000 , $3FFF
$4000 , $7FFF
$8000 , $BFFF
$C000 , $FFFF
$0000 , $3FFF
$4000 , $7FFF
$8000 , $BFFF
$C000 , $FFFF
$00000 , $BFFFF
$C0000 , $C3FFF
$C4000 , $C7FFF
$C8000 , $CBFFF
$CC000 , $CFFFF
$D0000 , $D3FFF
$D4000 , $D7FFF
$D8000 , $DBFFF
$DC000 , $DFFFF
$E0000 , $E3FFF
$E4000 , $E7FFF
$E8000 , $EBFFF
$EC000 , $EFFFF
$F0000 , $F3FFF
$F4000 , $F7FFF
$F8000 , $FBFFF
$FC000 , $FFFFF
Off-chip memory
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
On-chip flash
Note: 1. Repetition of $0000 , $3FFF, $4000 , $3FFF, $8000 , $BFFF, and $C000 , $FFFF for 12 times.
Table 14.4 MC9S12DP256 PPAGE to S-record address mapping
Example 14.2
What are the PageNum and PageWinAddr for the SRecAddr of $E1003?
Solution: Apply Equations 14.1 and 14.2 as follows:
PageNum 5 $E1003/$4000 5 $38
PageWinAddr 5 ($E1003 % $4000) 1 $8000 5 $1003 1 $8000 5 $9003
 
Search WWH ::




Custom Search