• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: MPLAB GP0 debug
#7
中級會員
中級會員


查看用戶資訊
原來要把SCL存檔,再到simulation controler載入SCL
弄半天..
本想再不行,只好拿出softice改maplab..~"~
謝謝大家了~

發表於: 2005/3/22 19:15
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB GP0 debug
#6
新會員
新會員


查看用戶資訊
我是用這種程式simulation方法:
舉個例子原來程式是:

movlw GPIO
btfsc GPIO, 0x01
goto t1
goto t2

可以改成
movlw GPIO
movwf temp1 ;這樣就可以手動temp1的值.
btfsc temp1, 0x01
goto t1
goto t2


發表於: 2005/3/21 15:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB GP0 debug
#5
資深會員
資深會員


查看用戶資訊
參照:

diroex 寫道:
我是在mplab7底下使用ccs compiler pic12c508
.....
所以我去看看CCS本身的DEBUG有沒好簡易點
結果,CCS說我的DEBUG沒辦法連結ICD
難道CCS必需靠外部的硬體才可以DEBUG?

不知道什麼是ICD


ICD = In Circuit Debugger

CCS 的 debug 功能要搭配 CCS 的硬體 ICD 才行喔
http://www.ccsinfo.com/icds.shtml
CCS 的 ICD 比 Microchip 的 ICD2 便宜多了,
但是好像沒有 stimulus 的功能,請仔細看看網站的說明

喔,如果你有舊的 ICD1 ... CCS 可以讓他升級喔 ...
If you own an MPLAB® ICD1 you can load it with CCS-ICD firmware to get PIC18 debugging and ICSP functionality, but this functionality is only provided through CCS's software and not Microchip's software. However this is a great way to upgrade your existing ICD1's for use with PIC18s.

發表於: 2005/3/21 10:37
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB GP0 debug
#4
中級會員
中級會員


查看用戶資訊
我是在mplab7底下使用ccs compiler pic12c508
我在 Stimulus Controller設定好I/O一些腳的輸入PLUSE HIGH 時間,及一些按鍵INPUT設定
但程式在RUN時,這些PLUSE並沒有改變I/O
是不是我也得在SCL設定?
我只知道我有一個50Hz AC信號,2 INPUT/1 OUTPUT要設定
目前SCL我還一頭霧水
不知道要設定那些東西~"~
只好再找時間研究.....

所以我去看看CCS本身的DEBUG有沒好簡易點
結果,CCS說我的DEBUG沒辦法連結ICD
難道CCS必需靠外部的硬體才可以DEBUG?

不知道什麼是ICD
我再查一下DATA,原來12C508並沒有ICD DEBUG
?口?
是不是我只是沒把SCL設定好?

發表於: 2005/3/21 4:27
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB GP0 debug
#3
版主
版主


查看用戶資訊
必須在 MPLAB SIM 的 debug 模式下才可以執行 Stimulus Controller & SCL Generator 的模擬輸入功能。

Microchip 目前沒有出版 MPLAB SIM 的使用手冊,可以在 MPLAB IDE 裡的 Help 找到使用說明。

發表於: 2005/3/19 9:09
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB GP0 debug
#2
高級會員
高級會員


查看用戶資訊
Input的接腳訊號要用軟體模擬的室窗送訊號給他
無法在Watch中直接輸入

發表於: 2005/3/19 7:57
人生最長久的擁有是珍惜 但是大都在失去後才發現
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


MPLAB GP0 debug
#1
中級會員
中級會員


查看用戶資訊
請問一個小問題
在MPLAB IDE中DEBUG時
我在WATCH中,可以編輯OUTPUT,為什麼不能編輯INPUT的I/O腳信號?
如果不能在DEBUG時適時的修改INPUT,DEBUG不就很不方便?

發表於: 2005/3/19 4:06
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... ]

教育訓練中心

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