cancel
Showing results for 
Search instead for 
Did you mean: 

str912f on-chip ram size?

rajkumar_sethi
Associate II
Posted on August 04, 2006 at 07:22

str912f on-chip ram size?

5 REPLIES 5
rajkumar_sethi
Associate II
Posted on May 17, 2011 at 09:30

I am getting data abort while accessing address 0x04008000 in on-chip memory ram area. The um says that on-chip memory is 64 or 96K. Am I missing some setup to access full memory ?

Thanks

Raj

sjo
Associate II
Posted on May 17, 2011 at 09:31

This should be in your startup code.

LDR r0, =SCRO_AHB_UMB

LDR r1, =0x0196

STR r1, [r0]

This will config 96K ram and disable the prefetch.

Regards

sjo

rajkumar_sethi
Associate II
Posted on May 17, 2011 at 09:31

I could not locate SCRO_AHB_UMB register in the STR91xF reference manual dated April 2006. Do you have an updated version? Could you please attach it to the message or paste relevant description.

Thanks

raj

stephane2399
Associate
Posted on May 17, 2011 at 09:31

Did you checked the configuration of the System configuration register 0 (SCU_SCR0) in your startup code. The ram size shall be configured there.

you can have a look chapter 2.6.8 in the reference manual (p75).

raj,I couldn't find the SCRO_AHB_UMB too.

Regards,

STF

sjo
Associate II
Posted on May 17, 2011 at 09:31

The resister is SCRO_AHB, as it is available in buffered and unbuffered areas that define just lets me know it is in unbuffered area (address 0x5C002034).

Regards

sjo