Skip to main content
Visitor II
August 4, 2006
Question

str912f on-chip ram size?

  • August 4, 2006
  • 5 replies
  • 1147 views
Posted on August 04, 2006 at 07:22

str912f on-chip ram size?

    This topic has been closed for replies.

    5 replies

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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