<< Click to Display Table of Contents > 

Flash Control Interface Manual > Communication

Communication
Previous pageReturn to chapter overviewNext page

The following FCI commands are found in this chapter:

Command

Description

CRCR

Change the character that marks the end of a transmission.

LFLF

Change the character that marks the end of a transmission.

SBR

Get/Set communication baud rate of RS-232.

TLN

Telnet mode.

Table 12: Overview Commands Communication

CRCR [<Mode>]

 

Change the character that marks the end of a transmission.

ok  USC-2

notavailable  USC-3

Description

Change mode of control character <CR>.

<Mode>

[optional]

 

Value: <int>

Function

empty

Get the currently active CRCR mode.

0

Set mode to 0.

1

Set mode to 1.

Example

Command

Return

Note

CRCR

0:1

Get the <CR> mode.

CRCR 0

0:

Change the CRCR mode to 0.

CRCR 22

8:

Parameter out of range.

Notes

The LFLF and CRCR flag are defining the mode for new line and end of return control characters. A detailed description can be found here.

Save

Changes are saved with SVG.

Restriction

Command is not available for USC-3. So end line characters can only be edit for USC-2.

Errors

1: Too many parameters

5: Operation not allowed during marking

8: Parameter out of range

16: Command removed

Table 13: CRCR

LFLF [<Mode>]

 

Change the character that marks the end of a transmission.

ok  USC-2

notavailable  USC-3

Description

Change mode of control character <LF>.

<Mode>

[optional]

 

Value: <int>

Function

empty

Get the currently active LFLF mode.

0

Set mode to 0.

1

Set mode to 1.

Example

Command

Return

Note

LFLF

0:1

Get the <LF> mode.

LFLF 0

0:

Change the LFLF mode to 0.

LFLF 22

8:

Parameter out of range.

Notes

The LFLF and CRCR flag are defining the mode for new line and end of return control characters. A detailed description can be found here.

Save

Changes are saved with SVG.

Restriction

Command is not available for USC-3. So end line characters can only be edit for USC-2.

Errors

1: Too many parameters

5: Operation not allowed during marking

8: Parameter out of range

16: Command removed

Table 14: LFLF

SBR [<BaudRate>]

 

Get/Set RS-232 baud rate.

ok  USC-2

ok  USC-3

 

Description

This command gets and sets the RS-232 baud rate.

<BaudRate>

[optional]

 

Value: <int>

Function

empty

Get the currently active baud rate.

baud rate

 

Set the baud rate specified by parameter 1. The listed values are available.

USC-2:

oDefault baud rate is 9600.

oAvailable baud rates: 2400, 4800, 9600, 19200, 28800, 38400, 57600, 115200.

USC-3:

oDefault baud rate is 115200.

oAvailable baud rates: 2400, 4800, 9600, 19200, 38400, 57600, 115200.

Example

Command

Return

Note

SBR

0: 115200

Get the baud rate. The default value is 115200.

SBR 9600

0:

Change the baud rate to 9600.

SBR 22

8:

Parameter out of range.

Notes

The new baud rate only takes effect after the USC card has been repowered.

Save

USC-2: The baud rate is saved immediately; the SVG command is not required. Avoid unnecessary use of this command, as the baud rate is stored in the EPCS, which has a limited number of write cycles.

USC-3: The new baud rate must be stored with the command SVG.

Restriction

None

Errors

1: Too many parameters

8: Parameter out of range

Table 15: SBR

TLN [<Mode>]

 

Telnet mode.

ok  USC-2

notavailable  USC-3

Description

Change prompt of Telnet mode.

<Mode>

[optional]

 

Value: <int>

Function

empty

Get the currently active telnet mode.

0

 

With a prompt appended to the end of the return from USC-2 card (after the control characters).

The prompt is: INET><Space><IAC><GA>

INET> as text, five ASCII chars: 0x49, 0x4E, 0x45, 0x54, 0x3E.

<Space> is the ASCII space character (0x20).

<IAC> is the Telnet command "Interpret As Command", ASCII character (0xFF).

<GA> is the Telnet command "Go Ahead", ASCII character (0xF9).

1

Without prompt

Example

Command

Return

Note

TLN

0:1

Get the telnet mode. Return 1 is the default

TLN 0

0:

Change the telnet mode to 0.

TLN 22

8:

Parameter out of range.

Notes

The TLN command is set to 1 per default.

Save

Changes cannot be saved permanently.

Restriction

Command is not available for USC-3.

Errors

1: Too many parameters

8: Parameter out of range

16: Command removed

Table 16: TLN