Board logo

标题: 89S51?????·??????????·?·¨?°Keil51?????÷ [打印本页]

作者: zing    时间: 2004-9-12 01:23     标题: 89S51?????·??????????·?·¨?°Keil51?????÷

89S51?????·??????????·?·¨??????
?????ò?????????ò?????·?????÷?¨WDTRST???·??0A6H??????????01EH????????0E1H???????¤
???????·??
Org 0000
Ljmp begin
Begin:
Mov 0A6H,#01EH ;????1E
Mov 0A6H,#0E1H ;?ó??E1
???????ò?????????¤???????·??
????
????
For:
????
Mov 0A6H,#01EH ;????1E
Mov 0A6H,#0E1H ;?ó??E1
;???·????
????
Ljmp for

??C?????????????????ù?÷??????
??AT89X51.h?ù?÷?????????????? sfr WDTRST = 0xA6;
Main()
{
WDTRST=0x1E;
WDTRST=0xE1;//???????????·??
While (1)
{
WDTRST=0x1E;
WDTRST=0xE1;//???·????

}
}

×?????????
1?? 89S51???????·±????????ò?¤???ó???????¤×÷???ù??±???±??¤CPU??????????????????
·??ò?????·????·¨?¤×÷??
2?? ?????·????????CPU???§???????§?????????±?ò?????·?????§??
3?? 89S51????14???????÷????16383???ú?÷??????±??????????·???????????????±??????
?¨??????·¨?ü?????±?§????12M?±??16???????è???·??????
?????????¨?±?÷°??????·?????·?±?????¤????????·?????

[???ù±?zing??2004-09-12 1:29 AM????±à??]
作者: zing    时间: 2004-9-12 01:26     标题: ??keil?·????SST89c58??×÷??51?????????÷?????ò??

??keil?·????SST89c58??×÷??51?????????÷?????ò??


????sst89c58?????÷??????keilc51??debug?÷???·????????
??±????ò±à???ó????sst89c58????±à????remap 4kbytes??????????????keil?·????????????????
?±p1.0?????±???????±???????????ò?????????????ò?ó???á×???????block0??p1.0???????±???????§???ò??
???????????ò?ó???????¨????????keil??·????·?????¨???¨????×????÷????
????load HEX???????????????ò??????sst89c58??????32keeprom????????7e00-7fffh±?????????
???÷????sstdownload.A51






欢迎光临 我要委托设计网论坛 (http://51odm.com/fourms/) Powered by Discuz! 5.5.0