Re: 請問 MPLAB SIM 問題 ......
|
||||
---|---|---|---|---|
版主
|
總之,在玩 PIC 前是要先把重要的規格先看完,不然連PIC 有幾支 I/O 腳都弄錯,這樣去 DFebug 是很不值得的啦!
發表於: 2008/12/26 14:46
|
|||
|
Re: 請問 MPLAB SIM 問題 ......
|
||||
---|---|---|---|---|
初級會員
|
所有變數都不會更新嗎?
我不會,可能得另請教高手了。
發表於: 2008/12/26 11:19
|
|||
|
Re: 請問 MPLAB SIM 問題 ......
|
||||
---|---|---|---|---|
中級會員
|
更正
banksel TRISB clrf TRISB banksel PORTB clrf PORTB 是將所有 PORTD 改為 PORTB 因 PIC16F687 無 PORTD
發表於: 2008/12/25 19:29
|
|||
|
Re: 請問 MPLAB SIM 問題 ......
|
||||
---|---|---|---|---|
中級會員
|
感謝您的指導, 不過還是無法正常模擬
很奇怪的是 ...... 以 RTC 101_ASP 的 EX1 去模擬一切正常 將 EX1 所有檔案複製到指定目錄底下模擬也一切正常 唯更改 MCU -> PIC16F687 及 PORTD -> PORTB list p=16F687 #include <p16f687.inc> : : banksel TRISB clrf TRISD banksel PORTD clrf PORTD : : 則無法正常將變數顯現在 WATCH 視窗 請問還有什麼地方要注意的?
發表於: 2008/12/25 19:24
|
|||
|
Re: 請問 MPLAB SIM 問題 ......
|
||||
---|---|---|---|---|
初級會員
|
simulator settings => Debugger - settings..
發表於: 2008/12/24 22:39
|
|||
|
Re: 請問 MPLAB SIM 問題 ......
|
||||
---|---|---|---|---|
初級會員
|
simulator settings
anmation / realtime updates Enable Realtime watch updates打勾
發表於: 2008/12/24 22:38
|
|||
|
請問 MPLAB SIM 問題 ......
|
||||
---|---|---|---|---|
中級會員
|
請問以 MPLAB SIM 純軟體模擬時, 開 WATCH 視窗
但 WATCH 中變數在單步執行中都沒有依程式邏輯 而改變, 請問還需要設定那裡嗎?
發表於: 2008/12/23 19:41
|
|||
|