This application note guides beginners to understand APM32F00x series, and quickly learn
tocarry out development, operation, debugging and other related tasks.It mainly
contains:Product overview, document description, development board resource description,
functionaldescription of firmware package, and use of development tools.All materials
involved in this application note can be obtained and downloaded from the website
ofwww.geehy.com.
APM32F003F6P6 MINIBOARD
32-bit Arm® Cortex®-M0+
Max frequency: 48MHz
Flash: 32KB
SRAM: 4KB
2. Interface and ResourcesUSB: 1 (power supply to use)
SWD: 1
LED: 2KEY: 1
RESET KEY: 1
GPIO: 12
3. Start1) Ensure a solid connection for jumper J1, J2 and J3.
2) Connect the USB in development board with PC by a Micro USB cable and power
thedevelopment board.
3) Connect the emulator with SWD interface for MCU programming and debugging.
MDK5 Packs
The MDK software package provides additional software components and support
formicrocontroller devices, DFP for short (Device Family Pack).Users can choose to download
the latest version of pack from www.geehy.com.Or you can choose to download the historical
version of pack of Geehy directory from :www.keil.com
SDK download link :https://global.geehy.com/support/apm32/?id=271
1. Double-click Install
Software Development Kit, SDK for short, generally, refers to the collection of development tools used bysoftware engineers to establish application software for specific software packages, software frameworks, hardware platforms, operating systems, etc. It is a toolkit provided by a third-party service provider to implementthe functions of software products. For users, it can shorten development cycle, reduce resource costs, andaccelerate product R&D.APM32F4xx_SDK mainly serves the common module of APM32F4xx series MCU, and supports KEIL, IARand other development platforms. The SDK contains the driver code and application routines of ADC, CAN, DMA and other modules. Users can select appropriate driver for related configuration.
6. Tool Chain1. Geehy-Link
2. APM32 PROG
1——>3.3V
7——>TCK
9——>TMS
15——>RESET
20——>GND
Geehy-LINK is a development tool integrating simulator and programmer, which can debug and simulatethe APM32 full-range MCU products online in Keil, IAR and other integrated development environments.Support full-speed operation, single-step debugging, breakpoint setting and other debugging methods. Refer tothe document of GEEHY-LINK User Manual V1.0.0.pdf on the official website.
Keil MDK IDE:a) Use the USB cable to connect Geehy-LINK to the computer. After they are connected successfully, Geehy DAP USB Device will appear on the device manager
b) Open the project file and select "Options for Target" tab.
c) Select "CMSIS-DAP Debugger" as the emulator after downloading under the "Debug" option and select "Setting".
d) In the "CMSIS-DAP Cortex-M Driver Setup" interface, select "Geehy CMSIS-DAP" (the oldversion is "Apex CMSIS-DAP") and click "OK".
a) Open the project file and select "Options" tab.
b) Select "CMSIS DAP" simulator in "Debugger" and click "OK".
APM32-PROG is a tool developed for APM32 series chips. It can be used together with the uppercomputer software to complete the software programming of MCU chips, supports in-system and offlineprogramming, supports JTAG and SWD programming of the upper computer, and supports WIN7/8/10drive-free use.For detailed operation, refer to APM32_PROG User Manual V1.0.pdf on the official website.Download the upper computer software Apex-APM32-Setup.msi, and then install it (the installationinterface is omitted). Open the software and connect APM32PROG. After successful connection, the uppercomputer will read the firmware version of the current APM32PROG, as shown in the red box at the bottom ofthe figure below. If the firmware version of the current APM32PROG is lower than the latest version, you will beprompted to update the firmware version.
The functional area of the APM32PROG upper computer is divided into the file opening area, configurationarea (including serial number configuration and configuration writing), and offline or online operation area.APM32PROG, together with the upper computer, can realize such functions as programming, reading, encryption and decryption of the target MCU.
Comments
Please log in or sign up to comment.