Download Print this page

STC micro STC8A8K64D4 Series Reference Manual page 854

Advertisement

STC8A8K64D4 Series Manual
In the C code, you must define a function pointer variable, and assign this variable to 0xFA00, and then call, as
shown below:
Step 4, the host computer application program description
The program of the upper computer is a dialog box project based on MFC. The access to the serial port is to
directly call the API function of Windows without using the serial port control, which saves the registration of the
control and many problems of system version incompatibility. The interface is relatively simple, but it provides a
framework for the realization of this function. Other functions and requirements can be added in the past.
The core module of the host computer program is a friend function "UINT Download(LPVOID pParam);" based
on CISPDlg,This function is responsible for communicating with the lower computer and sending various
communication commands to complete the update of the user program. Users can add commands according to their
different needs.
Step 5: How to use the host computer application
1. Open the host computer interface, as shown below
- 838 -

Advertisement

loading
Need help?

Need help?

Do you have a question about the micro STC8A8K64D4 Series and is the answer not in the manual?

This manual is also suitable for:

Micro stc8a8k64d4-64pinMicro stc8a8k64d4-48pin