Untraceable problem with minicom
Dear all,
I am facing an untraceable problem with minicom. Allow me to provide proper details so that it will be easier to provide assistance.
I am using a desktop PC with Ubuntu 10.10. It has only one serial port (ttyS0) and I have verified that using the command " dmesg | grep tty ".
My development board is called HDP6410, which is a clone of the SMDK6410. The processor is S3C6410 with ARM 1176 JZ(F)-S core. After I start minicom, when I connect the board to the pc using a null-modem cable and power up the board I am supposed to see booting updates on minicom, followed by a prompt that would allow me to access the board. However, I do not see anything. I know that the serial port on the pc and the serial cable are fully functional because I do get all the booting updates and prompt when I use a custom serial communication software provided with the board. However, I want to use minicom because the custom software provides no means of transferring files.
I added my username to the following groups : dialout, uucp and tty.
I have also checked that ttyS0 has read/write permissions.
My settings in minicom are as follows:
Serial Device : /dev/ttyS0
Lockfile Location : /var/lock
Bps / Par / Bits : 115200 8N1
hardware flow control : no
software flow control : no
I have tried running minicom both as normal user and root, but I still get no output on the console when I power up the board. I know for sure that the serial port on the board is working fine and it does send messages once I power up the board. Something is wrong on the PC side. For some reason when I run minicom, the connection is probably not established on the PC side.
Am I missing any essential configurations / settings ?
I would highly appreciated some guidance on this. I have been trying for a week now without any positive result. Please help.
Sincerely,
Shan
Comments
-
Please do not post the same question in 2 different forums, it just makes more work for the moderators. I'll leave this post since it is hardware related and remove the other post. Thanks, hopefully, someone will come along shortly that has experience with your problem.0
-
I have an ARM board that I use for embedded development that uses the serial port for console access. Are you sure that the port settings in minicom are correct. I have had to remember to set up the connection properly in the past for much the same reason as you are experiencing.
Also, you don't need to run minicom as root, normally. What does the board documentation say about baud rate, etc? In many cases, it may default to 9600 or 19200 instead of the 115200 that you are using.0 -
To Rubberman,
The baud rate is correct; it is 115200. I know this because when I use the custom software the boot messages show that the baud rate for the UART on the board is 115200, hence the baud rate on minicom should be the same.
As for the other settings, I have already provided the details of the settings I make in minicom. Are there any mistakes there? Am I missing any other steps?0 -
Have you set the device's baud rate manually? Check it first with:
stty -F /dev/ttyS0
it'll say speed 9600 baud, etc., etc.
If it doesn't look right, then set it w/the same utility, e.g.:stty -F /dev/ttyS0 115200
If you then try minicom and it STILL doesn't work, i've found resetting the device with the following command sometimes helps:stty -F /dev/ttyS0 sane
hth,
-bill0
Categories
- All Categories
- 176 LFX Mentorship
- 176 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 1 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 949 Programming and Development
- 310 Kernel Development
- 621 Software Development
- 982 Software
- 374 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)