This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Atmel Dataflash driver in combination with AT91SAM7SE512
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Tom Deconinck <t dot deconinck at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 23 Oct 2007 19:30:38 +0200
- Subject: Re: [ECOS] Atmel Dataflash driver in combination with AT91SAM7SE512
- References: <e37cb5250710230538y5bc780camd9c8d3d8256fd6c3@mail.gmail.com>
On Tue, Oct 23, 2007 at 02:38:07PM +0200, Tom Deconinck wrote:
> Hi,
>
> I'm currently working on porting eCos to support the Atmel
> AT91SAM7SE-EK board. This board hosts the Atmel AT91SAM7SE512, which
> is very similar to the AT91SAM7S which is already supported. The main
> differences are the support for an EBI (external bus interface) to
> interface all kind of memory devices and the incorporated SDRAM
> controller.
> I'm using the normal eCos branch enhanced with the flash_v2 branch extensions.
>
> I was playing around with the SPI peripheral and an Atmel AT45DB041B
> and the dataflash driver. The AT91SAM7SE512 forces me to pick a
> certain SPI mode, so I configured the controller to use SPI mode 0
As far as i can remember, the SAM7 supports all modes and each device
can configure its own mode. What is the reason you cannot use the mode
the opcodes are valid for?
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