From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9585 invoked by alias); 18 Jun 2006 03:28:25 -0000 Received: (qmail 9577 invoked by uid 22791); 18 Jun 2006 03:28:24 -0000 X-Spam-Check-By: sourceware.org Received: from tomts13.bellnexxia.net (HELO tomts13-srv.bellnexxia.net) (209.226.175.34) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 18 Jun 2006 03:28:19 +0000 Received: from [192.168.2.3] ([70.55.59.129]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060618032817.XRGK29052.tomts13-srv.bellnexxia.net@[192.168.2.3]>; Sat, 17 Jun 2006 23:28:17 -0400 In-Reply-To: <1150579533.8940.26.camel@hermes> References: <0857FC94-7C1D-4977-AF18-4A6C37CFB47F@sympatico.ca> <1150508462.8940.20.camel@hermes> <1150579533.8940.26.camel@hermes> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <654C0418-990F-4C1E-8636-99447A050A55@sympatico.ca> Cc: eCos Discussion Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Andr=E9-John_Mas?= Date: Sun, 18 Jun 2006 03:28:00 -0000 To: Gary Thomas X-Mailer: Apple Mail (2.750) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Reading flash config value from application X-SW-Source: 2006-06/txt/msg00154.txt.bz2 Oops, sorry for that. Thanks for the help. Andre On 17-Jun-06, at 17:25 , Gary Thomas wrote: > On Fri, 2006-06-16 at 22:43 -0400, Andr=E9-John Mas wrote: >> Which package do I need to include in my ECC for this? > > Please keep your replies on the list so that all may benefit. > > No special packages are required; just include > >> Andre >> >> On 16-Jun-06, at 21:41 , Gary Thomas wrote: >> >>> On Fri, 2006-06-16 at 19:22 -0400, Andr=E9-John Mas wrote: >>>> Hi, >>>> >>>> I use fconfig in my redboot to set an IP address for my card.=20=20 >>>> What is >>>> the >>>> best way to read this IP address from my application, since >>>> flash_config.h >>>> seems to be part of the Redboot package. >>> >>> You can do this using the Virtual Vectors interface into RedBoot. >>> The call: >>> CYGACC_CALL_IF_FLASH_CFG_OP(CYGNUM_CALL_IF_FLASH_CFG_GET, >>> , >>> &result, >>> ) >>> >>> Where is a string containing the 'fconfig' short >>> name for >>> the data item (use 'fc -l -n' to see what the names are). The >>> variable >>> defines the type of data. You can find the #define's for=20=20 >>> these >>> in the include file "flash_config.h". >>> >>> Note: the result of this call is a boolean - true if the data was >>> found, false if not. >>> >>> --=20 >>> ------------------------------------------------------------ >>> Gary Thomas | Consulting for the >>> MLB Associates | Embedded world >>> ------------------------------------------------------------ >>> >>> >>> --=20 >>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ >>> ecos >>> and search the list archive: http://ecos.sourceware.org/ml/ecos- >>> discuss > --=20 > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss