* [ECOS] FLASH access from user program
@ 2005-06-06 9:06 Hans Berglund
0 siblings, 0 replies; 4+ messages in thread
From: Hans Berglund @ 2005-06-06 9:06 UTC (permalink / raw)
To: ecos-discuss
I would like to do functions similar to "fis delete" and "fis create"
from an eCos user program.
How can I get access to the FLASH?
Are there system calls for this, or do I have to move a lot of RedBoot
code into my program?
Or are there other possibilities?
All input is welcome.
Hans Berglund
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] FLASH access from user program
2005-06-07 8:25 ` Hans Berglund
@ 2005-06-07 9:08 ` de
0 siblings, 0 replies; 4+ messages in thread
From: de @ 2005-06-07 9:08 UTC (permalink / raw)
To: hb; +Cc: ecos-discuss
hb@spacetec.no wrote:
> This is almost what I am looking for. There is also an virtual vector
> called CYGNUM_CALL_IF_FLASH_FIS_OP which seems to be the right one.
AFAIK you can oly read FIS this way. If you want to modify flash
contents you have to use the flash API (<cyg/io/flash.h>).
Regards,
Dirk
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] FLASH access from user program
2005-06-06 9:45 Retallack, Mark (Siemens)
@ 2005-06-07 8:25 ` Hans Berglund
2005-06-07 9:08 ` de
0 siblings, 1 reply; 4+ messages in thread
From: Hans Berglund @ 2005-06-07 8:25 UTC (permalink / raw)
To: Retallack, Mark (Siemens); +Cc: ecos-discuss
Hi, and thank you for the link.
This is almost what I am looking for. There is also an virtual vector
called CYGNUM_CALL_IF_FLASH_FIS_OP which seems to be the right one.
It takes a little time to figure out the parameters, but I will try it.
Hans
Retallack, Mark (Siemens) wrote:
> See virtual vector FLASH_CFG_OP, CYGACC_CALL_IF_FLASH_CFG_OP
>
> Also see
> http://ecos.sourceware.org/docs-latest/ref/hal-calling-if.html
>
>
> -----Original Message-----
> From: ecos-discuss-owner@ecos.sourceware.org
> [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Hans
> Berglund
> Sent: 06 June 2005 10:06
> To: ecos-discuss@sources.redhat.com
> Subject: [ECOS] FLASH access from user program
>
>
> I would like to do functions similar to "fis delete" and "fis create"
> from an eCos user program.
>
> How can I get access to the FLASH?
> Are there system calls for this, or do I have to move a lot of RedBoot
> code into my program?
>
> Or are there other possibilities?
>
> All input is welcome.
>
>
> Hans Berglund
>
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [ECOS] FLASH access from user program
@ 2005-06-06 9:45 Retallack, Mark (Siemens)
2005-06-07 8:25 ` Hans Berglund
0 siblings, 1 reply; 4+ messages in thread
From: Retallack, Mark (Siemens) @ 2005-06-06 9:45 UTC (permalink / raw)
To: Hans Berglund; +Cc: ecos-discuss
See virtual vector FLASH_CFG_OP, CYGACC_CALL_IF_FLASH_CFG_OP
Also see
http://ecos.sourceware.org/docs-latest/ref/hal-calling-if.html
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Hans
Berglund
Sent: 06 June 2005 10:06
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] FLASH access from user program
I would like to do functions similar to "fis delete" and "fis create"
from an eCos user program.
How can I get access to the FLASH?
Are there system calls for this, or do I have to move a lot of RedBoot
code into my program?
Or are there other possibilities?
All input is welcome.
Hans Berglund
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-07 9:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 9:06 [ECOS] FLASH access from user program Hans Berglund
2005-06-06 9:45 Retallack, Mark (Siemens)
2005-06-07 8:25 ` Hans Berglund
2005-06-07 9:08 ` de
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).