|
|||||||||||
Technical Support On-Line Manuals µVision3 User's Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hello: Your first Embedded ProgramThe HELLO sample program is located in ..\Examples\Hello folder helps you to confirm the correct installation of the toolchain. HELLO does nothing more than print the text "Hello World" to the serial port. The entire program is contained in a single source file HELLO.C. This small application helps you confirm that you can compile, link, and debug an application which is performed with a µVision project file. The hardware for HELLO example typically operates on various microcontroller devices. The only on-chip peripheral used is the serial port (along with a baudrate generator). You do not actually need a target CPU because µVision3 lets you simulate the hardware required for this program. HELLO Project FileIn µVision, applications are maintained in a project file. A project file has been created for HELLO. To load this project, select Open Project from the Project menu and open HELLO.UV2 from the folder …\ARM\GNU\EXAMPLES\HELLO.
Editing and Building HELLO.CYou can now edit HELLO.C. Double click on HELLO.C in the Files page of the Project Workspace. µVision3 loads and displays the contents of HELLO.C in an editor window.
Notes
Testing and Debugging HELLO.C
During debugging µVision3 will show the following output:
Single-Stepping and Breakpoints
| ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.