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

Re: Running code from on-chip flash


> Yes, its true. You will not be able to run tricks like
> self-modifying code that resides in flash. You would have to move
> such a routine to RAM and execute it there.

eCos FLASH routines are already magically in RAM. 

Also the AT91SAM7 devices have a flash controller which handles most
of the details and does most of the work for you. It can halt the CPU
while writing to FLASH if it needs to be halted because it tries to
make an access while the write operation is active.

As usual, the datasheet and the source code is the definitive source
of information.

   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


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