把code_start程序直接改成如下:
.ref _c_int00
.sect"codestart"
EALLOW ;
MOVZ DP, #7029h>>6
MOV @7029h, #0068h
EDIS
LB _c_int00
应该也可以吧?就省得去判断WD_DISABLE了,code_start程序的主要作用不就是禁止watchdog,然后跳转到_c_int00吗。
谢谢
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.