使用MSP430i2041,加入low_level_init.c后仿真死在low_level_init.c里。提示
Warning: CPU is OFF (Low Power Mode) and interrupts are disabled! Cannot execute Step/Go.
大数组也全部用 _no_init。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
使用MSP430i2041,加入low_level_init.c后仿真死在low_level_init.c里。提示
Warning: CPU is OFF (Low Power Mode) and interrupts are disabled! Cannot execute Step/Go.
大数组也全部用 _no_init。
1)这个__low_level_init 函数是iar开发环境自带的内部函数。不用加入工程,编译的时候会自动加入
2)情况函数说明
/*
* The function __low_level_init it called by the start-up code before
* "main" is called, and before data segment initialization is
* performed.
*
* This is a template file, modify to perform any initialization that
* should take place early.
*
* The return value of this function controls if data segment
* initialization should take place. If 0 is returned, it is bypassed.
*
* For the MSP430 microcontroller family, please consider disabling
* the watchdog timer here, as it could time-out during the data
* segment initialization.
*/