![Phytec nanoModul-164 Quick Start Instructions Download Page 65](http://html.mh-extra.com/html/phytec/nanomodul-164/nanomodul-164_quick-start-instructions_1554144065.webp)
Getting more Involved
PHYTEC Meßtechnik GmbH 2003 L-379e_4
61
•
If the modified hexfile properly downloads and executes, the LED
should now flash in a different mode with different on and off
durations.
You have now modified source code, recompiled the code, created a
modified download hexfile, and successfully executed this modified
code.
3.8
“Hello”
A return to the “Hello” program allows a review of how to modify
source code, create and build a new project, and download the
resulting output file from the host-PC to the target hardware. For
detailed commentary on each step, described below in concise form,
refer back to the “Blinky” example starting at section 3.2.
3.8.1
Creating a New Project
•
Start the Keil
µ
Vision2 environment and close all projects that
might be open.
•
Open the Project menu and create a new project called hello2.uv2
within the existing project directory
C:\PHYBasic\nM164\Demos\Keil\Hello2
(default location) on your hard drive.
•
Add hello2.c and start164.a66 from within the project directory to
the project hello2.uv2.
•
Save the project
At this point you have created a project called hello2.uv2 consisting
of a C source file called hello2.c and an assembler file called
start164.a66.
Summary of Contents for nanoModul-164
Page 48: ...nanoMODUL 164 QuickStart Instructions 44 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 72: ...nanoMODUL 164 QuickStart Instructions 68 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 84: ...nanoMODUL 164 QuickStart Instructions 80 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 92: ...nanoMODUL 164 QuickStart Instructions 88 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 96: ...Published by PHYTEC Meßtechnik GmbH 2003 Ordering No L 379e_4 Printed in Germany ...