This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Accessing Flash memory (PLEASE HELP) !
- From: Wolfram Kattanek <wolfram dot kattanek at imms dot de>
- To: "iulian im. marinescu" <imarinescu at omnirei dot net>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 10 Jul 2003 09:14:46 +0200 (MEST)
- Subject: Re: [ECOS] Accessing Flash memory (PLEASE HELP) !
- References: <A46F1459703F764C87C018DD3B6C984B02DCEA@domainsrv.interni.omnirei.net>
Quoting "iulian im. marinescu" <imarinescu@omnirei.net>:
> Hello everybody,
>
> I am using the Falcom F35XXL model which has 1Mb od RAM and 1 Mb of
> Flash memory !
> I was trying to save some data into the Flash memory without much
> success ... i tried everything : accessing the functions from flash.h,
> direct memory access with memcpy() since the Flash memory is virtually
> mapped at the adress 0x0400000 in this system, i even tried to do what i
> want with the system() calls calling RedBoot 'fis write' and 'fis load'
> !
The F35XXL comes with RedBoot (including flash driver). If you want to use
flash in your application you can use the very same driver. Look at the
file flash_am29xxxxx.inl for available flash functions.
But there's one thing you have to take care about: debugging on the V850
is based on an periodically generated NMI. This could cause conflicts if
the NMI handler is located in flash and you're simultaneously trying to
write/erase flash...
Wolfram
--
Wolfram 'L.A.' Kattanek Institut fuer Mikroelektronik- und
Email: LA@imms.de Mechatronik-Systeme (IMMS) gGmbH
Tel: +49 3677 / 6783-55 Langewiesener Str. 22
Fax: +49 3677 / 6783-38 98693 Ilmenau / Germany
-------------------------------------------------
This mail sent through IMP: imp.imms.de
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss