cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Nucleo - Linux support

llamka
Associate
Posted on April 11, 2014 at 13:09

Hello,

I am trying to use STM32 Nucleo board under Linux (tried Ubuntu 12.04 and 13.10). After connecting, a mass storage and ACM devices appear, mass storage for firmware uplading works, but I can't get the ACM device (located at /dev/ttyACM0) to work with any baud rate. Am I doing something wrong or it's because the virtual COM port is somehow proprietary? If it's the latter, is there any chance that Linux will be supported in future?

Thanks,

Jan
3 REPLIES 3
frankmeyer9
Associate II
Posted on April 11, 2014 at 14:04

A rights issue ?

Have you tried as root, or with sudo ?

If that works, you probably need to add your ''user'' to the dialout group.

llamka
Associate
Posted on April 11, 2014 at 16:48

Nope, it doesn't seem like a rights issue, I am running the command as root. Can you confirm that Nucleo works on Linux? If so, I'll try to dig into it deeper, but I had no luck with it on two different machines.

frankmeyer9
Associate II
Posted on April 11, 2014 at 18:47

Can you confirm that Nucleo works on Linux?

 

No, I can't - because I do not have any Nucleo board, and thus can't try.

However, if the /dev/ACM0 device is present, the board is supposedly recognized as USB ACM device. That does not mean that it is fully compliant. Can you remember the totally broken STLink-V1 implementation ? It wouldn't be the first time ST tested only on Windows machines.

Perhaps some further investigation/testing

https://www.kernel.org/doc/Documentation/usb/acm.txt

can help you further ...