PSoC Analog Coprocessor Pioneer Kit Guide, Doc. # 002-11190 Rev. *B
37
Code Examples
4. Build the code example by choosing
Build
>
Build <Project Name>
. After the build process is
successful, a
.hex
file is generated.
5. To program the kit with the code example, connect the PSoC Analog Coprocessor to PC using
USB cable as shown in
6. Choose
Debug
>
Program
in PSoC Creator.
7. If the device is already acquired, programming will complete automatically – the result will
appear in the PSoC Creator status bar at the bottom left side of the screen. If the device is yet to
be acquired, the Select Debug Target window will appear. Select
KitProg2/<serial number>
and click the
Port Acquire
Figure 4-2. Port Acquire
8. After the device is acquired, it is shown in a tree structure below
KitProg2/<serial number>
.
Click
Connect
as shown in
and then click
OK
to exit the window and start program-
ming.
Figure 4-3. Connect Device from PSoC Creator and Program
9. After programming is successful, the code example is ready to use.