RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
509
Ctrl Command load_program_file
Function • Resets the RTC6 (Software Reset)
• Initializes the RTC6 List Memory
• Performs a DSP memory check
• Loads
RTC6RBF.rbf
• Loads
RTC6OUT.out
(with RTC6 Ethernet Boards,
RTC6ETH.out
is loaded instead
• Loads
RTC6DAT.dat
• Starts the DSP
Call
ErrorNo = load_program_file( Path )
Parameters
Path
Path name of the directory, where
RTC6OUT.out
,
RTC6RBF.rbf
and
RTC6DAT.dat
are. As a pointer to a \0-terminated string.
Result Error code.
As an unsigned 32-bit value.
0 Success.
1 Not used.
2 The board is not running. If a renewed call does not bring success, then a
Hardware Reset is necessary.
3
RTC6DAT.dat
or
RTC6RBF.rbf
not found.
4 Not used.
5 Not enough Windows memory.
6 Another user program has already acquired the board.
7 Version error: RTC6 DLL version,
RTC6RBF.rbf
version and
RTC6OUT.out
/
RTC6ETH.out
version are not compatible with each other.
8 RTC6 board driver not found.
9 Loading of
RTC6OUT.out
or
RTC6ETH.out
failed or has incorrect format or other
error.
10 Not used.
11 FPGA firmware error: loading of
RTC6RBF.rbf
failed.
12 Error opening/reading
RTC6DAT.dat
.
13 Not used.
14 DSP memory error (external).
15 Verify memory error.
16 DSP memory error (internal).
17 Ethernet error. See eth_get_last_error and eth_get_error.
18 Only RTC6 Ethernet Board: NAND Memory error.