

Use minicom to access Bios of ROCK Pi X: We need to configure the minicom configuration file, such as: cd vim.
Use minicom install#
⚠️ Content here is for search engine crawlers. install the minicom sudo apt-get install minicom 2. Here is some example code to show the corresponding output from the example output aboveĪdditional help and info can be found here:Ībout GitHub Wiki SEE, a crawler enabler for GitHub Wikis as GitHub blocks
Use minicom serial#
Minicom = From the linux terminal to immediately enter the serial view O = To bring up the settings menu from within minicom (restart mincom to take effect) Some helpful minicom commands to know: First push CTRL-A simultaneously followed by key X = To exit minicom If all went well you will see whatever output is sent out serially, for example the output from the printf() function like so. So exit minicom before flashing the board. Exit from minicom will exit the whole program.ĭo note that because there is only 1 serial port if you are running minicom WHILE trying to flash the board with kflash, then kflash will fail. “Exit” will exit the settings and allow you to see minicoms monitor.

Save your settings by selecting the “Save setup as dfl” so you don’t have to reconfigure it every time you run minicom. Pushing “T” here for example toggles it on/off. I recommend turning on “Line Wrap” and “Add carriage return” to get clearer text output. Next configure the “Screen and keyboard” settings. Press “A” to begin editing the line for Serial Device, when done press enter. Make sure you set the port to the one your device is connected to and that the baudrate is 115200 (for the Kendryte K210 at least). Using the arrow keys and the enter key to confirm your selections select “Serial port setup” this will bring up a window that lets you set the port used and the baudrate. Which turns your terminal view into this: The same port used to flash the board will be used for the monitor. For the Kendryte board since all its inputs/outputs are through the USB-C port it will be the same port used to flash the board. Then confirm which ports you are going to use. This allows one to insert print statements and view the output.įirst install minicom if its not already in your system with: By pressing C-A first and then 'z', a help screen comes up with a short summary of all commands.
Use minicom how to#
This document explains how to debug a small embedded device with no interface via its serial terminal using Minicom. To popup a window with the function you want, press Control-A (from now on, we will use C-A to mean Control-A), and then the function key (a-z or A-Z).
