Software Toolchains Write Motivation Run Desktop Edit compile

  • Slides: 7
Download presentation
Software Toolchains

Software Toolchains

Write Motivation Run Desktop Edit, compile, link, run, debug same platform Same Target Host

Write Motivation Run Desktop Edit, compile, link, run, debug same platform Same Target Host Embedded Edit, compile, link, debug on host; run on different target Different Write Run 2

Basic Development Process n n Environment consists of Host (workstation) and a Target (embedded

Basic Development Process n n Environment consists of Host (workstation) and a Target (embedded hardware) Edit, compile, link code on the Host Run on the Target Debug (ideally) partly on the Host and Partly on the Target Instructor: G. Rudolph, Summer 2008 3

Lejos Development Process Operations on the Host Java Source Files Java SDK (Eclipse) Eclipse

Lejos Development Process Operations on the Host Java Source Files Java SDK (Eclipse) Eclipse Plugin Java Class Files nxjc nxj Operations on the Target Download via the USB or BT NXT Brick Binary File(s) Instructor: G. Rudolph, Summer 2008 4

Downloading Software n n n Brick has programmable 256 KB Flash, 64 KB RAM

Downloading Software n n n Brick has programmable 256 KB Flash, 64 KB RAM Programs persist in Flash Simple process using the command line, or Eclipse Plugin Instructor: G. Rudolph, Summer 2008 5

Toolchain Concepts n n n What is a toolchain What are the tools in

Toolchain Concepts n n n What is a toolchain What are the tools in a typical toolchain and their roles (what they do) How and where the Java tools we are using fit into that process Effective toolchains stay out of the way What level of tool control you care about depends on your role in a project Instructor: G. Rudolph, Summer 2008 6

Targets n n n Volatile memory vs. non-volatile memory PROM, Flash Emulators, ICE-s, Monitors

Targets n n n Volatile memory vs. non-volatile memory PROM, Flash Emulators, ICE-s, Monitors How you load software onto a target Startup and reset conditions Choices for programmable boards Instructor: G. Rudolph, Summer 2008 7