shell

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
BMWPower
Posts: 24
Joined: Mon Oct 24, 2016 10:27 pm
Has thanked: 1 time
Been thanked: 2 times

shell

Post by BMWPower »

Hi all,

I am struggling getting the shell working. I have ports like ttyACM0 and ttyUSB0 ... and I have got my UART working. But when I use putty on the ttyACM0 the screen stays black... no cursor. Screen ttyACM0 also black dead screen.

Do I have to do something special to get the shell working?

STM32F407-DISCOVERY
ChibiOS_16.1.5
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: shell

Post by Giovanni »

Hi,

You should describe what you are doing because there is way too little context in your post.

Giovanni
BMWPower
Posts: 24
Joined: Mon Oct 24, 2016 10:27 pm
Has thanked: 1 time
Been thanked: 2 times

Re: shell

Post by BMWPower »

[url=GIT]https://bitbucket.org/disruptivetechnology/stm32f4discmems[/url]

I have tried to connect with putty and with shell command (/dev/ttyACM0) but I am not seeing the shell prompt...
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: shell

Post by Giovanni »

Hi,

Under Linux I use CuteCom and it worked last time I tried, after connecting press enter, that will re-send the prompt.

Giovanni
BMWPower
Posts: 24
Joined: Mon Oct 24, 2016 10:27 pm
Has thanked: 1 time
Been thanked: 2 times

Re: shell

Post by BMWPower »

Oké I will try this tomorrow
Hawhill
Posts: 7
Joined: Tue Oct 18, 2016 1:28 pm
Been thanked: 1 time

Re: shell

Post by Hawhill »

Depending on your setup (including host OS), you might want to patch usbcfg.c (for now) in your project to do nothing on a SUSPEND event. See viewtopic.php?f=35&t=3629
BMWPower
Posts: 24
Joined: Mon Oct 24, 2016 10:27 pm
Has thanked: 1 time
Been thanked: 2 times

Re: shell

Post by BMWPower »

Fixed it and is working (through USART [serial])
Example STM32F407 serial shell A2 A3
BMWPower
Posts: 24
Joined: Mon Oct 24, 2016 10:27 pm
Has thanked: 1 time
Been thanked: 2 times

Re: shell

Post by BMWPower »

Also with USB Wiki and Git
Post Reply