Qianglongsheng Electronic Technology MCD-DEMO-II Manual page 32

Table of Contents

Advertisement

DEMO-II Copyright of Qianlongsheng Electronics Technology (Shenzhen) Co., Ltd.
development board, shown as Figure 5-6; Now if any key is pressed the LED will display a the number of that key, for
example if K06 is pressed, the LED will display "06", shown as Figure 5-7.
Figure 5-4 Connecting information
Figure 5-5 Programming Information
7) After several debug, we have basically achieved the desired results, and the debug completed. Disconnect the
connections.
Figure 5-6 Result when no key is pressed
Figure 5-7 Result when K06 is pressed
Programming the target MCU using MCD2
The source codes prepared as described above has passed the debug by using MCD2, and we have achieved our
desired goal, now we may use MCD2 to burn/program the KEY4x4.HEX file into the target MCU chip in order that the
MCU can run offline.
1) Connect the MCD2 and the DEMO-II development board in accordance with the method shown in Figure 3-2.
2) Implement the menu command
to select MPLAB ICD2 (same as MCD2) as a debugging tool.
ProgrammeràSelect Too
3) Set up the configured bits and other parameters according to the specific conditions.
Programmer à Program
4) Implement the menu command
, to program/burn the KEY4x4.HEX file into the target MCU
chip.
5) Disconnect DEMO-II and MCD2 to see the results of MCU execution.
Page 32 of 33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents