• slider image 442
  • slider image 492
  • slider image 493
  • slider image 494
  • slider image 495
  • slider image 496
:::


Browsing this Thread:   1 Anonymous Users






Re: 請問 MPLAB SIM 問題 ......
#8
版主
版主


查看用戶資訊
總之,在玩 PIC 前是要先把重要的規格先看完,不然連PIC 有幾支 I/O 腳都弄錯,這樣去 DFebug 是很不值得的啦!

發表於: 2008/12/26 14:46
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問 MPLAB SIM 問題 ......
#7
中級會員
中級會員


查看用戶資訊
感謝 ke730 大熱心幫忙
逼不得已, 只好直接請教代理商 FAE 高手
原來 16F687 PORTB 無 BIT0 ~ BIT3
所以模擬時不會動且需設定 ANSEL & ANSELH
才能完成指定為 DIGIT I/O
也才能在模擬時隨心所欲變更內容
問題已經解決了! 不過
還是要再次感謝您的熱心幫忙! 謝謝!

發表於: 2008/12/26 13:21
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問 MPLAB SIM 問題 ......
#6
初級會員
初級會員


查看用戶資訊
所有變數都不會更新嗎?
我不會,可能得另請教高手了。

發表於: 2008/12/26 11:19
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問 MPLAB SIM 問題 ......
#5
中級會員
中級會員


查看用戶資訊
更正
banksel TRISB
clrf TRISB
banksel PORTB
clrf PORTB
是將所有 PORTD 改為 PORTB
因 PIC16F687 無 PORTD

發表於: 2008/12/25 19:29
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問 MPLAB SIM 問題 ......
#4
中級會員
中級會員


查看用戶資訊
感謝您的指導, 不過還是無法正常模擬
很奇怪的是 ......
以 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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問 MPLAB SIM 問題 ......
#3
初級會員
初級會員


查看用戶資訊
simulator settings => Debugger - settings..

發表於: 2008/12/24 22:39
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問 MPLAB SIM 問題 ......
#2
初級會員
初級會員


查看用戶資訊
simulator settings
anmation / realtime updates
Enable Realtime watch updates打勾

發表於: 2008/12/24 22:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問 MPLAB SIM 問題 ......
#1
中級會員
中級會員


查看用戶資訊
請問以 MPLAB SIM 純軟體模擬時, 開 WATCH 視窗
但 WATCH 中變數在單步執行中都沒有依程式邏輯
而改變, 請問還需要設定那裡嗎?

發表於: 2008/12/23 19:41
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------