The μVision5 IDE is a Windows-based software development platform that combines a robust editor, project manager, and makes the facility. The μVision5 integrates all tools including the C compiler, macro assembler, linker/locator, and HEX file generator. The μVision5 helps expedite the development process of our embedded applications by providing the following:
• Full-featured source code editor
• Device database for configuring the development tool setting
• Project manager for creating and maintaining your projects
• Integrated make facility for assembling, compiling, and linking your embedded applications,
• Dialogs for all development tool settings,
• True integrated source-level
• Debugger with high-speed
• CPU and peripheral simulator,
• Advanced GDI interface for software debugging in the target hardware and for connection to Keil ULINK
• Flash programming utility for downloading the application program into Flash ROM,
• Links to development tools manuals, device datasheets & user‟s guides.
The μVision5 IDE offers numerous features and advantages that help us quickly and successfully develop embedded applications. They are easy to use and are guaranteed to help us achieve our design goals. The μVision5 IDE and Debugger is the central part of the Keil development toolchain. μVision5 offers a Build Mode and a Debug Mode.
In the μVision5 Build Mode, we maintain the project files and generate the application. In the μVision5 Debug Mode, we verify our program either with a powerful CPU and peripheral simulator or with the Keil ULINK USB-JTAG Adapter (or other AGDI drivers) that connect the debugger to the target system. The ULINK allows us also to download our application into Flash ROM of your target system. The figure below shows the start window of the Keil μVision5.
Menu Commands, Toolbars, and Shortcuts:
The menu bar provides us with menus for editor operations, project maintenance, development tool options settings, program debugging, external tool control, window selection, and manipulation, and online help. The toolbar buttons allow us to rapidly execute μVision5 commands. A Status Bar provides editor and debugger information. The various toolbars and the status bar can be enabled or disabled from the View menu commands. The following sections list the μVision5 commands that can be reached by menu commands, toolbar buttons, and keyboard shortcuts. The μVision5 commands are grouped mainly based on the appearance in the menu bar:
• File Menu and File Commands
• Edit Menu and Editor Commands
• Outlining Menu
• Advanced Menu
• Selecting Text Commands
• View Menu
• Project Menu and Project Commands
• Debug Menu and Debug Commands
• Flash Menu
• Peripherals Menu
• Tools Menu
• SVCS Menu
• Window Menu
• Help Menu
Creating Applications:
This part describes the Build Mode of μVision5 and is grouped into the following sections:
• Create a Project: explains the steps required to set up a simple application and to generate HEX output.
• Project Target and File Groups: shows how to create application variants and organized the files that belong to a project.
• Tips and Tricks: provides information about the advanced features of the μVision5 Project Manager.
1. Create Project File Folder and Specify Project Name
To create a new project file select from the μVision5 menu Project – New – μVision Project. This opens a standard Windows dialog that asks us for the new project file name. We should use a separate folder for each project. We can simply use the icon Create New Folder in this dialog to get a new empty folder.
step 1: go to project>>new μVision project
step 2: select the folder where you want to save your project, set the name of your project
step 3: select microchip
step 4: go to target 1 >> source group 1, right-click on it, and select add new item to group 'source group1'...
step 5: select file type and file name then press ok
now the file is created, enter code
Post a Comment