dynamic memory allocation in MPC5744P

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

dynamic memory allocation in MPC5744P

2,106件の閲覧回数
mayurbankhele
Contributor I

Hi All, 

We are using MPC5744P controller.

We want to implement the dynamic memory allocation.

To allocate memory at the run time what masking bit we have to set, which register we have to use.

We are not sure about it.

Can we get the sample application or example set how to set the dynamic memory allocation in CMPU and SMPU.

 

Regards,

Mayur Bankhele

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,929件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

could you please clarify, which IDE you use?

Neither CMPU nor SMPU are related to dynamic memory allocation. This is the function of compiler. Please look at the functions malloc and free in C language.

Regards,

Martin

0 件の賞賛
返信

1,929件の閲覧回数
mayurbankhele
Contributor I

Hi,

We want to know about the resister setting of  SMPU_CESR0, SMPU_CESR1,  SMPU_RGDn_WORD2 at the time of dynamic memory allocation. We want to restrict the access for protected region. or any sample application used for same.

Regards,

Mayur Bankhele

0 件の賞賛
返信

1,929件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

please look at the following example:

Example MPC5748G SMPU initialization

This example is created for MPC5748G, but SMPU module is nearly the same as in MPC5744P.

If you have any other question, please feel free to write me back.

Regards,

Martin

0 件の賞賛
返信