#2 Things to know with Cubie Board Hardware

Hi buddy’s, we hope you are enjoying our sessions. If you haven’t read previous article here it is Getting Started with Cubie Board.

When you begin to use another device, there are a couple addresses that may come to your brain. How would I know it is functioning legitimately? cubie-board_01How would I get a output from on the other hand an info to the device, for example, feature on a screen or key strokes from a console?

BUY Cubie Board NOW on RoboMart

These are likely the first fundamental inquiries that are asked after a board is unloaded on the other hand began interestingly.

Connecting a serial port

A serial port may appear to be something obsolete, however it is truth be told still extremely regular on specific devices. One of the primary reasons is that it is extremely basic and solid. It is exceptionally basic in both equipment and programming executions, and due to its straightforwardness, it is regularly exceptionally dependable and basically dependably lives up to expectations, which is the reason it has been on devices since the sixties until today. A serial communication is, be that as it may, maybe moderate, yet for content based data and output. Nonetheless, why might one need a serial port in the first place? The serial port is regularly the main thing giving any output. There are two approaches to connect the serial port or UART to the device, either with a USB to UART connector or with a genuine serial port and a level shifter to change over the voltage to the suitable voltage.

Since most PCs really do not have a serial port, just the USB to serial methodology will be examined here. The primary step is to associate the USB to UART connector to your Cubieboard, which can be a test in itself as there are some USB to UART connectors with three wires, where others have four or considerably more. At long last, there are 3.3v or 5v connectors. Check which flag and whether the voltage is 3.3 volts. For the situation of the USB to serial connector that is delivered with the Cubieboards, for instance.

Connection Diagram

  • Black wire is GND (0v) and connects to the GND pin
  • Green wire is TX used transmit the data and connects to the RX or receive pin on the board
  • White is RX used to receive the data and connects to the TX or transmit pin on the board
  • Red is VCC (5v) used to power-up the board.


In the previous connection of uniting the UART side of things, the flip side can just be connected to a USB port. Contingent upon the working framework utilized, a driver may should be introduced; moreover, a system to interface with this serial port is needed, and this makes something alluded to as a serial terminal. PuTTY is such a system, and it is accessible on most working frameworks. Other working frameworks may have it accessible through an implicit programming store, and it can be introduced through along these lines. Other usable sorts of programming to see the serial comfort are projects, for example, GNU Screen or minicom and can be utilized similarly well.

A few parameters are expected to get the serial correspondence working; a baud rate of 115,200 bits for each second is required. Also, eight information bits, no equality, and one stop bit may be required (which is frequently abridged as 8n1), yet both in the previously stated instance of screen (which is the default) may be overlooked.

For screen, screen /dev/ttyUSB0 115200 charge line can be utilized, accepting /dev/ttyUSB0 is the serial port that is being utilized.

On the off chance that the serial association was set up appropriately, applying energy to the Cubieboard should now yield content on the serial reassure. An illustration of this content is indicated in the taking after screenshot. Here, the bootloader that is normally introduced on a microSD card is shown. In the first place, the SPL is stacked, which tests the memory and prints the current CPU arrangement, trailed by U-Boot, which prints the current setup. Observe the below screenshot..



Booting preinstalled software

At the point when a Cubieboard is initially controlled up, a couple of things happen. Initially, the SoC checks different devices to see whether it can boot from them. In the event that accessible, the locally available NAND to be prearranged by the manufacturer. Booting up the Cubieboard utilizing whatever is preinstalled does fill a need. It permits you to check whether the Cubieboard is working legitimately.

In the event that the Cubieboard doesn’t have a preinstalled working framework or a NAND streak, a uniquely arranged microSD card can be utilized. It ought to yield comparable results since the microSD card is really the first priority that the SoC tries to boot.

It can be extremely valuable to have one around. The accompanying sections will give you an thought regarding how to get ready such a SD card. The preinstalled working framework will likely oblige a screen, console, and mouse joined with the goal that it can be associated with. While most variations have the Android OS preinstalled, there have been situations where a summon line adaptation of Linux was introduced. With an Android preinstallation, different segments can without much of a stretch be tried.

What you have learned?

You have learned How to connect serial port and booting Cubie board with pre-installed operating system. Checking things working properly or not.

We are giving huge discounts on Development Boards buy Cubie Board from our store. Thank you..

BUY Cubie Board NOW on RoboMart