Home/Support/Support Forum/Changed stdio to com 2...LEDs different
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Changed stdio to com 2...LEDs different

0 votes
I changed the stdio to com 2 since the end product will need exclusive use of com1. It works fine, but the green LED now stays on solid instead of lighting with network traffic. How can I get this functionality back? Its nice to have for debugging.

All I did was change BSP_STDIO_PORT and BSP_DIALOG_PORT to "/com/1" in bsp.h

The program still runs fine (web server and serial console)

Thanks,
Mike
asked Oct 12, 2007 in NET+OS by turbo2ltr New to the Community (8 points)
recategorized Dec 18, 2013 by tuxembb

Please log in or register to answer this question.

3 Answers

0 votes
Interesting... I put it back to com 0 and the green LED is still lit solid. Program works fine.
But one thing I forgot was to set the second com port to BSP_SERIAL_NO_DRIVER. This is what made a difference. When the second port is set to BSP_SERIAL_UART_DRIVER, the green LED stays lit.

Any ideas on how to fix this if it's not intended behavior?

Thanks,
Mike
answered Oct 12, 2007 by turbo2ltr New to the Community (8 points)
0 votes
Check out the line

#if (BSP_SERIAL_PORT_2 == BSP_SERIAL_NO_DRIVER)

in CustomizeLED.C. Not sure why it's there: we commented it out.
answered Oct 15, 2007 by dhansen New to the Community (25 points)
0 votes
That did the trick. Thanks for the reply!

-Mike
answered Oct 15, 2007 by turbo2ltr New to the Community (8 points)
...