Advanced Search
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
February 05, 2012, 06:02:15 AM
Home
Help
Calendar
Login
Register
News
: Glomation introduced new wireless ready low cost GESBC-9260S
Glomation
»
General Category
»
General Discussion
»
Exclusive port use
« previous
next »
Pages: [
1
]
Topic Tools
Topic Tools
Send this topic
Print
July 28, 2009, 11:02:07 AM
#0
davest
davest
Show davest's last posts.
Show general stats for davest.
Super Hero
Posts: 22
Exclusive port use
Hi.
My application is using a 9260 and I need to use all the available serial ports for protocol functions. I have worked around the console port sending bootup information by including an 'opening key' sequence to the attached interface board. The problem is that when the ethernet cable is connected or removed, a burst of status information gets blasted into the middle of my protocol stream.
I am currently launching my application from a call at the very end of 'rc.sysinit'. If it cannot establish a connection with the interface board it times-out, exits, and the script falls through to the BusyBox shell. Is this the best approach to running in a 'no console' setting while maintaining the ability to get to a console level for development? If not, please recommend an alternative.
The main question: How can I get exclusive use of what is normally the console port while my application is running, and, get back to normal console behavior when my application exits?
Thanks for your assistance,
David S.
July 28, 2009, 11:51:02 AM
#1
admin
admin
Show admin's last posts.
Show general stats for admin.
Administrator
Super Hero
Posts: 339
Re: Exclusive port use
There is no easy way to switch the console behavior dynamically. You can set the Linux console to NULL by changing the command line arguments that is passed from U-boot to Linux. However it will permanently set the console to NULL and you can not get it back until next reboot.
Pages: [
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> General Discussion
=> Programming Tips, Recommendded Readings, etc.
-----------------------------
Peer Support Forums
-----------------------------
=> GESBC-9302
=> GESBC-9260
=> GESBC-9G20
=> GESBC-2440
=> GESBC-9315
Loading...