This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Internal SRAM Memory Map

The TRM shows-

Reserved                0x402f_0000 0x4020_03FF       64KB Reserved
SRAM internal        0x402F_0400 0x402F_FFFF      32-bit Ex/R/W(1)
L3 OCMC0             0x4030_0000 0x4030_FFFF       64KB 32-bit Ex/R/W(1) OCMC SRAM

According to Uboot Users guide: (http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide) ,

0x402f_0000  - > 0x4031_0000 ( 128Kb) is Internal SRAM

.

1) Which information is correct?

2) 0x4020_03FF is a typo , should have been 0x402F_03FF

  • Hi, Sreekumar,

    I checked the TRM and I can see that there are 64KB Internal SRAM and 64KB SRAM connected to the L3 OCMC. That makes a total of 128KB SRAM. The first 1KB of the internal SRAM is reserved and can't be accessed (just like the U-Boot User's Guide says).

    The TRM Memory Map information seems OK, except for the typo. I have submitted a Documentation Feedback regarding this particular typo.

    To sum up:

    1KB Reserved     0x402F0000 0x402F03FF     1KB Reserved out of 64KB internal SRAM
    SRAM internal     0x402F0400 0x402FFFFF     32-bit Ex/R/W (the rest 63KB of the internal SRAM)
    L3 OCMC0           0x40300000 0x4030FFFF     64KB 32-bit Ex/R/W OCMC SRAM


    I also checked if I have read access to the first 1KB of the memory range with the following command in U-Boot:

    U-Boot# md 0x402F0000

    U-Boot has no r/w rights and it hangs.

    I have access to any other address in the range 0x402F0400 0x402FFFFF.



    The memory read command is: U-Boot# md [.b, .w, .l] address [# of objects]
    The memory write command is: U-Boot# mw [.b, .w, .l] address value [count]



    Best regards,
    Miroslav

    Note:  If this answer solves your question please mark post as "Answered"