After my investigation, I found that some global variables were not initialized as defined when<eMCEM_1>was enabled。
Select a portion for explanation:
Firstly, when I haven't enabled the target
XPW_0-1783494597992.png
Clock_ip. c under RTD file
XPW_1-1783494731850.png
XPW_2-1783494792174.png
Power_ip. c under RTD file
XPW_3-1783494883662.png
XPW_4-1783494909192.png
Can initialize correctly。
However, when I activated it:
XPW_5-1783495188492.png
XPW_6-1783495223242.png
Clock_ip. c under RTD file
XPW_7-1783495794585.png
XPW_8-1783495823066.png
Power_ip. c under RTD file
XPW_9-1783495866324.png
XPW_10-1783495886502.png
Global variable initialization failed。
May I ask if there is a better solution?