How to get the serial port to show up in Linux 64-bit for the 4343W AVN board?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I'm guessing I need a udev rule to get the serial port to show up.  Anyone able to do this?  I've tried on both Ubuntu 15.1 and Linux Mint 17.  Not USB ports show up in /dev

Here is the output from lsusb.  This is from Linux Mint 17.  The output from Ubuntu only include the first Broadcom device, not the second secure processor.

Bus 002 Device 005: ID 0a5c:43fa Broadcom Corp.

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 101: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card

Bus 003 Device 093: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick

Bus 003 Device 092: ID 413c:8157 Dell Computer Corp. Integrated Keyboard

Bus 003 Device 091: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

0 Likes
1 Solution
Anonymous
Not applicable

You can add the BCM4343W to your Linux UDEV configuration by using the steps and files described in this post:  1. Prepare your device — wubby 1.0 documentation.

Ignore the Wubby stuff, and just pay attention to the instructions at the bottom which tell you where to download the drivers file, unzip it, then do the following (with some of my edits to be sure perms are set right:

$ sudo cp ./99-bcm.rules /etc/udev/rules.d/99-bcm.rules
$ sudo mkdir -p /opt/bcm
$ sudo cp ./bcm.sh /opt/bcm/bcm.sh
$ sudo chmod 755 /opt/bcm/bcm.sh

You shouldn't have to reboot, just plug in your 4343W board, and when you do, two files should appear automatically:

  • /dev/ttyUSB0 - the JTAG port
  • /dev/ttyUSB1 - the serial console port

You can test this by connecting directly to the serial port like this:

screen /dev/ttyUSB1 115200

Then if you hit the reset button on the board, you should see the boot sequence messages on the terminal.

View solution in original post

0 Likes
5 Replies
Anonymous
Not applicable

To clarify, the serial port I am talking about is the serial console port the would normally show up under /dev/ttyUSBx that prints the diagnostic/program output to a terminal such as with the snip.scan application.

0 Likes

Which BCM4343W Linux based partner module are you planning on using?

gangi  seyhan  vsb

0 Likes
Anonymous
Not applicable

Not sure what you mean by "Linux based partner module."  I'm trying to use the BCM4343W-AVN board and use the SDK with a Linux host computer for development.

0 Likes

My mistake.  We have several partners working on Linux based 4343W offerings.  You are using a WICED based offering on a Linux based host.

The only evaluation boards I'm aware of for the 4343W are:

  • BCM94343WWCD1_EVB - BCM94343WWCD1 SIP module mounted on a full-featured BCM94343WWCD1_EVB evaluation
  • AES-EVB-BCM4343W-G - Avnet BCM4343W IoT Starter Kit

Perhaps someone from the applications team can respond with t-shooting direction for your Linux based host environment.

vik86 abirjepatil  seyhan  gangi

0 Likes
Anonymous
Not applicable

You can add the BCM4343W to your Linux UDEV configuration by using the steps and files described in this post:  1. Prepare your device — wubby 1.0 documentation.

Ignore the Wubby stuff, and just pay attention to the instructions at the bottom which tell you where to download the drivers file, unzip it, then do the following (with some of my edits to be sure perms are set right:

$ sudo cp ./99-bcm.rules /etc/udev/rules.d/99-bcm.rules
$ sudo mkdir -p /opt/bcm
$ sudo cp ./bcm.sh /opt/bcm/bcm.sh
$ sudo chmod 755 /opt/bcm/bcm.sh

You shouldn't have to reboot, just plug in your 4343W board, and when you do, two files should appear automatically:

  • /dev/ttyUSB0 - the JTAG port
  • /dev/ttyUSB1 - the serial console port

You can test this by connecting directly to the serial port like this:

screen /dev/ttyUSB1 115200

Then if you hit the reset button on the board, you should see the boot sequence messages on the terminal.

0 Likes