13.07.2015 Views

PDF version - ARM Information Center

PDF version - ARM Information Center

PDF version - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Getting Started with Real-Time System ModelsOn the target side, the console process invoked by your target OS relies upon a suitable driverbeing present. Such drivers are normally part of the OS kernel. The driver passes serial datathrough a UART. The data is forwarded to the TelnetTerminal component, which exposes aTCP/IP port to the world outside of the RTSM. This port can be connected to by, for example,a Telnet process on the host.By default, the VE RTSM or MPS RTSM starts four telnet Terminals when the model isinitialized. You can change the startup behavior for each of the four Terminals by modifying thecorresponding component parameters. See Terminal parameters on page 3-9.If the Terminal connection is broken, for example by closing a client telnet session, the port isre-opened on the host. This might have a different port number if the original one is no longeravailable. Before the first data access, you can connect a client of your choice to the networksocket. If there is no existing connection when the first data access is made, and the start_telnetparameter is true, a host telnet session is started automatically.The port number of a particular Terminal instance can be defined when the RTSM starts. Theactual value of the port used by each Terminal is declared when it starts or restarts, and mightnot be the value you specified if the port is already in use. If you are using Model Shell, the portnumbers are displayed in the host window in which you started the model.You can start the Terminal component in one of two modes:• Telnet mode• Raw mode.2.7.1 Telnet modeIn telnet mode, the Terminal component supports a subset of the RFC 854 protocol. This meansthat the Terminal participates in negotiations between the host and client concerning what is andis not supported, but flow control is not implemented.2.7.2 Raw modeRaw mode enables the byte stream to pass unmodified between the host and the target. Thismeans that the Terminal component does not participate in initial capability negotiationsbetween the host and client. It simply acts as a TCP/IP port. You can use this feature to directlyconnect to your target through the Terminal component.<strong>ARM</strong> DUI 0575A Copyright © 2011 <strong>ARM</strong>. All rights reserved. 2-15ID051811Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!