Page 1 of 1

shell

Posted: Mon Oct 24, 2016 10:59 pm
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

Re: shell

Posted: Tue Oct 25, 2016 7:13 am
by Giovanni
Hi,

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

Giovanni

Re: shell

Posted: Tue Oct 25, 2016 9:03 pm
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...

Re: shell

Posted: Tue Oct 25, 2016 9:16 pm
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

Re: shell

Posted: Tue Oct 25, 2016 10:44 pm
by BMWPower
Oké I will try this tomorrow

Re: shell

Posted: Fri Oct 28, 2016 9:23 am
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

Re: shell

Posted: Sun Oct 30, 2016 11:48 am
by BMWPower
Fixed it and is working (through USART [serial])
Example STM32F407 serial shell A2 A3

Re: shell

Posted: Thu Nov 03, 2016 8:19 pm
by BMWPower
Also with USB Wiki and Git