01.09.2014 Views

The Linux Development Platform Configuring, Using, and ... - Classes

The Linux Development Platform Configuring, Using, and ... - Classes

The Linux Development Platform Configuring, Using, and ... - Classes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

CH08.fm Page 242 Monday, October 7, 2002 9:16 PM<br />

242 Chapter 8 • Cross-<strong>Platform</strong> <strong>and</strong> Embedded Systems <strong>Development</strong><br />

Write Code<br />

Legends<br />

Processes with<br />

this color need<br />

only host machine<br />

Processes with<br />

this color need<br />

both host <strong>and</strong><br />

target machines<br />

Compile <strong>and</strong> Link<br />

Download to the<br />

Target<br />

Debug on the<br />

Target<br />

Processes with<br />

this color need<br />

target machine<br />

only<br />

Works OK ?<br />

Burn a ROM or copy to<br />

any other permanent<br />

storage medium like<br />

Compact Falsh<br />

Run on the target<br />

Figure 8-1 Flow chart of cross-platform development.<br />

During the development phase, most of the time you compile code with debug information<br />

enabled. <strong>The</strong> size of the output files is usually quite large but this is acceptable. A different<br />

approach is to create multiple files, one built without debug information or stripped <strong>and</strong> at least<br />

one other file containing all symbols information. You can load the latter file into the debugger<br />

before connecting the debugger to the executable.<br />

8.1.4.3 Transfer to the Target Machine<br />

After building executable code for a cross-platform development project, you have to<br />

transfer it to the target machine. <strong>The</strong>re are several ways to do so depending upon the target<br />

machine. If the target machine has a JTAG interface, you can use that interface to transfer the file

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

Saved successfully!

Ooh no, something went wrong!