Hello !
I'm using MCUXpresso with MIMXRT1050-EVK(SDK Version : 2.3.0)
I have a two questions.
First,are ram allocation sample is available?
It is not on the list in my environment(but it exists in the folder)
It has not been added to manifest xml files.
The second is about FlexRAM registers.
FlexRAM ram allocation sample uses magic number register.
but It is not shown in the reference manual.
and the part of the magic number match flag is also reserved.
Are the above problems fixed?
Solved! Go to Solution.
Hello,
Customers can look at fsl_flexram.c file in the SDK.
Regards,
Yuri.
Hello,
The FlexRAM is configurable. Refer to GPR16 General Purpose Register
(IOMUXC_GPR_GPR16) and GPR17 General Purpose Register (IOMUXC_GPR_GPR17).
Also, the following may be helpful.
"Using the i.MX RT FlexRAM"
https://www.nxp.com/docs/en/application-note/AN12077.pdf
Overview of using the MIMXRT1050-EVK with MCUXpresso IDE
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for Replying
I try to set (IOMUXC_GPR_GPR16) and GPR17 General Purpose Register, but debug is fault
I tried with the following code
#define IOMUXC_GPR_GPR17_ADDR 0x400AC044
#define IOMUXC_GPR_GPR16_ADDR 0x400AC040
SCB_DisableICache();
SCB_DisableDCache();
volatile unsigned int *b = ((unsigned int *)IOMUXC_GPR_GPR17_ADDR);
*b = 0b01011010111111111111111110100101;
volatile unsigned int *a = ((unsigned int *)IOMUXC_GPR_GPR16_ADDR);
*a |= 1<<2;
And,It is helpful to have sample code about this case in the manual
I need some advice .
thanks
Hello,
Customers can look at fsl_flexram.c file in the SDK.
Regards,
Yuri.