µVision4 User's GuideAbout µVision Software Development Cycle Folder Structure Requesting Assistance User Interface Creating Applications Utilities Debugging Debug Commands Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix
Software Development Cycle
The software development cycle is roughly the same in µVision as it is in any other software development tool.
The following block diagram illustrates the complete µVision software development cycle. Each component is described below.
The µVision IDE integrates a project manager, a rich-featured editor with interactive error correction, make utility, configuration options, and online help dialogs. Use µVision to create source code files and organize them into a project that defines the target application. µVision compiles, assembles, and links automatically the embedded application and provides a single focal point for your development efforts.
C/C++ Compiler & Macro Assembler
Source files are created by the µVision IDE and are passed to the C or C++ Compiler or Macro Assembler. The compiler and assembler process source files and create relocatable object files.
The library manager allows creating object libraries out of the compiled and assembled object modules. Libraries are specially formatted ordered program collections of object modules that may be used by the linker at a later time. When the linker processes a library, only those modules are used that are necessary to create the program.
The Linker/Locator creates an executable program file using the object modules extracted from libraries and those created by the compiler and assembler. An executable program file (also called absolute object module) contains no relocatable code or data. All code and data reside at fixed memory locations.
This executable program file can be used:
The µVision symbolic and source-level debugger is ideally suited for fast reliable program debugging. The debugger includes a high-speed Simulator for simulating an microcontroller system, including on-chip peripherals, and external hardware. The chip attributes are configured automatically when the device is selected from the Device Database.
The µVision Debugger provides several ways to test programs on hardware.