public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Laurie Gellatly" <laurie.gellatly@netic.com>
To: "Andrew Lunn" <andrew@lunn.ch>
Cc: "ecos discuss" <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] Different flash
Date: Thu, 03 Jul 2008 21:39:00 -0000	[thread overview]
Message-ID: <OBEELMDOHGDFDEMJCJCJKEGONAAA.laurie.gellatly@netic.com> (raw)
In-Reply-To: <20080703131051.GE27831@lunn.ch>

Hi Andew,
Sorry if this came across as being lazy, that was not the intent.
I was trying to go with the spirit of this group which I thought included
not
re-inventing the wheel for a driver that already existed and simple sharing
of knowledge.
'2)' was missing - yeah, that what I get for writing email late at night.

CDL is not my strong suit so thanks for the advise. I'll give it a go.

I'm actually considering moving the flash routines onto the processor
and away from external flash. That way the processor flash could
have the specifics of the flash stored in it and the flash structure would
still be static.

Anyway, thanks again.			...Laurie:{)

> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch]
> Sent: Thursday, 3 July 2008 11:11 PM
> To: Laurie Gellatly
> Cc: ecos discuss
> Subject: Re: [ECOS] Different flash
>
>
> > 1) Are there specific drivers for the AT49 or will the AM29
> driver be OK.
>
> Im too lazy to go look at the data sheet, so i will skip 1)
>
> My mind reading capabilities is also off line,  so i will skip 2) as well.
>
> > 3) If there are specific drivers (or I have to modify/write my
> own)  then do
> > I populate the cyg_dev_flash_funs with the appropriate function set at
> > startup or do I have two of these structures?
> > If 2 structures where/how do I tie them into eCos?
>
> Flash v2 makes this easy. Just register both drivers. The flash
> infrastructure will run the probe function to see if the flash
> actually exist. So you would expect one to fail to probe and one to
> work. The flash infrastructure will then direct all operations through
> the working driver.
>
>     Andrew
>
> Internal Virus Database is out of date.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 270.3.0/1503 - Release Date:
> 6/14/2008 6:02 PM
>


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

  reply	other threads:[~2008-07-03 21:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-26 16:27 [ECOS] SNMP authentication problem Georg Brutscheid
2008-06-27 15:11 ` Alperen Coskun
2008-07-03 12:55   ` [ECOS] Different flash Laurie Gellatly
2008-07-03 13:11     ` Andrew Lunn
2008-07-03 21:39       ` Laurie Gellatly [this message]
2008-07-13 12:44       ` Laurie Gellatly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OBEELMDOHGDFDEMJCJCJKEGONAAA.laurie.gellatly@netic.com \
    --to=laurie.gellatly@netic.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).