question about KEA128 Setup registers

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

question about KEA128 Setup registers

621 Views
yangbo1
Contributor III

At beginning, system would run __thumb_startup which is used for initialization of PC. __init_registers() would be invoked in it, and the FDIVLD field of Flash Clock Divider Register for KEA128 is set at the same time in my project. It means that register has been written since the last reset. Obviously, it has nothing to do with my code, because it is too earlier. I don't know what __init_registers() has done. But it doesn't happen in another project. How to avoid this problem?
Thank you for your attention.

Tags (1)
0 Kudos
1 Reply

544 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Mike,

You can find the definition of " __init_registers()" under CodeWarrior install:

CW MCU v11.0\MCU\ARM_EABI_Support\ewl\EWL_Runtime\Runtime_ARM\Source\__arm_eabi_init.c


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------