2086907_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2086907_en-US

2086907_en-US

What OCRAM is available to the M7 on the 1170?

I'm having some problems and I think they may be caused by my misunderstanding of the FLEXRAM on the 1170...

According to the memory map (chap3 of reference manual), there appears to be three different blocks of OCRAM: OCRAM M7, OCRAM1 & OCRAM2.  I can't find anything in the RM that states which of those blocks is the OCRAM that is part of FLEXRAM.

What OCRAM block is actually part of the FLEXRAM? 

Do the other two really have the size shown in the RM memory map?


Re: What OCRAM is available to the M7 on the 1170?

Hi @EdSutter ,


In case you set OCRAM=0 with flexram config, you will have 512K for TCM(ITCM and DTCM) and 128K for ECC for ITCM, DTCM.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

Re: What OCRAM is available to the M7 on the 1170?

@Kan_Li  Can you confirm that my summary is correct?

Re: What OCRAM is available to the M7 on the 1170?

Ok, thanks for the quick response.  This is very helpful. 

So let me just clarify this because I find the OCRAM/FLEXRAM documentation to be a bit confusing...

Regarding OCRAM, from the programming point of view (lets just ignore the inner workings of various bus connections, and for this, just assume I'm only using the M7 core), there are potentially three different blocks of internal OCRAM:

OCRAM1: at 0x20240000, size = 512K 

OCRAM2: at 0x202c0000, size = 512K

OCRAM_M7 at 0x20360000, size = 128K + whatever is allocated to it by the flexram configuration.

So, even if I set OCRAM=0 with flexram config, I still have 128K of space at 0x20360000.

Is all this accurate?

Re: What OCRAM is available to the M7 on the 1170?

Hi @EdSutter ,


Only OCRAM M7 is part of the flexRAM. Please kindly refer to the following for details.

Kan_Li_0-1745552670619.png

Kan_Li_1-1745552770494.png

Kan_Li_2-1745552854082.png


OCRAM1 and OCRAM2 have 576KB for each of them. Please kindly refer to the following for more details.

Kan_Li_3-1745553272638.png


Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------




タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 04:48 PM
更新者: