02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

trailing numbers are the base and offset from the start of ROM space. Both are<br />

typically zero.<br />

Step 6:<br />

Power up your target.<br />

The target CPU executes the object code in the emulated ROM. Make sure the code<br />

is running correctly. For example, you might want to have it flash an LED.<br />

Starting the Target Server<br />

Start the target server as in the following example, using the -B option to specify<br />

the NetROM back end.<br />

% tgtsvr -V 147.11.46.164 -B netrom &<br />

In this example, 147.11.46.164 is the IP address of the NetROM. (You can also use<br />

the <strong>Tornado</strong> GUI to configure and start a target server; see <strong>Tornado</strong> Getting Started<br />

Guide.)<br />

If the connection fails, try typing the following command at the NetROM prompt:<br />

NetROM> set debugecho on<br />

With this setting, all packets sent to and from the NetROM are copied to the<br />

console. You may need to hook up a connector to the NetROM serial console to see<br />

the debugecho output, even if your current console with NetROM is attached<br />

through Telnet (later versions of NetROM software may not have this problem). If<br />

you see packets sent from the host, but no reply from the target, you must modify<br />

the target NetROM configuration parameters described in section Configuration for<br />

Network Connection, p.140.<br />

NOTE: With a NetROM connection, you must inform the NetROM when you<br />

reboot the target. You can do this as follows at the NetROM prompt:<br />

NetROM> tgtreset<br />

Troubleshooting the NetROM ROM-Emulator Connection<br />

If the target server fails to connect to the target, the following troubleshooting<br />

procedures can help isolate the problem.<br />

42

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

Saved successfully!

Ooh no, something went wrong!