question about KEA128 Setup registers

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

question about KEA128 Setup registers

1,076 次查看
vegetarian1
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.

标记 (1)
0 项奖励
回复
1 回复

999 次查看
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.
-------------------------------------------------------------------------------