Releases: ZhuYanzhen1/MM32_CLion
Control Board Circuit
Introduction
This is the MM32 main control board circuit with version number 1.6.1.In this version of the circuit, the NOR Flash chip is changed to a chip SD card, and the GL823K chip is used to realize the reading and writing of the SD card through the USB interface. The devices connected to the SD card can be controlled by the microcontroller.
This board is designed with a four-layer board and uses the JLC7628 laminate structure for 50-ohm impedance matching of transmission lines. Since the PCB is designed with a direct connection to the power supply copper cladding, it requires a relatively long heating time for the solder tray to be tinned during soldering. Care needs to be taken not to have false soldering when soldering.
File
- circuit.zip: Contains PCBs, schematics and exported Gerber files drawn by KiCAD.
Geomagnetometer Board Circuit
Introduction
Since the permanent magnet stator in a brushless motor can affect the detection of the geomagnetometer, we designed the geomagnetometer as a separate circuit board so that it can be easily installed in a place with little magnetic field interference. The chip used in the geomagnetometer is RM3100.
File
- circuit.zip: Contains PCBs, schematics and exported Gerber files drawn by KiCAD.
Control Board Circuit
Introduction
This is the MM32 main control board circuit with version number 1.5.2. This version removes the ADIS16470 from the main control board circuit and replaces it with an ADXL350 accelerometer, and adds a spare MPU6050 in case of accidents. This version also adds a Flash for the control MCU to store the track point data and a CH372C for the USB device function.
This board is designed with a four-layer board and uses the JLC7628 laminate structure for 50-ohm impedance matching of transmission lines. Since the PCB is designed with a direct connection to the power supply copper cladding, it requires a relatively long heating time for the solder tray to be tinned during soldering. Care needs to be taken not to have false soldering when soldering.
File
- circuit.zip: Contains PCBs, schematics and exported Gerber files drawn by KiCAD.
Monitor Tool
Introduction
In the actual debugging process, it is difficult for us to achieve non-invasive variable viewing and variable mapping work through the debugger. So we designed a non-intrusive variable visualization Monitor based on medium volume transfer protocol. This tool is written in Qt 5.14.2 and follows the AGPL-3.0 open source license.
File
- Monitor.exe: Packaged Monitor installation package, based on windows x86_64 platform.
Control Board Circuit
Introduction
This is the MM32 main control board circuit with version number 1.3.3. In this version of the main control board, an MM32SPIN27 microcontroller is added to read data from the geomagnetometer and IMU and to perform preliminary processing of the data. Also, the geomagnetometer was changed from HMC5883 to RM3100.
This board is designed with a four-layer board and uses the JLC7628 laminate structure for 50-ohm impedance matching of transmission lines. Since the PCB is designed with a direct connection to the power supply copper cladding, it requires a relatively long heating time for the solder tray to be tinned during soldering. Care needs to be taken not to have false soldering when soldering.
File
- circuit.zip: Contains PCBs, schematics and exported Gerber files drawn by KiCAD.
USBIP For Wirless Debugger
The wireless debugger uses WIFI to connect with the computer. In order to map out the DAP-Link device in the computer, USBIP is used here as a virtual driver to do this. The USBIP file provided below is the latest usbip-win 0.3.5 release version.
Install Guide
- Install USB/IP test certificate
- Install
usbip_test.pfx
(password: usbip) - Certificate should be installed into
- "Trusted Root Certification Authority" in "Local Computer" (not current user) and
- "Trusted Publishers" in "Local Computer" (not current user)
- Install
- Enable test signing
> bcdedit.exe /set TESTSIGNING ON
- reboot the system to apply
- Install USB/IP VHCI driver
- Run PowerShell or CMD as an Administrator
PS> usbip.exe install
Uninstall Guide
- Uninstall driver
PS> usbip.exe uninstall
- Disable test signing
> bcdedit.exe /set TESTSIGNING OFF
- reboot the system to apply
Connect Guide
.\usbip.exe attach_ude -r <your-esp8266-ip-address> -b 1-1
CUnit For Unit Test
Introduction
The CUnit library is used in this project to provide the declarations and normalized unit testing framework required for unit testing for the entire project master. The following zip archive contains the latest source code for the CUnit framework.
File
- CUnit-2.1-3.tar.bz2: source code for the CUnit framework.
- cunit_win64.zip: binary files build with mingw64.
Control Board Circuit
Introduction
This is the main control board circuit of the MM32, version 1.2.2. On this version of the main control board, a dual-mode, dual-band GPS module, an IMU module, an electronic compass and a 1.8-inch screen with touch functionality are installed. In this version, two MM32F3277G9s are used as control chips to work together.
This board is designed with a four-layer board and uses the JLC7628 laminate structure for 50-ohm impedance matching of transmission lines. Since the PCB is designed with a direct connection to the power supply copper cladding, it requires a relatively long heating time for the solder tray to be tinned during soldering. Care needs to be taken not to have false soldering when soldering.
File
- circuit.zip: Contains PCBs, schematics and exported Gerber files drawn by KiCAD.
Control Board Circuit
Introduction
This is the MM32 main control board circuit with version number 1.0.1. On this version of the main control board, a dual-mode GPS module, an IMU module, and a 1.8-inch screen with touch functionality are installed. On this circuit version, there is also a servo power supply, an electronic switch and a 5V power supply designed to provide power and control signals for a servo and a brushless motor.
This board is designed with a four-layer board and uses the JLC7628 laminate structure for 50-ohm impedance matching of transmission lines. Since the PCB is designed with a direct connection to the power supply copper cladding, it requires a relatively long heating time for the solder tray to be tinned during soldering. Care needs to be taken not to have false soldering when soldering.
File
- circuit.zip: Contains PCBs, schematics and exported Gerber files drawn by KiCAD.
OpenOCD For MM32
Introduction
This is an OpenOCD program specially compiled to support MM32. This program is compiled based on the 00449-gb2ab2241f branch of OpenOCD, using msys2 as the compilation environment and MinGW64 as the compilation toolchain. Below this I have given the files that need to be added or modified, you need to copy them into the source code to compile it. Or use the already compiled binaries for burning and debugging.
Files
- OpenOCD.7z: The compiled OpenOCD binaries.
- drivers.c: Used to replace the drivers.c file in the src/flash/nor directory under the OpenOCD source code.
- Makefile.am: Used to replace the Makefile.am file in the src/flash/nor directory under the OpenOCD source code.
- mm32f3x.c: Placed in the src/flash/nor directory under the OpenOCD source code to provide the download algorithm for the MM32F3277G9 chip.