Chipsee BCM Debian User Manual V1.0

Revision | Date | Author | Description |
1.0 | 2020-01-16 | Chipsee | Initial |
Supported Board
CS10600RA070-V1.0
Supported Prebuilt Images
2019-04-08-raspbian-stretch-full-chipsee.img.xz
2019-04-08-raspbian-stretch-chipsee.img.xz
2019-04-08-raspbian-stretch-lite-chipsee.img.xz
System Features
Feature | Comment |
Kernel | Kernel 4.14.98 |
System Version * | 2019-04-08 based on raspbian 2019-04-08 |
Python | Python 2.7.13 / Python 3.5.3 |
Qt | Need install By yourself |
GCC | 6.3.0 |
Debian Version | Debian 9.8 (stretch) |
user/password | [pi/raspberry] |
*The system we used is based on raspberry official system, more information pleases reference follow:
1. Prepare
1.1. Hardware
• Chipsee Raspberry Pi®
• 6V ~ 36V Power Adapter (7”)
• Mini-B USB OTG Cable
• USB to serial cable or other serial debug cable
• SD Card ( If you use CM3 Lite or CM3+ Lite)
You need to prepare the Power Adapter by yourself. This 7” product needs a 6V ~ 36V Power Adapter. A Mini-B USB OTG cable is used to download the system images to the board with the CM3/CM3+ in the Windows Platform. The USB to serial cable is used to debug the Chipsee Raspberry Pi® product. The SD card is used to make a bootable card.
1.2. Software
• 7zip
• Prebuilt Images
• balenaEtcher
• rpiboot
• Xshell or other terminal emulation software
• VNC-Viewer
If you need to change the system, you need to 7zip/Prebuilt image/balenaEtcher/rpiboot. You can use the Xshell or other terminal emulation software to debug the Chipsee Raspberry Pi® product in Windows. You can use VNC-Viewer to remote control the Chipsee Raspberry Pi® product over Ethernet.
2. Debug
This document uses Xshell to debug the Chipsee Raspberry Pi® product. You also can use other tools, like Putty or other terminal emulation software.
2.1. Serial Debug
There are 2 serial ports, RS232_0 and RS232_1/RS485_1 (Note: You can only use one at a time for RS232_1/RS485_1).
The RS232_0 is configured as a debug console by default. You can use it to debug directly, and the default user and password is [pi/raspberry]. Use the following session properties, like Figure 2-1.

Figure 2-1 Session Properties
If you need to change the debug serial to normal serial, you can remove the console=ttyAMA0, 115200 in /boot/cmdline.txt and reboot.
2.2. SSH Debug
Connect Chipsee Raspberry Pi® product to Internet, and get the ip address. Then config Xshell or use ssh tool in Linux PC directly.
- You need to enable the SSH feature in the Chipsee Raspberry Pi® product first. Run the following command in debug console.
$ sudo raspi-config Interfacing Options -> SSH -> Yes
- If you don’t have a debug console, you also can use the GUI feature to enable the SSH.

Figure 2-2 Configuration

Figure 2-3 Configurations SSH
Now we will introduce the Xshell ssh debug. First we need to add one new session, and then set the session like in Figure 2-4.

Figure 2-4 SSH Setting

Figure 2-5 SSH Debug
2.3. VNC Debug
You can use the VNC-Viewer in Windows to control the Chipsee Raspberry Pi® product over Ethernet.
- You need to enable the VNC feature in the Chipsee Raspberry Pi® product. Run the following command in the debug console.
$ sudo raspi-config Interfacing Options -> VNC -> Yes
- If you don’t have a debug console, you also can use the GUI feature to enable the VNC.

Figure 2-6 Configurations

Figure 2-7 Configurations VNC
- Use the VNC-Viewer in Windows to control it over Ethernet. Like in Figure 2-8, 2-9, 2-10.

Figure 2-8 Vnc-Viewer Connect

Figure 2-9 authentications

Figure 2-10 VNC Desktop
3. Downloading images
3.1. Booting switch configuration
The Chipsee Raspberry Pi® product supports an SD boot and an eMMC boot, it is based on your CM3. If you use the CM3 module with eMMC, you can only use the eMMC boot. If you use the CM3 Lite which has no eMMC, you can only use the SD boot, the SD card should be placed in SD0. The SD1 is used as external storage.
When you need to use the eMMC boot, you should configure the boot switch to USB position first, after you flash the eMMC, you need configure the boot switch to eMMC position again.
When you need to use the SD boot, you should configure the boot switch to the eMMC position.
3.2. Prebuilt file package
The Chipsee Raspberry Pi® product uses the Raspberry Pi® official system as a base and adds some modules and drivers. You can download the image from the following link:
2020-02-13-raspbian-buster-full-chipsee-v2(SD or eMMC at least 8GB)
2020-02-13-raspbian-buster-chipsee-v2(SD or eMMC at least 4GB)
2020-02-13-raspbian-buster-lite-chipsee-v2(SD or eMMC at least 2GB)
If you’re not using the balenaEtcher, you’ll need to unzip .img.xz downloads to get the image file (.img) to write to your SD card.
3.3. Downloading images with SD Card
Before you start, don’t forget to check your SD card size (at least 8GB).
You will need to use an image writing tool to install the image you have downloaded on your SD card.
balenaEtcher is a graphical SD card writing tool that works on Mac OS, Linux and Windows, and is the easiest option for most users. balenaEtcher also supports writing images directly from the .img.xz file, without any unzipping required. To write your image with balenaEtcher:
Download the latest version of balenaEtcher and install it.
- Connect an SD card reader with the SD card inside.
- Open balenaEtcher and select from your hard drive the Raspberry Pi® .img.xz file you wish to write to the SD card.
- Select the SD card you wish to write your image to.
- Review your selections and click ‘Flash!’ to begin writing data to the SD card.
Note: for Linux users, zenity might need to be installed on your machine for balenaEtcher to be able to write the image on your SD card.
3.4. Writing images to the eMMC
Before you start, don’t forget to check your eMMC size, and select one image. You need to install rpitools to enable the eMMC as one SD card in your PC.
Under Windows, an installer is available to install the required drivers and boot the tool automatically. For those who just want to enable the Compute Module eMMC as a mass storage device under Windows, the stand-alone installer is the recommended option.
- Download and run the Windows installer rpitools to install the drivers and boot tool.
- Plug your host PC USB into the USB Downloader port, making sure boot switch is set to the USB position.
- Apply power to the board; Windows should now find the hardware and install the driver.
- Once the driver installation is complete, run the RPiBoot.exe tool that was previously installed.
- After a few seconds, the Compute Module eMMC will pop up under Windows as a disk (USB mass storage device).
- Reference 3.3 Writing images to the SD card to flash system to eMMC (as one SD card in Windows)
- After you’re done, power off, making sure the boot switch is set to eMMC position and power on to use the new system.
4. System Resource
4.1. Power Port
The power ports P20 and P21 on the PCB have the same function. Only use one at a time. You can apply 6V ~ 36V voltage.
4.2. SD Card/USB
The SD Card which treads as external storage needs to be placed in SD1 port, the SD0 port is used by the boot. The SD Card and USB Storage support hot plug. They will be automatically mounted on /media/pi/. Like in Figure 4-1.

Figure 4-1 TF Card
4.3. Serial Port
Table 4-1 Serial port device node and protocol
Ports | Name | Node | Protocol |
1 | RS232_0 | /dev/serial0/td> | RS232 |
2 | RS232_1/RS485_1 | /dev/serial1 | RS232/RS485 |
Note: RS232_1/RS485_1 use the same UART pins from the CPU, so they use the same device node. You can only use one at a time. The RS485 signal has been mounted on the 120Ohm Matched Resistance.
You can install “cutecom” to test the serial port:
$ sudo apt-get install cutecom
Only root user and use the serial port:
$ sudo cutecom
There is one GPIO which is used by RS485, you can control it to enable and disable the RS485 send and receive. Check the following table.
Table 4-2 RS485 control GPIO
GPIO | Initial | Control | Function |
GPIO34 | $ echo 34 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio34/direction $ ln -s /sys/class/gpio/gpio34/value /dev/rs485con |
$echo 1 > /dev/rs485con | Enable send
Disable receive |
$echo 0 > /dev/rs485con | Enable receive
Disable send |
4.4. GPIO
There are 8 GPIOs, 4 Output and 4 Input. They are all isolated, you can control the output or input pin voltage by feeding the VDD_ISO suite voltage, you can select 5V~24V. To see the detailed port define, you can check the following table:
Table 4-3 CS10600RA070 – V1.0 P19 Port
Pin Number | GPIO Number | Function | Device Node |
1 | GPIO11 | IN4 | /dev/chipsee-gpio8 |
2 | GPIO10 | IN3 | /dev/chipsee-gpio7 |
3 | GPIO9 | IN2 | /dev/chipsee-gpio6 |
4 | GPIO8 | IN1 | /dev/chipsee-gpio5 |
5 | GPIO7 | OUT4 | /dev/chipsee-gpio4 |
6 | GPIO6 | OUT3 | /dev/chipsee-gpio3 |
7 | GPIO5 | OUT2 | /dev/chipsee-gpio2 |
8 | GPIO4 | OUT1 | /dev/chipsee-gpio1 |
9 | GND_ISO | Isolated GND | NC |
10 | VDD_ISO | Isolated VDD(5V-24V) | NC |
- Control OUT1, set it high or low
$ echo 1 > /dev/chipsee-gpio1 // set OUT1 high $ echo 0 > /dev/chipsee-gpio1 // set OUT1 low
- Get INT1 value
$ cat /dev/chipsee-gpio5 // value 1 indicate high, value 0 indicate low
4.5. BUZZER
- The buzzer is GPIO21, to create one symbol link to /dev/buzzer, control it with the following code:
$ echo 1 > /dev/buzzer //enable buzzer $ echo 0 > /dev/buzzer // disable buzzer
4.6. Backlight
- The backlight is controlled by GPIO41, control it with the following code:
$ echo 1 > /sys/class/gpio/gpio41/value //enable backlight $ echo 0 > /sys/class/gpio/gpio41/value //disable backlight
4.7. 4G
- You can use 4G on the Chipsee Raspberry Pi® product. If the 4G module is Quectel EC20, you can use the following tools to connect to the internet.
$ sudo install udhcpc $ quectel-CM –s 3gnet / cmnet & // select different network base on your SIM card, 3gnet is used by China-unicom and cmnet is used by China-mobile
4.8. Camera
The camera connector CAM is compatible with Raspberry Pi®. Please reference the following link to know how to attach one camera.
https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-camera.md
4.9. Chipsee-init shell
We use one chipsee-init.sh as one initial shell which is placed in /opt/chipsee/chipsee-init.sh, we initial the GPIO/Buzzer/Backlight/Audio in it. If you need to change it, please be careful. Backup it first before you need to modify it.
