From bdc77a2f821f98befae47eea7e761c38c52e5d72 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 18 Oct 2010 16:14:07 +0000 Subject: [PATCH] update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3038 42af7a65-404d-4744-a932-0658087f49c3 --- examples/nsh/README.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/examples/nsh/README.txt b/examples/nsh/README.txt index f4e1da9aea..73c281558d 100644 --- a/examples/nsh/README.txt +++ b/examples/nsh/README.txt @@ -15,6 +15,7 @@ examples/nsh - NSH Configuration Settings Command Dependencies on Configuration Settings NSH-Specific Configuration Settings + - Common Problems Console/NSH Front End ^^^^^^^^^^^^^^^^^^^^^ @@ -987,3 +988,16 @@ NSH-Specific Configuration Settings * CONFIG_EXAMPLES_NSH_FATMOUNTPT This is the location where the FAT FS will be mounted. Default is /tmp. + +Common Problems +^^^^^^^^^^^^^^^ + + Problem: + Using NSH over serial, the "nsh>" prompt repeats over and over again + with no serial input. + Usual Cause: + NSH over serial needs to use the interrupt driven serial driver + (drivers/serial/serial.c) not the polled serial driver (drivers/serial/lowconsole.c). + Make sure that the polled console is disabled in the OS configuration + file, .config. That file should have CONFIG_DEV_LOWCONSOLE=n for + NSH over serial.