MCB167-NET Board User’s Guide
25
Chapter 4. Programming
Writing programs for the MCB167-NET is relatively simple. The Keil Monitor-
166 can be used to connect the µVision2 Debugger to the MCB167-NET board.
You can use the powerful debugging interface to test application programs on
the MCB-167-NET board.
The MCB167-NET board comes with a Keil Development Tools CD-ROM that
contains an Evaluation Version of the Keil C166 tool chain. You should install
the Keil C166 Evaluation Software or a full version of the C166 development
tools.
The following section describes how to:
Write programs with the µVision2 IDE and the C166 compiler for the
MCB167-NET board.
Translate and debug the LED Blinky example program.
Download a program into the on-chip Flash ROM of the Infineon C167CS
device.
Writing Programs for the MCB167-NET
The following steps describe the how to create and compile a µVision2 project
for use with the Monitor-166 on the MCB167-NET board. You can find more
information in the
µVision2 and C166 Getting Started User’s Guide
(
C:\Keil\C166\hlp\GS166.PDF
),
Chapter 4. Creating Applications
and
Chapter 5. Testing Programs
.
Start the µVision2 IDE, create a project file with
Project – New Project,
and select a CPU from the device database. The MCB167-NET board
comes with the Infineon C167CR device. However, you may use also other
C167 or ST10-167/168/169 devices with the MCB167-NET hardware.
Create a source file and add this source file to the project. This can be
done in the dialog
Project – Target, Groups, Files…
or with a right click
on a
Source Group
in the Project Window and the
Add Files to Group
option.
Add and configure the startup code for the device. You may copy the file
C:\Keil\C166\Examples\Boards\Keil MCB167
Содержание MCB167-NET
Страница 18: ...18 Chapter 3 Hardware Schematics...
Страница 19: ...MCB167 NET Board User s Guide 19...
Страница 20: ...20 Chapter 3 Hardware...
Страница 21: ...MCB167 NET Board User s Guide 21...
Страница 22: ...22 Chapter 3 Hardware Printed Board Assembly...