Questions about MPC5674F

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

Questions about MPC5674F

564 Views
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 Kudos
Reply
1 Reply

437 Views
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.