Trenz Electronic Products > EDDP-EDPS Support
Serial/UART not working on Linux with the SMF2000
(1/1)
adrien220615:
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-7.0.0.599 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:
--- Code: ---sudo cp /opt/Microchip/SoftConsole-v2021.3-7.0.0.599/openocd/share/openocd/contrib/60-openocd.rules /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
--- End code ---
Setting up udev rules attempt 1/2:
http://www.fabienm.eu/flf/installing-libero-on-debian-9/
dmesg output:
--- Code: ---[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
--- End code ---
lsusb output:
--- Code: ---# ... other usb devices ...
Bus 001 Device 052: ID 1514:2008 Actel Embedded FlashPro5
--- End code ---
uname -a:
--- Code: ---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
--- End code ---
OS: Ubuntu 20.04.4 LTS
Navigation
[0] Message Index
Go to full version