Professional Documents
Culture Documents
com
UM0116
SDK-HC89S003AF4Development Tools User Manual
Introduction
This user manual mainly describesSDK-HC89S003AF4The hardware and software development tools used, the installation and use instructions of the development tools,
The development and debugging method steps and precautions are designed to help usersHolychip Flash MCU HC89S003AF4developers of fast
1/9
http://www.holychip.cn
UM0116
Table of contents
2/9
http://www.holychip.cn
UM0116
MCUDevelop circuits and debug modules on-board.MCUdevelop the circuit for debuggingHC89S003AF4provides the necessary peripheral configuration, the on-board
The debugging module is used as a debugger and a programmer, and the hardware configuration of the two is as follows:
MCUdevelopment circuit
7 RSTbutton
3/9
http://www.holychip.cn
UM0116
1.1.1button
SDK-HC89S003AF4configuration2Two physical buttons: offline programming button and reset button. Offline programming button for on-board debugging
Offline programming of the module; the reset button is used as the hardware reset button of the chip.
1.1.2indicator light
SDK-HC89S003AF4configuration4The two indicators are respectively used for: power-on indicator, offline programming button indicator and reset button indicator
lights. The offline programming button is used for offline programming of the on-board debugging module; the reset button is used as a hardware reset of the chip. Both pass the test pin
1.1.3test needle
SDK-HC89S003AF4configuration2Group2*10test pin, connect toMCUAll pins for user testing or extended functionality
able.
1.1.4external clock
SDK-HC89S003AF4Reserved2A set of external clock interfaces, which are low-frequency crystal oscillator and high-frequency crystal oscillator. When using an external crystal, the
The user should solder the corresponding crystal oscillator and crystal oscillator capacitor by himself (recommended value is20PF),2The group crystal oscillator can be connected to theMCU.
P1.1
X3 P1.0 4-20Mcrystal oscillator
P1.1
SDK-HC89S003AF4ofMCUThe development circuit reserves a two-wire simulation programming interface; the on-board debugging module reserves two groups of simulation programming interfaces.
1.1.6jumper settings
SDK-HC89S003AF4There is a set of skipping stitchesJ13, you need to confirm the status of the jumper pin before powering on. The specific settings are as follows:
4/9
http://www.holychip.cn
UM0116
1.1.7 USBinterface
Function.
HC89S003AF4be usableKeilThe development tool performs functions such as program editing, compiling and linking, debugging and downloading.
5/9
http://www.holychip.cn
UM0116
2.1operating environment
The development tools need to run in the following configuration and environment:
2.2hardware installation
Hardware for development tools includesSDK-HC89S003AF4circuit board andUSB Cable (micro-Bdata line), when using theUSB
2.3Software Installation
HC89S003AF4Series chips support third-partyIDEsdeveloped, availableKeil MDKDevelopment tools for program editing and compiling
please go toKeilOfficial website: (https://www.keil.com/ ) to download the latest version of theKeil MDKAnd follow the official tutorial
IDEsand the installation and setup of the corresponding components (make sure the version isV9.0or higher):
When implementing the compiler and programmer functions through the on-board debugging module, it is necessary to installHC-LINKdrive andKEILplugin. please go toHolychip
official website (http://www.holychip.cn/kfgj/info_14.aspx?itemid=390 ) to download or contact relevant technical support personnel to obtain the emulator driver
Move andKEILplug-in, decompress the obtained emulator driver andKEILplug-in, find the "HC-LINK_Tool User Manual_Ver1.0x_cn",
6/9
http://www.holychip.cn
UM0116
3,SDK-HC89S003AF4Introduction
go toHolychipofficial website (http://www.holychip.cn/cpzxSI/info_47.aspx?itemid=173) Download the latest version of the sample program or link
The main structure of the example of the register version The main structure example can refer to the figure below
Notice:useKEILWhen debugging and downloading as a development tool, you can use theOption—Utilities—SettingConfigure according to your needs
1-ExampleProjectMainly provide the modelMCUThe corresponding minimum project of the system does not need to create a project from scratch, and can be used directly
7/9
http://www.holychip.cn
UM0116
4, application notes
8/9
http://www.holychip.cn
UM0116
5, release notes
HOLYCHIPThe company reserves the right to further explain the improvements in reliability, function and design of all the following products.
HOLYCHIPDo not assume any responsibility arising from the application and use of the products or circuits involved in this manual,HOLYCHIPproducts are not
are specifically designed for use in surgical implants, life support and anyHOLYCHIPProduct malfunctions can cause personal injury or even death
field of. if willHOLYCHIPproducts are used in the above fields, even if these are made byHOLYCHIPNegligence in product design and manufacture
The user shall indemnify all costs, losses, reasonable personal injury or death, direct or indirect attorneys' fees incurred, and
Customer GuaranteeHOLYCHIPand its employees, subsidiaries, affiliates and sellers have nothing to do with the above matters.
Xinsheng Electronics
2021Year6moon
9/9
http://www.holychip.cn