[Next]
[Previous] [Up] [Top] [Contents] [Back]Chapter 5 Programming Considerations
The local EPROM space runs from $000000 through $0FFFFF, where the address locations $000000-$000007 must contain the initial Supervisor Stack Pointer and Program Counter. The local SRAM space runs from $100000 through $1FFFFF, where the first four bytes are assigned to the mailbox. The mailbox can interrupt or reset the local processor.
The I/O devices are located in 1 MByte memory blocks from $300000-$C00000. The 8-bit peripheral devices only respond at odd addresses. Access to even addresses in the I/O device space will have no effect for write accesses and will return '$FF' on read.
Note that all devices are repeated in the memory map a number of times. The number of times depend on their own size and the space they occupy in the memory map.
Address | Device |
---|---|
$000000 $0FFFFF |
Local EPROM Space 1 MByte (max) |
$100000 $1FFFFF |
Local SRAM Space 1 MByte (max) |
$200000 $2FFFFF |
Reserved |
$300000 $3FFFFF |
Serial Interface |
$400000 $4FFFFF |
DIP Switch Register |
$500000 $5FFFFF |
Timer Interrupt / CAN Type / ID7 Register |
$600000 $6FFFFF |
Module ID |
$700000 $7FFFFF |
Interrupter |
$800000 $8FFFFF |
CAN Controller Channel 0 |
$900000 $9FFFFF |
CAN Controller Channel 1 |
$A00000 $BFFFFF |
User LEDs and RSTOUT |
$C00000 $FFFFFF |
Reserved |
[Next]
[Previous] [Up] [Top] [Contents] [Back]