音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

登錄 免費(fèi)注冊(cè) 首頁(yè) | 行業(yè)黑名單 | 幫助
維庫(kù)電子市場(chǎng)網(wǎng)
技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測(cè)控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng)
驅(qū)動(dòng)編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機(jī) | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計(jì) | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe

程序跑飛

作者:yefoliang 欄目:單片機(jī)
程序跑飛
在我寫(xiě)程序時(shí),我把一段沒(méi)關(guān)重要的程序刪除后,發(fā)現(xiàn)程序就跑飛了,我再用單步來(lái)檢查程序,發(fā)現(xiàn)在其中一條中出問(wèn)題,在這條程序前后加上NOP后,程序還在會(huì)跑飛,請(qǐng)問(wèn)在這樣跑飛的程序有什么好的方法來(lái)防止程序跑飛,大家來(lái)討論一下。


2樓: >>參與討論
swaryer
建議:開(kāi)啟WDT,在程序中要經(jīng)常CLRWDT
開(kāi)啟WDT,在程序中要經(jīng)常CLRWDT
單步跑,就知道程序在哪里跑飛了

3樓: >>參與討論
kingpoo
yefoliang:我認(rèn)為你應(yīng)該把你的程序貼出來(lái)!
 yefoliang:我認(rèn)為你應(yīng)該把你的程序貼出來(lái)!
然后告訴大家你使用的環(huán)境,這樣大家才能夠幫助你的

4樓: >>參與討論
xieyuanbin
你那條什么程序?
PIC不是51,不會(huì)無(wú)緣無(wú)故就跑飛的.

5樓: >>參與討論
fangzk
大家?guī)兔纯催@個(gè)程序?yàn)楹卫鲜莵y跳?
;**********************************************************************
;   This file is a basic code template for assembly code generation   *
;   on the PICmicro PIC16F73. This file contains the basic code       *
;   building blocks to build upon.                                    *  
;                                                                     *
;   If interrupts are not used all code presented between the ORG     *
;   0x004 directive and the label main can be removed. In addition    *
;   the variable assignments for 'w_temp' and 'status_temp' can       *
;   be removed.                                                       *                         
;                                                                     *
;   REFER to the MPASM User's Guide for additional information on     *
;   features of the assembler (Document DS33014).                     *
;                                                                     *
;   REFER to the respective PICmicro data sheet for additional        *
;   information on the instruction set.                               *
;                                                                     *
;**********************************************************************
;                                                                     *
;    Filename:        xxx.asm                                           *
;    Date:                                                            *
;    File Version:                                                    *
;                                                                     *
;    Author:                                                          *
;    Company:                                                         *
;                                                                     *
;                                                                     *
;**********************************************************************
;                                                                     *
;    Fi
6樓: >>參與討論
fangzk
大家一定要幫我。
是不是我因該用rc,不用tx?

參與討論
昵稱(chēng):
討論內(nèi)容:
 
 
相關(guān)帖子
在用ccp2部件做pwm 驅(qū)動(dòng)直流電機(jī)得過(guò)程中發(fā)現(xiàn),,,
請(qǐng)版主和各位前輩指點(diǎn)
請(qǐng)問(wèn):在福州哪里可以買(mǎi)到PIC芯片,謝謝!
晶振停振
用過(guò)EMC78P156E單片機(jī)的大俠們看過(guò)來(lái)呀,多謝先!
免費(fèi)注冊(cè)為維庫(kù)電子開(kāi)發(fā)網(wǎng)會(huì)員,參與電子工程師社區(qū)討論,點(diǎn)此進(jìn)入


Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號(hào)