From 8f71b39c1bde24981e052cdf9ab44f3c2eb7f9ae Mon Sep 17 00:00:00 2001 From: xyb Date: Mon, 31 Mar 2014 20:06:07 -0700 Subject: [PATCH] using screen to connect terminal --- Board-STM32F407-Discovery.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Board-STM32F407-Discovery.md b/Board-STM32F407-Discovery.md index b9ca267..b92316f 100644 --- a/Board-STM32F407-Discovery.md +++ b/Board-STM32F407-Discovery.md @@ -127,6 +127,14 @@ If you are building on Mac OS X, you could programming like from Linux except in brew install dfu-util +You could be able to launch a terminal emulator using ```screen``` on ```/dev/tty.usbmodem411``` (```ls /dev/tty.usbmodem*``` confirm the device name) and got a micropython prompt: + +``` +screen /dev/tty.usbmodem411 +``` + +Press ```Ctrl-a``` and ```Ctrl-\``` to quit the emulator, else the usbmodem device will be busy and refusing to connect again until you disconnect and plug in usb cable. + ###Dealing with multiple DFU devices### When DFU looks for devices, if it only sees one device, then it will pick that device. It's been reported that sometimes other devices may show up, for example on one machine the error: ```