![]() In case you want to know how to set up a terminal emulator to start accessing your module, please refer to Serial Terminal Emulator article. Make sure that the jumpers JP19 and JP17 are set to USB mode as shown in the image below: Use UART A via the USB Type-B connector X27: Select your carrier board from the tabs below: To apply the changes, either reboot or log off, and log in. To do it in a single-line, in your development PC, run: $ sudo usermod -a -G dialout $(whoami) You can find your user name with the whoami command. To avoid being requested to use sudo all the time, you can add your user to the dialout group. Plug the device and run the same command again, your device will be listed: $ ls /dev/ttyUSB* Unplug the device from your computer and run: $ ls /dev/ttyUSB* Linux - Find the Number of the ttyUSB Port Your COMx port will be listed under Ports. Go to Control Panel and find the Device Manager. Windows - Find the Number of the COM Port port: it depends on your hardware, often it is /dev/ttyUSBx on Linux, or COMx on Windows, being x a number to be determined in the next section.Console Serial ParametersĬonnecting to the board requires some parameters, here they are: This section applies to both our BSP Layers and Reference Images for Yocto Project and TorizonCore. You can easily access your Toradex SoM via the serial, in this section, you will find out how to set up the hardware on each of our boards as well as know the parameters. In case you would like to disable debug messages or the virtual console on graphical output (DVI-I, HDMI, LVDS, or VGA) please refer to the Framebuffer (Linux) article. Tip: This article shows how to disable the debug messages on the serial console only. crash of the user interface) or analyzing if the system is in a non-bootable state. Disabling it prevents analyzing errors (e.g. Warning: We do not recommend to use UART_A for any other purpose. If you are looking for instructions on how to communicate with other devices using the UART, please refer to the article UART (Linux). How to use (attach to and communicate via) the debug UART, a.k.a serial console.The serial console is the primary and most reliable interface to the boot loader and Linux kernel. On our Toradex modules, the U-Boot boot loader and the Linux kernel use UART_A as serial debug console.
0 Comments
Leave a Reply. |