Siemens ERTEC 200P-2 Manual page 39

Enhanced real-time ethernet controller
Table of Contents

Advertisement

are required for addressing the SPI device (distance between read command 1 and iden-
tifier = number of address bytes).
Once the identifier has been read, the information on the number of words to be read is
read out (first the number of HighByte, then the number of LowByte). The following bytes
are then interpreted as data and are stored in ascending order in the D-TCM from ad-
dress 0x00...00 until the number of words to be copied is reached. The primary boot
loader then configures the D-TCM as I-TCM (TCM926_MAP, see 2.3.10.9.14) and the I-
TCM is shown at address 0x0000_0000. Processing then continues with a jump to ad-
dress 0x0000_0044. The length of data to be copied is limited to the maximum size of the
D-TCM.
Example:
Byte
1
2
Send-
0x03
0x0
ing
/
0
0xe8
RD
Re-
0xff
0xff
ceipt
In the example above, 0x1000 words are read from the medium. A maximum of
256 KByte (0xFFFF) can be read. A max. of 64 KByte (0x3FFF) is possible with the
current D-TCM.
Memory image in the D-TCM
TCM+0
TCM+1
TCM+2
TCM+3
TCM+4
TCM+5
TCM+6
TCM+7
TCM+8
TCM+0x104
Copyright © Siemens AG 2016. All rights reserved
Technical data subject to change
3
4
5
0x0
0x0
0x0
0
0
0
0xff
0xff
0x5
a
ID
0x00
Data 0
0x01
Data 1
0xFF
Data 2
0xF0
Data 3
0x00
Data 4
0x00
Data 5
0x01
Data 6
0x05
Data 7
0x00
Data 8
.....
.....
6
7
8
0x0
0x0
0x0
0
0
0
0x1
0x0
0x0
0
0
0
No.
No.
Da-
of
of
ta 0
ta 1
hig
low
h
Word 0
Word 1
.....
39
9
10
11
0x0
0x0
0x0
0x0
0
0
0
0x0
0xF
0xF
0x0
1
F
0
Da-
Da-
Da-
ta 2
ta 3
ta 4
ERTEC 200P-2 Manual
12
13
...
0x0
...
0
0
0x0
...
0
0
Da-
Da-
...
ta 5
Version 1.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ertec 200p

Table of Contents