“SOM-6531”的版本间的差异

来自ARM Wiki
跳转至: 导航搜索
系统烧录
快速入门
 
第246行: 第246行:
  
 
::*Buildroot [http://norcord.com:8070/f/88af1ce89f624d228791/?dl=1/ 下载地址]
 
::*Buildroot [http://norcord.com:8070/f/88af1ce89f624d228791/?dl=1/ 下载地址]
 +
 +
===工具链下载===
 +
{{RK_gcc}}
  
 
===烧录工具下载===
 
===烧录工具下载===

2020年5月21日 (四) 19:21的最新版本

接口布局

接口概览

文件:SOM-6531接口布局.jpg
SOM-6531 接口布局
文件:SOM-6531接口布局.jpg
SOM-6531 接口布局

接口说明

J1
Pin# 引脚定义 功能 Pin# 引脚定义 功能
1 USB_HOST_DP USB_HOST_DP 2 GND GND
3 USB_HOST_DM USB_HOST_DM 4 GPIO0_A7 GPIO0_A7/PCIE_WAKE_M0
5 GND GND 6 I2C1_SCL I2C1_SCL/GPIO0_C0
7 OTG_DP OTG_DP 8 I2C1_SDA I2C1_SDA/GPIO0_C1
9 OTG_DM OTG_DM 10 / /
11 GND GND 12 GND GND
13 / PCIE_REFCLKP 14 OTG_DRV GPIO0_B7/PWM0/OTG_DRV
15 / PCIE_REFCLKN 16 GPIO0_C6 PCIE_CLKREQN_M1/GPIO0_C6/UART3_CTS
17 GND GND 18 GND GND
19 / PCIE_TX1P 20 / PCIE_RX1P
21 / PCIE_TX1N 22 / PCIE_RX1N
23 GND GND 24 GND GND
25 USB_OTG_VBUS USB_OTG_VBUS 26 USB_OTG_ID USB_OTG_ID
27 GPIO0_B6 GPIO0_B6/PCIE_PERST_M1 28 UART5_RX UART5_RX/I2C4_SDA/GPIO3_C3/LCDC_D9
29 GND GND 30 UART5_TX UART5_TX/I2C4_SCL/GPIO3_C2/LCDC_D8
31 USB3_SSRXN PCIE_RX0N/USB3_SSRXN 32 GND GND
33 USB3_SSRXP PCIE_RX0P/USB3_SSRXP 34 ADC_IN0 ADC_IN0
35 GND GND 36 / ADC_IN1
37 USB3_SSTXN PCIE_TX0N/USB3_SSTXN 38 / ADC_IN3
39 USB3_SSTXP PCIE_TX0P/USB3_SSTXP 40 刷机模式 ADC_IN2
J2
Pin# 引脚定义 功能 Pin# 引脚定义 功能
1 GPIO0_C7 UART3_RTS/GPIO0_C7 2 GND GND
3 GPIO2_C4 LCDC_D4/GPIO2_C4 4 GND GND
5 GPIO2_C5 LCDC_D5/GPIO2_C5 6 GMAC_MDIO GMAC_MDIO
7 GND GND 8 GMAC_MDC GMAC_MDC
9 GPIO2_A6 GPIO2_A6/CIF_D4/RGMII_RXER/SPI2_MOSI_M1 10 GND GND
11 GND GND 12 GND GND
13 GPIO2_B1 GPIO2_B1/CIF_D7/RGMII_COL 14 PHY_MDC PHY_MDC
15 UART7_TX GPIO3_C6/LCDC_D12/UART7_TX 16 PHY_MDIO PHY_MDIO
17 UART6_TX GPIO3_C4/LCDC_D10/UART6_TX 18 GND GND
19 UART6_RX GPIO3_C5/LCDC_D11/UART6_RX 20 GND GND
21 GND GND 22 SPKP_OUT SPKP_OUT(rk809)
23 VCCIO_SD VCCIO_SD 24 SPKN_OUT SPKN_OUT(rk809)
25 UART7_RX GPIO3_C7/LCDC_D13/UART7_RX/SPI1_CLK_M1 26 GND GND
27 PWM8 GPIO3_D0/LCDC_D14/PWM8/SPI1_MOSI_M1 28 HPL_OUT HPL_OUT(rk809)
29 GPIO3_D3 GPIO3_D3/LCDC_D17/PWM11/SPI1_CSN1_M1 30 HP_SNS HP_SNS(rk809)
31 GPIO3_D2 GPIO3_D2/LCDC_D16/PWM10/SPI1_MISO_M1 32 HPR_OUT HPR_OUT(rk809)
33 GPIO3_D1 GPIO3_D1/LCDC_D15/PWM9/SPI1_CSN0_M1 34 GND GND
35 GND GND 36 MIC1N MIC1N(rk809)
37 PWRON_KEY PWRON_KEY(rk809) 38 MIC1P MIC1P(rk809)
39 / CLKOUT_32K 40 RESET_L NPOR(Chip hardware reset)
J3
Pin# 引脚定义 功能 Pin# 引脚定义 功能
1 VCC5V0_SYS VCC5V0_SYS 2 VCC5V0_SYS VCC5V0_SYS
3 VCC5V0_SYS VCC5V0_SYS 4 VCC5V0_SYS VCC5V0_SYS
5 VCC5V0_SYS VCC5V0_SYS 6 VCC5V0_SYS VCC5V0_SYS
7 GND GND 8 GND GND
9 GND GND 10 GND GND
11 GND GND 12 GND GND
13 GND GND 14 GND GND
15 GND GND 16 GND GND
17 UART0_TX GPIO0_B2/UART0_TX 18 GND GND
19 UART3_TX GPIO0_C3/PWM1/UART3_TX 20 UART0_RX GPIO0_B3/UART0_RX
21 GPIO4_C3_u GPIO4_C3 22 GPIO0_B5 GPIO0_B5/UART0_RTS/TEST_CLK1
23 GND GND 24 UART3_RX GPIO0_C4/PWM3/UART3_RX
25 I2C3_SDA GPIO2_D1/I2C3_SDA/UART2_RX_M1 26 GPIO0_B4 GPIO0_B4/UART0_CTS
27 I2C3_SCL GPIO2_D0/I2C3_SCL/UART2_TX_M1 28 GND GND
29 I2C5_SCL GPIO4_C1/I2C5_SCL 30 GPIO4_A6 GPIO4_A6/SDMMC1_CMD
31 I2C5_SDA GPIO4_C2/I2C5_SDA 32 GPIO4_A7 GPIO4_A7/SDMMC1_CLK
33 GPIO4_C4_u GPIO4_C4 34 GPIO4_B0 GPIO4_B0/SDMMC1_D0/UART1_RX_M0
35 VCCIO_3V3 VCCIO_3V3 36 GPIO4_B1 GPIO4_B1/SDMMC1_D1/UART1_TX_M0
37 GND GND 38 GPIO4_B2 GPIO4_B2/SDMMC1_D2/UART1_CTS
39 VCC_1V8 VCC_1V8 40 GPIO4_B3 GPIO4_B3/SDMMC1_D3/UART1_RTS
J4
Pin# 引脚定义 功能 Pin# 引脚定义 功能
1 MIPI_CSI_D0N MIPI_CSI_D0N 2 GPIO3_B0 GPIO3_B0/I2S0_SCLK_RX/PDM_CLK0
3 MIPI_CSI_D0P MIPI_CSI_D0P 4 GPIO3_A7 GPIO3_A7/I2S0_SDI1/PDM_SDI1
5 GND GND 6 GPIO3_A6 GPIO3_A6/I2S0_SDI2/PDM_SDI2
7 MIP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_CLKREQN_M0 / 40 GPIO4_A5 GPIO4_A5/SDMMC0_D3/JTAG_TMS
J5
Pin# 引脚定义 功能 Pin# 引脚定义 功能
1 UART4_RX GPIO4_B4/UART4_RX/SPI1_CLK_M0 2 GPIO1_B7 GPIO1_B7/SPI0_CLK/PWM5
3 UART4_TX GPIO4_B5/UART4_TX/SPI1_MOSI_M0 4 GPIO1_B4 GPIO1_B4/SPI0_MOSI/I2C2_SCL_M1/UART1_RX_M1
5 GND GND 6 GPIO1_B5 GPIO1_B5/SPI0_MISO/I2C2_SDA_M1/UART1_TX_M1
7 MIPI_DSI_D0P MIPI_DSI_D0P 8 GPIO1_B6 GPIO1_B6/SPI0_CSN
9 MIPI_DSI_D0N MIPI_DSI_D0N 10 GND GND
11 GND GND 12 VCC33_LAN VCC33_LAN
13 MIPI_DSI_D1P MIPI_DSI_D1P 14 / LED2/YELLOW-(rtl8211f)
15 MIPI_DSI_D1N MIPI_DSI_D1N 16 / LED1/CFG_LDO0/GREEN+(rtl8211f)
17 GND GND 18 GND GND
19 MIPI_DSI_D2P MIPI_DSI_D2P 20 MDI0+ MDI0+(rtl8211f)
21 MIPI_DSI_D2N MIPI_DSI_D2N 22 MDI0- MDI0-(rtl8211f)
23 GND GND 24 GND GND
25 MIPI_DSI_D3P MIPI_DSI_D3P 26 MDI1+ MDI1+(rtl8211f)
27 MIPI_DSI_D3N MIPI_DSI_D3N 28 MDI1- MDI1-(rtl8211f)
29 GND GND 30 GND GND
31 MIPI_DSI_CLKP MIPI_DSI_CLKP 32 MDI2+ MDI2+(rtl8211f)
33 MIPI_DSI_CLKN MIPI_DSI_CLKN 34 MDI2- MDI2-(rtl8211f)
35 GPIO4_C0 GPIO4_C0/SPI1_CSN1_M0 36 GND GND
37 GPIO4_B7 GPIO4_B7/UART4_RTS/SPI1_MISO_M0 38 MDI3+ MDI3+(rtl8211f)
39 GPIO4_B6 GPIO4_B6/UART4_CTS/SPI1_CSN0_M0 40 MDI3- MDI3-(rtl8211f)

快速入门

系统下载

Android系统
Linux系统

工具链下载

烧录工具下载

系统烧录

  • 将烧录线与主板连接,并接通电源
    • 接口位置依据底板而定
  • 下载烧录工具
→注意:请务必先安装驱动,烧录工具链接含有驱动(DriverAssitant名字起头的压缩包),解压后点击DriverInstall.exe安装驱动
RK 驱动
  • 开始烧录
  • 将数据线一端与主板OTG连接,另一端连接电脑
RK 烧录接线图
  • 打开压缩包中AndroidTool >> 升级固件 >> 点击[固件]并选择好固件 >> 点击[升级]开始烧录(需要在loader或maskrom模式下烧录)
RK 烧录接线图1
  • 点击升级后如果提示设备类型不匹配,请检查烧录跳帽并重新上电或者点击[切换]按钮进入loader或者maskrom模式后烧录系统
RK 烧录接线图2
  • 更换系统平台(例如安卓切换到Linux)时,可能出现无法烧录的情况,此时打开AndroidTool >> 高级功能 >> 点击[进入Maskrom]切换烧录模式后烧录系统
RK 烧录接线图3
  • 完成烧录
烧录过程不需要任何操作,烧录成功后右框会显示设备自动重启,届时断开主板电源,并还原跳帽把主板恢复成正常模式,烧录完成。
RK 烧录图3


API参考与使用

Android系统API
Linux系统API
  • Linux API [ 参考页面]
  • API文件下载地址(.so) 下载地址