Questions about MPC5674F

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

Questions about MPC5674F

1,312件の閲覧回数
youngseolee
Contributor III

I have two questions about MPC5674F

1. Where can i find a __start function in a generated project ?

    I have not implemented the __start function in the generated project, but       the generated project seems to be run after _hardware_init is called by a          __start function that is not implemented in code.

   Can i see an defualt code information for the __start function ?

2. I recently implemented SRAM cache activation code with your help. 

    I also have made sure that the i-cache works normally by checking a i-            cache list through a debugger.

    However, the d-cache seems to not work normally. (a d-cache list was not      assigned anything)

    Do I need to implement an additional initialization code to use the d-                cache?

    Or, do I need to initialize the SRAM(or the stack) after initializing the d-            cache?

0 件の賞賛
返信
1 返信

1,185件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

1) You find find it in CW installation directory:

c:\Program Files (x86)\Freescale\CW for MPC55xx and MPC56xx 2.10\PowerPC_EABI_Support\Runtime\Src\

2) In the project it works fine:

https://community.nxp.com/docs/DOC-102744 

Try to check MMU TLB whether you have internal SRAM space configured as cacheable.