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?
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.
-------------------------------------------------------------------------------
@Kan_Li Can you confirm that my summary is correct?
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?
Hi @EdSutter ,
Only OCRAM M7 is part of the flexRAM. Please kindly refer to the following for details.
OCRAM1 and OCRAM2 have 576KB for each of them. Please kindly refer to the following for more details.
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.
-------------------------------------------------------------------------------