Discover serial port breakout board, include the articles, news, trends, analysis and practical advice about serial port breakout board on alibabacloud.com
Uboot and kernel modify and print the serial port and ubootkernel serial port
Here I use s5pv210, which originally outputs COM2. Now I want to change it to COM0 output, to view the uboot command line information and the kernel startup information, we should make the following changes:
1. Changes to uboot
We modify t
Development Board model: friendly micro2440 (with a 7-inch screen -- awesome !)
Bootload: Vivi
System: Linux (The Development Board comes with 2.6.29)
Reference: http://www.100ask.net/showtopic.aspx? Forumid = 2 topicid = 15 go = next
Http://www.linuxforum.net/forum/showflat.php? Cat = board = embedded number = 606916 page = view = SB = O = fpart = 1
common key combinations.
(1) S key: send the file to the target system;
(2) W key: automatic screen scrolling. When more than one line is displayed, the next line is automatically wrapped. This function is useful when viewing kernel startup information.
(3) C: Clear the display content on the screen;
(4) Key B: view the historical display of minicom;
(5) Key X: Exit mInicom and a prompt is displayed to confirm exit.
$
Okay. After the USB to
configured, It is the serial port tool. Kermit is used here.
Install Kermit
$ Sudo apt-Get install ckermit
Configuration
Here, the configuration is to manually write a configuration file. kermrc, which is placed in the/home/Jun directory (of course, you are definitely not the Jun directory, that is, the current user's home directory)
$ VI. kermrc # The file content is below. Note that this
From: http://blog.csdn.net/dongliqiang2006/archive/2009/11/28/4889440.aspx
Steps for downloading a program through a serial port in dm355Check whether C:/Windows/Microsoft. NET/framework/v2.0.50727 or a later version is installed on the computer. Install the. NET component before installation.
Dm35x_flashandbootutils_201710.tar.gz
Decompress the file and rename the file name dm35x_flashandbootutils_000010 t
1. Check whether the kernel supports USB to serial port
2. Set minicom
3. link the android Development Board and restart the system.
Note:
1, if not normal link, please check the serial first TXD-RX, RXD-TX, GND-GND is correct, link OK, you can see the onlie, instead of offline. See the figure below:
2.
Reads digital signals from the serial portThis example shows how to monitor the switch status by establishing a serial port communication between the Arduino and the computer.Hardware requirementsArduino Development BoardAn instantaneous switch, button, or mobile Switch10 k ohm resistanceBreadWireCircuit
Image developed using Fritzing. For more circuit examples,
) latitude hemisphere N (northern hemisphere) or S (Southern Hemisphere)(5) longitude dddmm. mmmm (degree) format (the preceding 0 will also be transmitted)(6) longitude hemisphere E (eastern longitude) or W (Western longitude)(7) ground speed (000.0 ~ Section 999.9, the previous 0 will also be transmitted)(8) ground heading (000.0 ~ 359.9 degrees. Based on the reference of zhenbei, the preceding 0 will also be transmitted)(9) UTC date, in ddmmyy format(10) magnetic angle (000.0 ~ 180.0 degrees,
command can enter the Minicom console) so that the configuration is effective, and then connected to the Development Board of the serial line, you can print the correct serial port information in the minicom. The Minicom menu can be accessed under the console by combining keys CTRL + A Z.The use of a key combination i
correct, type Enter to return to the ancestor configuration interface and save it as the default configuration (that is, save Setup as DFL). Finally, select the "Exit from Minicom" command to exit.The specific configuration information is as follows:Serial port Setup [Enter]+-------------------------------------------------------------+| A-serial Device:/dev/ttyusb0 || B-lockfile Location:/var/lock || C-ca
Experimental Purpose:PC software through the serial port control FPGA Development Board on the 4 LED lights off, while the digital tube shows the number of LED lights, experimental results such as.Experimental background:Always want to learn FPGA, this is an introduction, I am reading to learn, so the code of the FPGA is reference to the revision of the book, in
In the learning of embedded, in the use of Ubuntu to connect the development Board when the software setup problem is plagued by death, multi-find, is not the configuration after 2013, in this, chat with you about the setup of the Development Board, I new study, may write too shallow, readers do not spray.This article only said that the serial
function in C performs further initialization, such as the NIC, and then enters the main_loop loop. The relocated U-boot memory layout is as follows:
Now execute make all to compile the u-boot.bin and u-boot-spl.bin, but compilation error:
In clock. the s5pv210_get_arm-clk of C uses the macro samsung_get_base_clock and the related registers, because our clock code was previously implemented using assembly, so we have the arch-s5pc1xx in arch/ARM/include/ASM/clock. h to define these registers:
Summary: Taking the serial port driver of the b0x Chip Based on the ARM7TDMI kernel as an example, this paper analyzes the hierarchy and mechanism of the VxWorks serial port driver, and studies the working principle of the TTY driver and the underlying SCC driver. Combined with the
Enable Serial Output debugging on the friendly 2440 Development Board
Favorites
2440 Development Board, WINCE6.0 system. When the system was started, it was found that the serial port tool did not output any information. Google, it turned out to be friendly and blocked.So
" command to exit.
The specific configuration information is as follows:Serial Port setup[Enter]+ ------------------------------------------------------------- +|A-serial device:/dev/ttyusb0 || B-Lockfile location:/var/lock || C-Callin program: || D-calloutProgram-: || E-Bps/PAR/bits: 115200 8n1 || F-hardwareFlow Control: No || G-software flowControl: No |||| Change which setting?|+ ------------------------
Previously, when I was playing gec2410, I had the idea that I was debugging it in Linux. Because the target board is powered or the serial port sent to the PC during the reset, this was already implemented in windows, so I wanted to see the results in Linux, but after setting up a serial
-pin serial port, Common on the circuit board, often with DuPont pins on top. There is also the fifth needle, 3.3v power supply end. Because it is reserved on the circuit board, there are many protocols, depending on the specific device. Below is
D-type 9-pin serial
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.