Loading MicroEngine code

Tammo Spalink tspalink at CS.Princeton.EDU
Fri Jun 9 11:39:08 EDT 2000


I am using the vxWorks boot loader to load my test program directly to
the SACore (no OS).  Does the boot loader enable the MMU and data
cache (which I believe are disabled at reset)?

I am working on adding the code to disable these (MMU & caches).

However, the behavior I get is that I write to the CSR memory region
and am unable to read back what I wrote.  If I understand the side
effects of caching/buffering correctly, I should definately be able to
read what it wrote, but the write may not have propagated to the
device correctly.  No?

Tammo

On Thu,  8 Jun 2000, "Paige, Dale W" wrote:
> What OS are you running?
> 
> Are you certain that the SA core is treating data accesses to the CSR range
> data as non-cacheable and non-bufferable?
> 
> -----Original Message-----
> From: Tammo Spalink [mailto:tspalink at CS.Princeton.EDU]
> Sent: Thursday, June 08, 2000 2:09 PM
> To: ixp1200 at CS.Princeton.EDU
> Subject: Re: Loading MicroEngine code 
> 
> 
> 
> No effect I am afraid.
> 
> Tammo
> 
> On Thu,  8 Jun 2000, "Paige, Dale W" wrote:
> > Tammo - 
> > 
> > Try writting the address again prior to the read.
> > 
> >     csrWrite(CSR, USTORE_ADDR, addr);       // Set the target address
> >     csrWrite(CSR, USTORE_DATA, 0xD8100020); // Write an instruction
> >     csrWrite(CSR, USTORE_ADDR, addr);       // Set the target address
> AGAIN
> > <==
> >     result = csrRead(CSR, USTORE_DATA);



More information about the ixp1200 mailing list