Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
Line 1: Line 1:
[[CM3588|English]]
 
==介绍==
 
[[File:CM3588-A01.jpg|thumb|Front]]
 
[[File:CM3588-B01.jpg|thumb|Back]]
 
[[File:CM3588SDK-A01.jpg|thumb|Carrier Board Front]]
 
[[File:CM3588SDK-B01.jpg|thumb|Carrier Board Back]]
 
*CM3588是友善电子团队设计的一款高性能ARM计算机模块,它采用瑞芯微RK3588作为主控处理器,配备4/8/16GB LPDDR4x内存,64GB eMMC闪存(可选)。CM3588采用4个100Pin板对板连接器,引出几乎所有IO资源。
 
*CM3588计算模块具有丰富的外设和扩展接口,通过底板可连接使用4个NVMe高速固态硬盘,读写速度高达1GB/s; 另外它还带有双HDMI-Out显示接口和1个HDMI-In接口,2路USB3.0, 1路USB2.0, 2.5G以太网接口等。
 
*底板的2个HDMI输出接口和1个HDMI IN接口可解码播放最高8K60p H.265/VP9, 以及8K30p H264等格式视频,并可录制4k60p H.265格式视频。
 
*CM3588提供NAS系统OpenMediaVault方便组建NAS, 同时提供Android, Ubuntu, Debian, Buildroot和OpenWrt等操作系统, 软件资源和生态非常丰富,非常适合中小型企业和初创公司做高端人脸识别,机器视觉,自动驾驶,深度计算分析等方面的人工智能产品快速原型及产品开发。
 
==CM3588资源特性==
 
* SoC: Rockchip RK3588
 
** CPU: Quad-core ARM Cortex-A76(up to 2.4GHz) and quad-core Cortex-A55 CPU (up to 1.8GHz)
 
** GPU: Mali-G610 MP4, compatible with OpenGLES 1.1, 2.0, and 3.2, OpenCL up to 2.2 and Vulkan1.2
 
** VPU: 8K@60fps H.265 and VP9 decoder, 8K@30fps H.264 decoder, 4K@60fps AV1 decoder, 8K@30fps H.264 and H.265 encoder
 
** NPU: 6TOPs, supports INT4/INT8/INT16/FP16
 
* RAM: 64-bit 4GB/8GB/16GB LPDDR4X at 2133MHz
 
* Flash: 0GB/64GB eMMC, at HS400 mode
 
* 1 x microSD interface, support up to SDR104 mode
 
* 1 x On-board PCIe 2.5G ethernet controller (RTL8125B)
 
* USB:
 
** 2 x USB 3.1 Gen1 OTG which combo with DP display(up to 4Kp60)
 
** 1 x USB 3.1 Gen1 Host
 
** 2 x USB 2.0 Host
 
* PCIe:
 
** up to 4 x PCIe interfaces
 
*** 2 x  PCIe 2.1 x1 and 2 x PCIe 3.0 x2
 
*** or 2 x PCIe 2.1 x1 and 1 x PCIe 3.0 x4
 
*** or 1 x PCIe 2.1 x1, 1 x PCIe 3.0 x2, and 2 x PCIe 3.0 x1
 
*** or 4 x PCIe 3.0 x1
 
* HDMI output:
 
** 2 x HDMI outputs which is compatible with HDMI2.1, HDMI2.0, and HDMI1.4 operation
 
** one support displays up to 7680x4320@60Hz, another one support up to 4Kp60
 
** Support RGB/YUV(up to 10bit) format
 
* HDMI input: 1 x HDMI input, up to 4Kp60
 
* MIPI RX:
 
** 2 x 4lane MIPI DPHY CSI RX which support x4 mode or x2+x2 mode ,compatible with MIPI V1.2
 
** 2 x 4lane MIPI_D/CPHY_RX
 
* MIPI TX:
 
** 2 x 4-lane MIPI D-PHY/C-PHY Combo PHY TX, compatible with MIPI DPHY 2.0 or CPHY 1.1
 
* Codec:
 
** On-board ALC5616 Codec
 
** 1 x stereo headphone output ( 20mW/CH, THD+N <= -80dB, 16Ohm Load )
 
** 1 x single-end microphone input
 
* GPIO:
 
** up to 3 x SPIs, 7 x UARTs, 6 x I2Cs, 15 x PWMs, 3 x I2Ss, 1 x SDIO, 81 x GPIOs
 
* others:
 
** low power RTC (HYM8563TS) with backup battery input
 
** Support 38Khz IR input
 
** MASK button for eMMC update, reset button, Power button, and recovery mode button
 
** Debug UART,3.3V level, 1500000bps
 
** 2 x GPIO Controlled LED (SYS, LED1)
 
* Power supply: 5~20VDC input, 15W max
 
* PCB: 8 Layers, 55x65x1.6mm
 
* Stacking height: 6.6mm
 
* Connector: 4 x DF40C-100DP-0.4V(51), the mating connector is DF40HC(3.0)-100DS-0.4V(51)
 
* Ambient Operating Temperature: 0℃ to 70℃
 
  
==接口布局和尺寸==
+
{{RockchipUnbrick|NanoPC-T4}}
[[File:CM3588 CPU board layout.jpg|600px]]
+
*[https://wiki.friendlyelec.com/wiki/images/0/00/CM3588_2309_SCH.PDF CM3588 2309 原理图]
+
*[https://wiki.friendlyelec.com/wiki/images/f/f5/CM3588_2309_DXF.zip CM3588 PCB CAD文件]
+
*[https://wiki.friendlyelec.com/wiki/images/3/37/CM3588_Pinout_Interfaces.pdf CM3588引脚定义和接口说明]
+
===Carrier Board===
+
* Please click [[CM3588 NAS Kit/zh|CM3588 NAS Kit Wiki page]]
+
[[File:CM3588 NAS SDK Carrier board layout.jpg|1000px]]
+
 
+
==快速入门==
+
===准备工作===
+
要开启你的CM3588新玩具,请先准备好以下硬件
+
* CM3588核心板
+
* CM3588 NAS Kit底板
+
* MicroSD卡/TF卡: Class10或以上的 8GB SDHC卡
+
* 一个DC接口的外接电源,要求输出为12V/2A
+
* 如果需要开发与编译,则需要一台可以联网的电脑,推荐安装Ubuntu 20.04 64位系统,并使用下面的脚本初始化开发环境, 也可以使用Docker容器: <br />
+
**[https://github.com/friendlyarm/build-env-on-ubuntu-bionic How to setup the Compiling Environment on Ubuntu bionic]<br />
+
**[https://github.com/friendlyarm/docker-cross-compiler-novnc docker-cross-compiler-novnc]<br />
+
===经测试可选用的TF卡===
+
请参考: [[Template:TFCardsWeTested/zh|TF Cards We Tested]]
+
{{1500000SerialPortDebugSetting/zh}}
+
===安装系统===
+
{{Downloads-RK3588/zh|CM3588}}
+
{{BurnLinuxToSD-Rockchip/zh|CM3588}}
+
{{BurnLinuxToEMMC-Rockchip/zh|CM3588}}
+
==OpenMediaVault NAS系统的使用==
+
===OpenMediaVault NAS系统简介===
+
{{OpenMediaVault-Intro/zh|CM3588}}
+
* 详细请参考如下链接:
+
** [[Getting Started with OpenMediaVault/zh|Getting Started with OpenMediaVault]]
+
==Ubuntu 22.04 桌面系统的使用==
+
===Ubuntu 22.04桌面系统简介===
+
{{UbuntuJammyDesktop-Intro/zh|CM3588}}
+
* Refer to:
+
** [[Ubuntu Jammy Desktop|Ubuntu Jammy Desktop]]
+
{{Android12/zh|CM3588}}
+
==Debian11 桌面系统的使用==
+
===Debian11桌面系统简介===
+
{{DebianBullseyeDesktop-XFCE-Intro/zh|CM3588}}
+
* Refer to:
+
** [[Debian Bullseye Desktop/zh|Debian Bullseye Desktop]]
+
{{OfficialUbuntuCore/zh|CM3588}}
+
{{FriendlyCoreRemoveQt/zh}}
+
==如何编译系统==
+
{{Rockchip-DevEnv/zh|CM3588}}
+
{{RK3588-BuildFromSource/zh|CM3588}}
+
{{RK3588-HWAccess/zh|CM3588}}
+
{{RockchipMiscCustome/zh|RK3588}}
+
{{Template:How to Initialize and Format New SSD And HDD/zh|CM3588}}
+
{{RockchipCommonLinuxTips/zh|rk3588}}
+
{{RockchipUnbrick/zh|CM3588}}
+
==Link to Rockchip Resources==
+
{{LinkToRockchipResources|CM3588}}
+
==手册原理图等开发资料==
+
*CM3588 原理图: https://wiki.friendlyelec.com/wiki/images/0/00/CM3588_2309_SCH.PDF
+
*CM3588 PinDelay: https://wiki.friendlyelec.com/wiki/images/8/81/CM3588_Net_PinDelay.pdf
+
*CM3588 PCB CAD 文件:https://wiki.friendlyelec.com/wiki/images/f/f5/CM3588_2309_DXF.zip
+
*CM3588 引脚和接口说明 https://wiki.friendlyelec.com/wiki/images/3/37/CM3588_Pinout_Interfaces.pdf
+
*CM3588 NAS Kit 原理图: https://wiki.friendlyelec.com/wiki/images/1/15/CM3588_NAS_SDK_2309_SCH.PDF
+
*CM3588 NAS Kit PCB CAD 文件: https://wiki.friendlyelec.com/wiki/images/f/fe/CM3588_NAS_SDK_2309_DXF.zip
+
*CM3588 NAS Kit PCB layout PDF 文件: https://wiki.friendlyelec.com/wiki/images/2/2c/CM3588_NAS_SDK_2309_PCB_Layout.pdf
+
 
+
==更新日志==
+
===2023-11-20===
+
首次发布
+
===2023-11-28===
+
增加CM3588引脚和接口说明文档
+
===2023-12-13===
+
增加CM3588 PinDelay文档
+

Latest revision as of 09:23, 4 June 2024

1 Unbricking Method

If the ROM is not installed correctly, causing the development board to become bricked, and you might not have the opportunity to reinstall the ROM via an SD card, you need to enter Maskrom mode to unbrick it by erasing the storage device.

1.1 Windows Users

1.1.1 Download Required Files

  • Get the necessary tools: Visit here, find RKDevTool_v3.19_for_window.zip and DriverAssitant_v5.12.zip in the 05_Tools directory, and download them to your local machine.
  • Install Rockchip USB driver and RKDevTool: Extract DriverAssitant_v5.12.zip to install the Rockchip USB driver, and extract RKDevTool_v3.19_for_window.zip to obtain the Rockchip flashing tool RKDevTool.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.1.2 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to your computer using a USB data cable.
  • Start RKDevTool on your computer.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button when you see Found One MASKROM Device displayed at the bottom of the interface, as shown below:

Rkdevtool found one maskrom device.png

  • Click the Advanced Function tab in the RKDevTool interface.
  • In the Boot text box, select MiniLoaderAll.bin, then click the Download button.
  • Select EMMC, click Switch Storage, then click the EraseAll button to erase the eMMC.

Rkdevtool erase emmc.png

  • At this point, NanoPC-T4 is restored to its initial state and can be normally booted via SD card or eMMC.

1.2 Linux/Mac Users

1.2.1 Download the Required Files

  • Get the necessary tools: Visit here and find upgrade_tool_v2.30_for_linux.tgz (or for Mac users, select upgrade_tool_v2.25_for_mac.tgz) in the 05_Tools directory and download it locally.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.2.2 Installation for upgrade_tool

The following commands are for Linux, with only slight differences in file and directory names for Mac users:

tar xzf upgrade_tool_v2.30_for_linux.tgz
cd upgrade_tool_v2.30_for_linux
sudo cp upgrade_tool /usr/local/sbin/
sudo chmod 755 /usr/local/sbin/upgrade_tool

1.2.3 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to the computer using a USB data cable.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button after 4 seconds.
  • Check the connection with the following command:
upgrade_tool LD

A result similar to "DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=13 Mode=Maskrom SerialNo=" indicates that the device has been detected.

  • Erase the eMMC with the following command:
upgrade_tool EF MiniLoaderAll.bin
  • At this point, NanoPC-T4 has been restored to its initial state and can boot the system normally via SD card or eMMC.