RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
800
Ctrl Command store_program
Function Standalone Functionality: Saves (deletes) data for automatic booting to (from) the
NAND Memory.
Prerequisite RTC6 Software Package V1.7.0 and BIOS-ETH 26.
Call
Error = store_program( Mode )
Parameters
Mode
= 0: Saves data for “Standalone Basic State“ (see below).
= 1: Erases the NAND Memory content.
= 2: Like = 0, and in addition some files for
“Standalone Full State“ (see below).
3: Like = 2, but no list commands.
Designed for Remote Interface Mode only
(as list commands can be loaded later there).
As an unsigned 32-bit value.
Result
Error
Error code.
As an unsigned 32-bit value.
Value Description
0 No error.
1 NAND Memory not addressable.
2 NAND Memory end reached early.
3 Data have not been or only partially stored in NAND Memory.
4 Not an RTC6 Ethernet Board.
Comments • store_program is only allowed with RTC6 Ethernet Boards.
Otherwise, a get_last_error return code
RTC6_TYPE_REJECTED
is generated.
• store_program is not executed (get_last_error return code
RTC6_BUSY
), if:
– the BUSY list execution status is set
– a list has been paused by set_wait (PAUSED list execution status set)
• During the execution of store_program the 10 µs clock cycle of the DSP is interrupted:
–
Mode
= 0 approx. 02 s
–
Mode
= 2 approx. 60 s
–
Mode
= 3 approx. 10 s
• Data for “Standalone Basic State“ are:
–
RTC6ETH.out
,
RTC6RBF.rbf
and
RTC6DAT.dat
• Data for “Standalone Full State“ are:
– Data for “Standalone Basic State“ (see bullet above)
– The required control commands, list commands and correction files
• In case of an error, a get_last_error return code
RTC6_FLASH_ERROR
is generated.
• See Chapter 16.7 ”Standalone Functionality”, page 908.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 618, OUT 618, RBF 623.
Last change DLL 640, OUT 641:
Mode
3.
References read_image_eth, write_image_et
h