P-Flash and D-Flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P-Flash and D-Flash

3,042 Views
alternativeunof
Contributor II

Hi, I'm using the s32k144evb and my application resides in P-Flash since it is to big to be stored directly in RAM ( It seems that if you use the SDK is very difficult to stay in the limits). Since I can't read simultaneously from P-Flash and D-Flash, should I put the D-Flash functions in RAM in order to be able to read it?

If yes which is the method permiting me to put only some parts of code in ram?

NB:

The defined macro:

START_FUNCTION_DEFINITION_RAMSECTIOn

END_FUNCTION_DEFINITION_RAMSECTION

are defined as void with GCC compiler.

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

1,847 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

What do you mean by the simultaneous reading of both D-Flash and P-Flash.
There is only one core and one Flash memory controller as a slave on the Crossbar switch (Figure 2-1 RM rev.8).

pastedImage_1.png

So, you can execute code either from P-Flash or D-flash.
But it doesn’t mean that you can’t execute code form D-flash.

Regards,
Daniel

0 Kudos
Reply