Appearance description


Using Rockchip RK3328 quad-core 64-bit A53 processor, onboard AI neural network acceleration chip, high computing power, high performance, can be used as a vision-based deep learning operation and AI algorithm acceleration, with powerful hardware decoding capabilities and rich expansion interfaces , Support multi-system operation, suitable for cluster server, high-performance computing/storage, industrial computer and other industries.

3288外观说明

237


Characteristic parameter


Input voltageOperating temperature

System Configuration
CPURK3288
Main frequencyQuad-core A17 1.8GHz
RAMStandard 2G, optional 4G
Memory8G/16G/32G
Power ICACT8846
Core board structure attributes
ExteriorStamp hole
size55.8mm*55.8mm*3mm
Number of pins180pin
Pin pitch1.2mm
Layer8 floors
Electrical characteristics
5V
The output voltage3.3V~4.2V
-10℃~70℃
storage temperature-10℃~80℃
242


Upgrade instructions


LQ3328 has a flexible starting method. Under normal circumstances, unless the hardware is damaged, the LQ3328 development board will not be bricked.


If an accident occurs during the upgrade process and the bootloader is damaged, making it impossible to upgrade again, you can still enter the MaskRom mode to repair it.


Loading method


LQ3328 has 20KB BootRom and 36KB internal SRAM, and supports loading the system from the following devices:


SPI interface


eMMC interface


SDMMC interface


LQ3328 downloads the system code from the Type-C interface.


Start sequence


The startup sequence is as follows:


Main control power-on initialization


The BootRom code runs on SRAM to verify the bootloader in the storage device


After the verification is passed, load and run the bootloader boot code


The bootloader boot code is responsible for initializing the DDR memory, loading the complete bootloader code into the DDR memory and running


The bootloader loads the Linux kernel on the storage device and gives the execution rights to the Linux kernel


Start mode


LQ3328 has three startup modes:


Normal mode


Loader mode


MaskRom mode


Normal mode


Normal mode is the normal startup process. Each component is loaded in turn and enters the system normally.



Loader mode


In Loader mode, the bootloader will enter the upgrade state, waiting for host commands for firmware upgrades, etc. To enter the Loader mode, the bootloader must detect that the RECOVERY button is pressed during startup and the USB is connected. There are two ways to make the device enter the upgrade mode:


One way is to disconnect the power adapter


The Type-C cable connects the device and the host.


Press and hold the RECOVERY button on the device.


Plug in


After about two seconds, release the RECOVERY button.


Another way is to connect the power adapter


The Type-C data cable connects the device and the host.


Press and hold the RECOVERY button on the device.


Briefly press the RESET button.


After about two seconds, release the RECOVERY button.


MaskRom mode


MaskRom mode is used to repair the system when the bootloader is damaged.


Generally, it is not necessary to enter the MaskRom mode. Only when the bootloader verification fails (the IDR block cannot be read, or the bootloader is damaged), the BootRom code will enter the MaskRom mode. At this time, the BootRom code waits for the host to transmit the bootloader code through the USB interface, load and run it.

247


Detailed description of software upgrade


This article introduces how to burn the firmware file on the host into the flash memory of the development board through the Type-C data cable. When upgrading, you need to select an appropriate upgrade method according to the host operating system and firmware type.


Ready to work


Equipment and environment


AIO-RK3328-JD4 development board


firmware


Host


Good Type-C data cable


Note: There are generally two types of firmware files:


A single unified firmware update.img packs the boot loader, parameters and all partition images together for firmware release.


Multiple partition images, Linux system has uboot.img, boot.img, rootfs.img; Android system has kernel.img.system.img, etc., which are all generated during the development phase


Note: The host operating system supports:

  • Windows XP (32/64 bit)


  • Windows 7 (32/64 bit)


  • Windows 8 (32/64 bit)


  • Linux (32/64 bit)

Install RK USB driver


Download Release_DriverAssistant.zip, unzip, and then run DriverInstall.exe inside. In order to use the updated drivers for all devices, please select 'Driver Uninstallation' first, and then select 'Driver Installation'.


3288升级软件介绍

Device mode


There are two ways to make the device enter the upgrade mode


One method is to disconnect the power adapter and the Type-C data cable first:


One end of the USB data cable is connected to the host, and the Type-C end is connected to the Type-C female port of the development board.


Press and hold the RECOVERY button on the device.


Connect to power


After about two seconds, release the RECOVERY button.


Another method, without disconnecting the power adapter and Type-C data cable:


One end of the USB data cable is connected to the host, and the Type-C end is connected to the Type-C female port of the development board.


Press and hold the RECOVERY button on the device.


Briefly press the RESET button.


After about two seconds, release the RECOVERY button


The host should be prompted to find new hardware and configure the driver. Open the device manager, you will see the new device 'Rockusb Device' appears, as shown in the figure below. If not, you need to go back to the previous step to reinstall the driver.


3288升级软件介绍

Firmware download


Firmware download page


Burning tool download


Under Windows: AndroidTool_v2.58


Under Linux: Upgrade_Tool_v1.34



Windows upgrade


After downloading the AndroidTool tool, unzip it and run the AndroidTool.exe inside (note that if it is Windows 7/8, you need to press the right mouse button and choose to run as administrator)


Burn unified firmware update.img


The steps to flash the unified firmware update.img are as follows:


Switch to the 'Upgrade Firmware' page.


Press the 'Firmware' button to open the firmware file to be upgraded. The upgrade tool will display detailed firmware information.


Press the 'Upgrade' button to start the upgrade.

3288升级软件介绍

If the upgrade fails, it may be because the laoder version of the firmware you burned is inconsistent with the original machine. You can try to erase the Flash by pressing the 'Erase Flash' button first, and then upgrade.


Note: 'Erase Flash' must be erased according to 'Programming Instructions'


Burn partition image


The partition of each firmware may be different, please note:


When using Androidtool_2.58 to burn Android8.1 partition image, it needs to be executed according to the partition described in parameter.txt,


Switch to 'download mirror page'; right click on the table, select 'import configuration'; select rk3328-Android81.cfg


The steps to flash the partition image are as follows:


Switch to the 'Download Mirror' page.


Tick the partition to be burned, you can choose more than one.


Make sure that the path of the image file is correct. If necessary, click the blank table cell to the right of the path to select again.


Click the 'Execute' button to start the upgrade, and the device will automatically restart after the upgrade is complete.

3288升级软件介绍

Linux upgrade


There is no need to install the device driver under Linux, just refer to the Windows chapter to connect the device.


After downloading the Linux tool Upgrade_Tool, install it to the system as follows for easy calling:


unzip Linux_Upgrade_Tool_xxxx.zipcd Linux_UpgradeTool_xxxxsudo mv upgrade_tool /usr/local/binsudo chown root:root /usr/local/bin/upgrade_toolsudo chmod a+x /usr/local/bin/upgrade_tool

Burn unified firmware update.img:

sudo upgrade_tool uf update.img

If the upgrade fails, you can try to erase and then upgrade. Be sure to erase and program according to the table of [Programming Instructions]

# Erase flash Use the ef parameter to specify the loader file or the corresponding update.img sudo upgrade_tool ef update.img # Re-program sudo upgrade_tool uf update.img

Note: 'Erase Flash' must be erased according to 'Programming Instructions'


Flash partition image:


Android 8.1 uses the following methods:

sudo upgrade_tool ul bootloader.bin # Burn bootloadersudo upgrade_tool di -p paramater #Burn parametersudo upgrade_tool di -uboot /path/to/uboot.imgsudo upgrade_tool di -trust /path/to/trust.imgsudo upgrade_tool di -m /path/to/misc.imgsudo upgrade_tool di -baseparameter /path/to/baseparameter.imgsudo upgrade_tool di -b /path/to/boot.imgsudo upgrade_tool di -k /path/to/kernel.imgsudo upgrade_tool di -resource /path/to/resource.imgsudo upgrade_tool di -r /path/to/recovery.imgsudo upgrade_tool di -s /path/to/system.imgsudo upgrade_tool di -vendor /path/to/vendor.imgsudo upgrade_tool di -oem /path/to/oem.img

Ubuntu(GPT),Use the following way

sudo upgrade_tool ul $LOADER
sudo upgrade_tool di -p $PARAMETER
sudo upgrade_tool di -uboot $UBOOT
sudo upgrade_tool di -trust $TRUST
sudo upgrade_tool di -b $BOOT
sudo upgrade_tool di -r $RECOVERY
sudo upgrade_tool di -m $MISC
sudo upgrade_tool di -oem $OEM
sudo upgrade_tool di -userdata $USERDATA
sudo upgrade_tool di -rootfs $ROOTFS

If an error occurs during the upgrade due to flash problems, you can try low-level formatting and erasing nand flash:

sudo upgrade_tool lf update.img # low-level format sudo upgrade_tool ef update.img # erase
252


Core board pin definition


Pin number  SignalPin numberSignal
1TOUCH_INT28LVDS_CLK1N
2IR29LCDC0_DCLK
3BL_EN30LCDC0_DEN
4TOUCH_RST31LCDC0_HSYNC
5LVDS_D0P32LCDC0_VSYNC
6LVDS_D0N33MIPI_TX_D0P
7LVDS_D1P34MIPI_TX_D0N
8LVDS_D1N35MIPI_TX_D1P
9LVDS_D2P36MIPI_TX_D1N
10LVDS_D2N37MIPI_TX_CLKP
11LVDS_D3P38MIPI_TX_CLKN
12LVDS_D3N39MIPI_TX_D2P
13LVDS_D4P40MIPI_TX_D2N
14LVDS_D4N41MIPI_TX_D3P
15LVDS_CLK0P42MIPI_TX_D3N
16LVDS_CLK0N43I2C5_SDA_HDMI
17LVDS_D5P44I2C5_SCL_HDMI
18LVDS_D5N45HDMI_CEC
19LVDS_D6P46HDMI_HPD
20LVDS_D6N47HDMI_TXCN
21LVDS_D7P48HDMI_TXCP
22LVDS_D7N49HDMI_TX0N
23LVDS_D8P50HDMI_TX0P
24LVDS_D8N51HDMI_TX1N
25LVDS_D9P52HDMI_TX1P
26LVDS_D9N53HDMI_TX2N
27LVDS_CLK1P54HDMI_TX2P
55MIPI_TX/RX_D3N73CIF_D7
56MIPI_TX/RX_D3P74CIF_D6
57MIPI_TX/RX_D2N75CIF_D5
58MIPI_TX/RX_D2P76CIF_D4
59MIPI_TX/RX_CLKN77CIF_D3
60MIPI_TX/RX_CLKP78CIF_D2
61MIPI_TX/RX_D1N79CIF_D1
62MIPI_TX/RX_D1P80CIF_D0
63MIPI_TX/RX_D0N81PHONE_CTL
64MIPI_TX/RX_D0P82SPK_CTL
65I2C3_SDA_CAM83I2S0_SDI
66I2C3_SCL_CAM84I2S0_LRCK_RX
67CIF_PDN185I2S0_LRCK_TX
68CIF_PDN086I2S0_SDO0
69CIF_CLKO87I2S0_SCLK
70CIF_CLKI88I2S0_CLK
71CIF_VSYNC89I2C2_SCL_AUDIO
72CIF_HREF90I2C2_SDA_AUDIO
91HP_DET118PHY_INT
92WIFI_REG_ON119PHY_TXCLK
93WIFI_CLK120PHY_RST
94WIFI_CMD121MAC_RXCLK
95WIFI_D3122MAC_MDIO
96WIFI_D2123PHY_TXEN
97WIFI_D1124MAC_CLK
98WIFI_D0125MAC_RXDV
99RTC_CLKOUT126MAC_MDC
100GPIO7_A5_D127MAC_RXD1
101UART0_RXD128MAC_RXD0
102UART0_TXD129PHY_TXD1
103UART0_CTS130PHY_TXD0
104UART0_RTS131MAC_RXD3
105BT_WAKE132MAC_RXD2
106BT_RST133PHY_TXD3
107WIFI_HOST_WAKE134PHY_TXD2
108BT_HOST_WAKE135PHY_PMEB
109UART1_RX1363G_GPIO1
110UART1_TX137OTG_VBUS_DRV
111UART3_RXD138USB_INT
112UART3_TXD139OTG_DET
113UART4_RXD140OTG_ID
114UART4_TXD141OTG_DM
1153G_REG_ON142OTG_DP
1163G_WAK_IN143HOST1_DM
1173G_WA_OUT144HOST1_DP
145HOST2_DM163VCC_BAT-
146HOST2_DP164GND
147UART2_RXD165GND
148UART2_TXD166VCC_SYS
149GSEN_INT167VCC_SYS
150COMP_INT168VCC_RTC
151GYR_INT169VCC_IO
152LIGHT_INT170SDMMC_PWR
153I2C1_SDA_Sensor171SDMMC_D0
154I2C1_SCL_Sensor172SDMMC_D1
155GPIO7_A3_D173SDMMC_D2
156ADCIN1174SDMMC_D3
157RESET175SDMMC_CMD
158PMIC_PWRON176SDMMC_CLK
159VCC+5V177SDMMC_DET
160VCC+5V178LCDC_BL
161VCC50_USB179I2C4_SCL_TP
162VCC_BAT+180I2C4_SDA_TP


257