2006-08-03 10:22 PM
2011-05-17 12:30 AM
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 Raj2011-05-17 12:31 AM
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 sjo2011-05-17 12:31 AM
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 raj2011-05-17 12:31 AM
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, STF2011-05-17 12:31 AM
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