Re: MPLAB GP0 debug
|
||||
---|---|---|---|---|
中級會員
|
原來要把SCL存檔,再到simulation controler載入SCL
弄半天.. 本想再不行,只好拿出softice改maplab..~"~ 謝謝大家了~
發表於: 2005/3/22 19:15
|
|||
|
Re: MPLAB GP0 debug
|
||||
---|---|---|---|---|
新會員
|
我是用這種程式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
|
|||
|
Re: MPLAB GP0 debug
|
||||
---|---|---|---|---|
資深會員
|
參照:
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
|
|||
|
Re: MPLAB GP0 debug
|
||||
---|---|---|---|---|
版主
|
必須在 MPLAB SIM 的 debug 模式下才可以執行 Stimulus Controller & SCL Generator 的模擬輸入功能。
Microchip 目前沒有出版 MPLAB SIM 的使用手冊,可以在 MPLAB IDE 裡的 Help 找到使用說明。
發表於: 2005/3/19 9:09
|
|||
|
Re: MPLAB GP0 debug
|
||||
---|---|---|---|---|
高級會員
|
Input的接腳訊號要用軟體模擬的室窗送訊號給他
無法在Watch中直接輸入
發表於: 2005/3/19 7:57
|
|||
人生最長久的擁有是珍惜 但是大都在失去後才發現
|
||||
|
MPLAB GP0 debug
|
||||
---|---|---|---|---|
中級會員
|
請問一個小問題
在MPLAB IDE中DEBUG時 我在WATCH中,可以編輯OUTPUT,為什麼不能編輯INPUT的I/O腳信號? 如果不能在DEBUG時適時的修改INPUT,DEBUG不就很不方便?
發表於: 2005/3/19 4:06
|
|||
|