3 executing run method (with result to telnet) – Solvline LemonIDE Ver 1.0c User Manual

Page 35

Advertising
background image

LemonIDE

TM

Chapter 5. Using IDE

5.5.2 Executing Run Method (with results to Serial Port)

By default, Eddy’s Target Agent prints out its results through Eddy’s serial console port. Therefore, in order to verify

the results printed out to Eddy’s serial console port, a serial communication emulator program is required. Steps on

“5.5.1 Configuring Eddy’s Target Agent” must be followed first for this method.

Eddy’s console port is marked as ‘DEBUG PORT” on Eddy DK board, and its communication specs are 115200 bps,

None Parity, 8 Data Bits with 1 Stop Bit . On Windows environment, connect Eddy’s console port and serial port of

Windows run PC with a serial cross cable (Only 3 lines of Tx, Rx, GND is required). Executed HyperTerminal and

set communication environment to 115200 bps, None Parity, 8 Data Bits, 1 stop bit.

In order to use LemonIDE’s serial communication emulator, please refer to “7.3 Terminal”.

If all settings are finished, click Run Method to upload the binary file to the target system, Eddy and check its

execution result.

Click on the icon left to execute last executed Run Method.

Clicking on the arrow would allow you to select a Run Method of your listing.

The image below shows the result of executing hello.c (of 5.2 Creating & Editing Source Codes) from
HyperTerminal.

5.5.3 Executing Run Method (with result to Telnet)

If Eddy DK board is not used, verifying result through serial port is not possible as serial console port is not existent.

In such cases, Telnet can be set to be used as a console port.

To use Telnet as a console port, procedure “5.5.1 Configuring Eddy’s Target Agent” must not be carried out.

To change the console port from serial port to Telnet, login to Eddy using a terminal program and execute Eddy

Target Agent, “tae”, manually as a background process as shown below. Execution results of uploads from

LemonIDE can now be checked through Telnet. Refer to “7.3 Terminal” for instructions on Telnet terminal

connections.

If all settings are finished, click Run Method to upload the binary file to the target system, Eddy and check its

execution result.

5-11

Advertising