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

論壇索引


Board index » All Posts




Re: PIC12F508請問一下...要的到sample嗎
高級會員
高級會員


可以吧
因為我已經有PROJECT使用12F508量產了
應該MICROCHIP很樂意給你吧

發表於: 2005/3/21 19:32
頂部


Re: 我真的搞不懂哪裡出錯?!
高級會員
高級會員


list P=18F252
#include<P18F252.INC>
VAL equ .170
num equ 0x80
;*******************
org 0x00
nop
;*******************
Initial:
banksel TRISB
clrf TRISB,0
movlw B'00000001' ;最初LED位置
movwf LATB,0
;*******************
start:
call Delay
CALL Delay ;這是比較笨的方法連CALL三次試試看
CALL Delay ;但是這是不可取的方法可是比較快可以驗證是不是DELAY過短的問題
CALL Delay
rlncf LATB,f,0
goto start
;*******************
Delay:
banksel num
movlw VAL
movwf num,1
Delay_loop nop
decfsz num,1,1
goto Delay_loop
return
;********************
end

發表於: 2005/3/21 19:30
頂部


Re: ICE2000原装的售价多少?
高級會員
高級會員


USD$2000
NTD$6XXXX

發表於: 2005/3/21 19:24
頂部


ice2000可以跑到40MHZ?
高級會員
高級會員


板主大哥
我現在要使用40MHZ請問我的ICE2000可以跑到40MHZ嗎
我打算模擬PIC18F8722

發表於: 2005/3/21 19:22
頂部


編譯時發生如下的錯誤,請高人指點迷津!
新會員
新會員


編譯時發生如下的錯誤,請高人指點迷津!

Error - section '.idata_GHWINIT.o' can not fit the section. Section '.idata_GHWINIT.o' length=0x00000522

TKS.

發表於: 2005/3/21 18:01
頂部


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: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
初級會員
初級會員


找到問題了!
原來JICD1~3不須調整,還是放在1&2 (MCU DEBUGE)位置
MPLAB設定Programmer(Programmer-->Select Programmer-->MPLAB ICD2)
說明書也沒寫清楚,害我忙了半天!

發表於: 2005/3/21 14:59
頂部


Re: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
初級會員
初級會員


以下是我在program mode下要燒陸產生的錯誤.
程式是WAP002的範例程式ANS6中的WAP002.mcp
板子是app001 ,Jumper JICD1~3也都放在2&3 (PROGRAMER),MPLAB 也設定在PROGRAMER

build all都ok,program時卻不成功,請問是什麼原因?

Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x21, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x21, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Erasing Target Device...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation
...Erase Succeeded
MPLAB ICD 2 Ready
Programming Target...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation
ICDWarn0035: Debug mode must be disabled. Disable debug mode or cancel?
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0x1C6F)
...Programming User IDs
Verifying...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0xEFBF, Val Read = 0x0)
ICD0275: Programming failed.
MPLAB ICD 2 Ready

發表於: 2005/3/21 14:15
頂部


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


參照:

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
頂部


Re: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
版主
版主


ICD2 燒錄程式有兩種模式 :
1. Dubugger 模式,這時燒錄出來的 PIC 只能在除錯模式下執行,無法單獨跑程式。
2. Programmer 模式下,這時用 ICD2 燒好的程式只要將 ICD2 的接頭拔下, PIC 就可以自行跑程式。

以上方式適用 MPLAB IDE v6.50 以上的版本,如是舊版的 IDE 就必須在 Configuretion 的設定下關閉 Background Dubugger Mode 才可以單獨執行程式。

發表於: 2005/3/21 9:35
頂部



« 1 ... 7184 7185 7186 (7187) 7188 7189 7190 ... 7522 »



:::

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... ]

教育訓練中心

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