This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Q: static IP address, how to use flash_get_config() from the application


On Thu, Mar 02, 2006 at 03:06:41PM +0100, Franz Hollerer wrote:
> Hi,
> 
> I have assigned a static IP address to my board by means of
>   "fconfig -i"
> at the Redboot prompt.
> 
> How can I get Redboot to configure the network based on the settings
> given with "fconfig" and let my application take over this settings?
> 
> I found that Redboot itself calls flash_get_config() to get the
> settings, but I did not find a way to call this function from my
> application.

Your application needs to have a differnet IP address to
RedBoot. Otherwise your gdb connection, which is handled by redboot,
will not work since the application knows nothing about the gdb
socket.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]