I have tried to get the console of my beaglebone black via uart using a 6 pin usb to serial( PL2303HXD 6Pin USB TTL RS232) with my beaglebone powered up with 5V adapter , but am unable to get the console .
I suspected that there might be problem with my UART cable . I have checked it if it is working or not by connecting the tx and rx of it and checked the inputs given are displayed or not and it worked as well
I have checked in my board in both GPIO pins(Pin 11 and 13 , GPIO UART tx and rx) as well as in UART pins (UART tx rx and gnd) . Also checked by Vcc to the serial to usb as well . checked with all possible baudrates too , unable to get console
Can anyone help in finding out how if the problem is with the board or am I missing any configuration inorder to get UART communication ?
TIA,
Dharbanesh
PS: I have used the image from beaglebone official site and flashed it using a sd-card
I have earlier experience with Beaglebone black where it has UART which helps in stopping the console in bootloader and lets us inspect the boot logs . but USB doesnât help for these . Is there a way to see boot logs via USB cable communication
You are right, for your usage, USB can not do this.
For my understand, after release, software package bootloader outlog no inside detail information, only you got develop version, these logs may give you some information.
Have you tested your USB to serial convertor? Connect RX and TX and running some serial terminal program you should see back what you type. Make sure local echo is disabled though
a few things you could check
if you have a DVM (digital volt meter) the tx pin should have 3.3 volts the rx pin should have 0 volts, this is without the usb-serial connected and the BBB powered
with the usb-serial connected, both rx and tx should have 3.3 volts
look at your uEnv.txt file, does it contain âconsole=ttyS0,115200n8â
can you modify you uEnv.txt file
cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet
remove the word âquiteâ
this will allow all the debug stuff during boot.
As I donât have the serial console verifying the boot logs with removing the âquietâ didnât help and console=ttyS0,115200n8 is not present in my uEnv.txt
Regarding the DVM part , I have a multimeter with me , consider me as a 5 yr old and please elaborate how to measure because when I connect the positive of.multimeter to tx pin and negative to gnd , the readings are like 0.02 0.01 and it fluctuates . Or if you have a video reference to measure pleasure share because none of the video helped me as most of them dealt with breadboard circuit.
What is your host running. If you are doing linux in a VM hosted by windows you are on a dead end.
Native linux debian or ubuntu, with gtkterm, if you can do that set up let us know.
Ok, iâm a bit concerned with uEnv.txt not having console line
can you post the file name that your using??
from the latest image i just downloaded
am335x-debian-12.2-iot-armhf-2023-10-07-4gb.img.xz
âcat /boot/uEnv.txtâ outputs the following towards the end (linux command), this is done from ssh into the BBB. (the quote are not part of the command)
from a mount sdcard, uEnv.txt will be in ârootfs/boot/uEnv.txtâ (not sure how widows shows this)
next,
as for the DVM, iâm concerned with you not getting 3.3 volts
make sure the DVM is set to measure DC voltage
sorry, no video.
pin 1 for ground
pin 5 for tx
iâm asking for the voltage measurement without the USB-serial adapter attached, trying to determine if the BBB has a electrical issue.
also, measure the tx pin on the USB-serial adapter when not connected to the BBB, but is connected to a USB port.