Boot the Mars CM
Mars CM has two versions based on storage, one is Mars CM
with eMMC storage, and the other is Mars CM Lite
without eMMC storage. The Lite version can only be accessed through SD card on the base-board. If the base-board you are using does not have a SD card interface, you cannot use the Lite version. In addition, the eMMC version shares the hardware interface with the SD card, so they cannot be used at the same time. In other words, when using the eMMC version of Mars CM, you cannot insert a storage card into the SD card slot on the base-board.
Mars CM adopts a core board design, with pin compatibility with Raspberry Pi CM4. It can be used with different base-boards. The firmware we currently release is compatible with the Raspberry Pi CM4 IO Board.
Taking the Raspberry Pi CM4 IO Board as an example, we will introduce how to burn firmware for the eMMC
version and the Lite
version.
Mars CM eMMC version image burning
Prepare
- Necessary
- Mars CM eMMC version
- Raspberry Pi CM4 IO Board or other Raspberry Pi CM4 compatible base-board
- USB to TTL serial cable
- USB data cable
- Optional
- HDMI cable
Download image and burning tools
- Download the Debian system image: Official Image
- Download the eMMC image burning tool: UsbFlashTool
Install driver for the burning tool
Driver installation is only required for the first use.
Extract the downloaded Mars-UsbFlashTool-*-Windows.zip
into the Windows system.
-
Connect the USB to TTL serial port cable to the 40 pin header on the base-board, connect the USB to the PC and note down the serial port number
Note: If any other serial port program is open and using the serial port, please exit the program to release the port and avoid occupying it.
-
Short-circuit pins 1 and 2 of the J12 header on the CM4 IO Board using a jumper cap (USB flashing mode)
-
Connect the PC and the base-board's J11 USB Slave interface using a Micro USB data cable
-
Run the
UsbFlashTool-*-Windows.exe
flashing program in the flashing tool directory -
Set the serial port number in the
Serial Setting
on the right side to the serial port number noted in step 1 -
Power on the base-board through the 12V DC interface
-
Select
Firmware
inFile Type
, then clickFile Select
to select theusbprog-mars-230510.out
in theupdate
directory, then clickLoad
, and wait for the messageLoaded
to appear after loading -
At this time, the JH7110 device has been identified in the Windows Device Manager and the driver needs to be installed
-
Run the
zadig-2.5
program in the flashing tool directory, selectList All Devices
in the menuOptions
, selectStarFive JH7110 Device
in the drop-down list, and then clickInstall Driver
to complete the driver installationAfter the driver is successfully installed, check whether the status in the device manager has become a normal USB device
-
After the driver is installed successfully, close the UsbFlashTool window, power off the base-board, and remove the jumper cap in step 2