
Firmware
Loading Application Software
PPC/PMC-8260/DS1
4 - 19
Basic Command
Programming
Procedure
Program all commands according to the following instruction.
1. Set necessary command parameters (see Table 14 “Primary Booter Com-
mands and Parameters” page 4-18)
2. Issue command by writing it to SYNC word
3. Poll SYNC word to obtain information on command execution status
For possible return codes, see the “Return Codes” section on page 4-19.
Return Codes
Possible return codes written by the firmware into the SYNC word are:
•
BUSY
Operation is ongoing.
•
.OK.
Command has been completed successfully.
•
!ERR
Error occurred. The ADRS field might give further error information. A value
other than 0 can be interpreted as offset relative to the beginning of the CSR
section where a zero-terminated error string is stored.
•
<Written SYNC word>
Primary booter either does not support the command or some error prevents the
read
Copies bytes set by parameter <CSIZ>
from memory window offset set by
parameter <COFF>.
COFF: Address of I/O buffer (offset
must be used relative to 01C00000
16
)
CWID: Source access width (must be
0)
CADR: Source address
CSIZ: Number of bytes to be trans-
ferred
CSPC: Destination address space
(must be 0)
writ
Copies bytes set by <CSIZ> from local
address <CADR> to memory window
offset <COFF>.
COFF: Address of I/O buffer (offset
must be used relative to 01C00000
16
)
CWID: Destination access width
(must be 0)
CADR: Destination address
CSIZ: Number of bytes to be trans-
ferred
CSPC: Destination address space
(must be 0)
Table 14:
Primary Booter Commands and Parameters (cont.)
Command
Description
Necessary Parameters
Содержание PPC/PMC-8260/DS1
Страница 1: ...PPC PMC 8260 DS1 Reference Guide P N 6806800B10A July 2006 ...
Страница 8: ...viii PPC PMC 8260 DS1 ...
Страница 22: ...xxii PPC PMC 8260 DS1 ...
Страница 26: ...xxvi PPC PMC 8260 DS1 ...
Страница 30: ...xxx PPC PMC 8260 DS1 ...
Страница 31: ...1 Introduction ...
Страница 32: ......
Страница 39: ...2 Installation ...
Страница 40: ......
Страница 53: ...3 Indicators and Connectors ...
Страница 54: ......
Страница 64: ...On Board Connectors Indicators and Connectors 3 12 PPC PMC 8260 DS1 ...
Страница 65: ...4 Firmware ...
Страница 66: ......
Страница 104: ...Code Examples Firmware 4 40 PPC PMC 8260 DS1 ...
Страница 105: ...5 Memory Map and Devices ...
Страница 106: ......
Страница 132: ...Resetting the Devices Memory Map and Devices 5 28 PPC PMC 8260 DS1 ...
Страница 133: ...6 TDM Channel Configuration ...
Страница 134: ......
Страница 145: ...A Troubleshooting ...
Страница 146: ......
Страница 148: ...A 4 PPC PMC 8260 DS1 ...
Страница 150: ...I 2 PPC PMC 8260 DS1 ...