02.03.2014 Views

Tornado

Tornado

Tornado

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.

4<br />

Projects<br />

Configuration for Serial Connection<br />

To configure the target agent to use a raw serial communication path, add the WDB<br />

serial connection component. (See 2.5.3 Serial-Line Connections, p.34).<br />

By default, the agent uses serial channel 1 at 9600 bps. 7 For better performance, use<br />

the highest line speed available, which is often 38400 bps. Try a slower speed if you<br />

suspect data loss. To change the speed, display the component property sheet,<br />

select the Params tab, select WDB_TTY_BAUD and change the value associated with<br />

it.<br />

4<br />

Figure 4-47<br />

Serial Connection Macros<br />

Configuration for tyCoDrv Connection<br />

To configure a version 1.0 BSP target agent to use a serial connection, add the WDB<br />

tyCoDrv connection component. Display the component property sheet and select<br />

the Params tab to display and modify macro values.<br />

Scaling the Target Agent<br />

In a memory-constrained system, you may wish to create a smaller agent. To<br />

reduce program text size, you can remove the following optional agent facilities:<br />

7. VxWorks serial channels are numbered starting at zero. Channel 1 corresponds to the port<br />

labeled COM2 if the board’s ports are labeled starting at 1. If your board has only one serial<br />

port, you must change WDB_TTY_CHANNEL to 0 (zero).<br />

141

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

Saved successfully!

Ooh no, something went wrong!