User`s manual
Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 108 -
EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany)
Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail info@ekf.de * Internet http://www.ekf.de
Write Firmware Flash ROMs: CMDIMR_FLASH_WRITE
Description:
This command is used to write a block of new data to the firmware flash
ROMs on the controller.
Command Code:
41.
Command Data:
Size of the download parameter structure in bytes.
Parameters:
The download parameters structure EKF_DOWNLOAD_PARAMS
followed by the download data is passed in the download area.
Data:
None.
Command Word:
0x0Y29 AAAA
Flags Port ID Command Command Data
E
R
R
R
P
L
C
P
L
U
F
ID
3
ID
2
ID
1
ID
0
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
D
15
D
14
D
13
D
12
D
11
D
10
D
09
D
08
D
07
D
06
D
05
D
04
D
03
D
02
D
01
D0
0
0000YYYY00101001AAAAAAAAAAAAAAAA
31 28 27 24 23 16 15 8 7 0
Reply:
Flags Port ID Command Command Data
E
R
R
R
P
L
C
P
L
U
F
ID
3
ID
2
ID
1
ID
0
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
D
15
D
14
D
13
D
12
D
11
D
10
D
09
D
08
D
07
D
06
D
05
D
04
D
03
D
02
D
01
D0
0
X100YYYY00101001AAAAAAAAAAAAAAAA
31 28 27 24 23 16 15 8 7 0
The controller returns with the RPL flag set. A separate complete
message is sent by the controller with CPL flag set as soon as the write
operation has been completed. If the write failed the complete message
comes with ERR flag set and an error code is passed in bits 15:00 of the
complete message.
On error the RPL, CPL and ERR flags are set and an error code is
passed in bits 15:00 of the reply word.
Notes:
Absolutely caution should be given when executing this command. Use
makes sense only if a new firmware binary is available that is
downloaded to the firmware flash ROMs. Erasure of the old firmware
with the command CMDIMR_FLASH_ERASE is necessary before.
The
board is no more functional, if a hardware reset occurred while
writing the new firmware binary.