linux with COM1 not available message

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
Post Reply
zmemw16
Posts: 1369
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

linux with COM1 not available message

Post by zmemw16 » Sun May 21, 2017 3:16 am

i'm using @danieleff STM32GENERIC as of 170520171240 under linux debian jessie 8.x 64bit with the i2cscanner for discovery vg example sketch.

the good news is i can re-flash the st demo saved from a st-flash read and it works, however with arduino i originally had COM14 not available, looked in ~/.arduino182-r0/preferences.txt, found windows style COM references, so i did my normal delete all lines starting 'serial.' action(its worked since 1.6.x).

re-ran and then checked preferences.txt again, refers now to linux style/dev/ttyACMnn
i've also grepped -R under STM32GENERIC and under ./.arduino182-r0 - nothing

this forum section has something similar from @Touseef mentioning i2c, wire & ethernet using 1.6.9 and some variant of windows, but it didn't seem to get resolved for any of them.

so currently my STM32F407 Discovery board on starting the serial monitor shows me that "Board at COM1 is not available".
i'm rather baffled.

stephen

danieleff
Posts: 336
Joined: Thu Sep 01, 2016 8:52 pm
Location: Hungary
Contact:

Re: linux with COM1 not available message

Post by danieleff » Sun May 21, 2017 6:47 am

STM32F407 Discovery has 2 USB:

Normal USB: ST-Link only, no COM
micro USB: COM (USB Serial)

I think it only works if both are connected (board not powers from micro USB(?))

zmemw16
Posts: 1369
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: linux with COM1 not available message

Post by zmemw16 » Sun May 21, 2017 1:29 pm

OOPS - believe what the silk screens say STM32F429I-DISC1 & back board Open429Z-D
where 407VG came from, no idea,
i'll go off and press reset, bang head on wall

btw 429i examples are fine.

stephen

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests