Re: AT91SAM7S Flash as general purpose NV memory



"Meindert Sprang" <ms@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1261tuap7t1hdc0@xxxxxxxxxxxxxxxxxxxxx
"jaac" <jaime.aranguren@xxxxxxxxx> wrote in message
news:1147189240.482815.253220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It would be very helpful if someone here (maybe Ulf Samuelson from
Atmel, or Hans-Bernhard, or somebody else) provides some code to start
with.

I understand that the compiler does not allow to do this directly, and
that I will need to write a custom routine to do it (like sending data
to an external EEPROM or Flash memory), but I don't know where to
start.

Well, I just did a similar thing for an ATmega162. And I started reading
the
data***, which also provides code samples.

Couldn't find any code sample in the SAM data*** though, but Atmel has
an
application note where the SAM's flash is used as an USB drive, including
code.

Meindert

Where is the code? Most I can get
(http://www.at91.com/Pages/gettingstarted/samba/sam_ba/fourth.html) is this:

REMARK: THE MASS STORAGE & FILE SYSTEM PROJECT CAN BE DELIVERED UNDER NDA
ONLY.

What can be downloaded is an .exe file, with some .bin and no source code

From the Atmel website
(http://www.atmel.com/dyn/products/tools.asp?family_id=605), one gets this:

Demo for AT91 USB Mass Storage module and AT91 FAT File System module (72
KB, updated 11/05)
- Can be downloaded here (click on icon)
- Download the User Guide (Mass Storage and File System Demo for
AT91SAM7S-EK Development Board)
- Download the source code using a registration form

Clicking the last line sends one to:

http://www.at91.com/Pages/registration/wwwatmel/legal_terms.html

But selecting "I Agree to these terms" and then "Valid" leads to nowhere!!!

Can someone help?

Thanks



*** Posted via a free Usenet account from http://www.teranews.com ***
.