This is the mail archive of the ecos-patches@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]

AT91 HAL, AT91 USB, AT91 flash and USB-serial patches


From: Gábor Török <tgabor84@gmail.com>
Date: Tue, Oct 21, 2008 at 9:42 PM
Subject: Fwd: AT91 HAL, AT91 USB, AT91 flash and USB-serial patches
To: ecos-patches@ecos.sourceware.org

The previous email missed some files added (included in a renamed zip
file, because my earlier emails with zip attachments weren't delivered
to the list), and one patch file contained whitespace differences, now
I attached the correct one.

Regards:
Gábor Török

---------- Previous message ----------
From: Gábor Török
Date: Tue, Oct 21, 2008 at 9:32 PM
Subject: AT91 HAL, AT91 USB, AT91 flash and USB-serial patches
To: ecos-patches@ecos.sourceware.org


These patches mostly contain modifications needed to run eCos on Atmel
AT91SAM7SE.
There were many extra space characters at the end of the lines and my
editor stripped them, so I ignored whitespace differences for diffing.

* HAL:
I added SAM7SE PIO, PMC, EBI definitions, macros for accessing PWM
channels with index, definitions for chips with second embedded flash
controller (AT91SAM7__512).

* flash:
Support for AT91SAM7SE. Partial support for chips with second embedded
flash controller (recognize chip and ability to write the first
controller). Support for detecting correct flash size for chips with
both ROM and flash (like SAM7SE, the flash size is contained in the
second NVM size register because the first contains ROM size).

* USB:
Support for SAM7SE (has internal pullup), SAM7X.
The extra endpoints have definitions everywhere in the sources, but I
haven't included an option in the CDL to enable devtab entries these
for endpoints. There is an issue if the larger FIFO (64 instead of 8)
for endpoint 0 in AT91SAM7SE is enabled, see this thread:
http://ecos.sourceware.org/ml/ecos-discuss/2008-10/msg00151.html
Not enabling the 64 byte size FIFO is a temporary solution (but enough
for control endpoints), I will fix it later.

* USB Serial:
Added an option to select whether the device is self powered or bus
powered, and an option to change reported current consumption.

Regards:
Gábor Török

Attachment: hal_arm_at91.patch
Description: Binary data

Attachment: hal_arm_at91_added_files.zi_
Description: Binary data


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