Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Serial/UART not working on Linux with the SMF2000

Started by adrien220615, June 15, 2022, 06:07:48 PM

Previous topic - Next topic


Hi all,

(First post, I hope it respects the local habits)

I have a SMF2000 (SmartFusion2) board and I'm trying to set it up with Linux. I've downloaded SoftConsole-v2021.3- and I'm running a basic hello world program.

I expect to see a UART file (/dev/ttyUSB0) for the printfs, but nothing appears. I've tried to look into udev rules without success. How do you get the serial output from the SF2 on Linux? (I know the SF2 code is fine, it works perfectly on Windows)

Thanks in advance


Detailed info on my setup:

Setting up udev rules attempt 1/2:

sudo cp /opt/Microchip/SoftConsole-v2021.3- /etc/udev/rules.d
18:03:41 adrien@adrien-pts [nodraak/cpu-usage *] ~/Documents/2021-PTS/work/Kickstage/2021-08-work/astris-fsw-framework  && sudo udevadm control --reload-rules && sudo udevadm trigger

Setting up udev rules attempt 1/2:

dmesg output:

[Wed Jun 15 17:14:01 2022 <    2.836424>] usb 1-6: new high-speed USB device number 50 using xhci_hcd
[Wed Jun 15 17:14:01 2022 <    0.152970>] usb 1-6: New USB device found, idVendor=1514, idProduct=2008, bcdDevice= 7.00
[Wed Jun 15 17:14:01 2022 <    0.000015>] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Wed Jun 15 17:14:01 2022 <    0.000006>] usb 1-6: Product: Embedded FlashPro5
[Wed Jun 15 17:14:01 2022 <    0.000004>] usb 1-6: Manufacturer: Microsemi
[Wed Jun 15 17:14:01 2022 <    0.000004>] usb 1-6: SerialNumber: 0032UAXW

lsusb output:

# ... other usb devices ...
Bus 001 Device 052: ID 1514:2008 Actel Embedded FlashPro5

uname -a:

Linux xxx 5.13.0-48-generic #54~20.04.1-Ubuntu SMP Thu Jun 2 23:37:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

OS: Ubuntu 20.04.4 LTS