This is the mail archive of the ecos-discuss@sources.redhat.com 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: Memory access problem


On Tue, 2002-10-08 at 16:43, Cusson, Pascal wrote:
> Hi everyone,
>    In the process of porting my ecos on a 8260 board, I cannot access memory map
> registers anymore. Something I used to be able to do with the simulator. I get a
> Segmentation Fault. My question is does eCos prohibit the access to the mapped
> registers in threads ? If so, how should I access my registers ?

Make sure that they've been properly mapped in.  This information
is kept in the file <platform>/current/src/hal_aux.h

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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