Re: 請問為啥我的p16f877的pb6與pb7就是不亮
|
||||
---|---|---|---|---|
新會員
|
大家好
我是原Po 問題解決了, 是因為我使用別的廠牌燒錄器, 卻未從新設定configuration bits 緣故 謝謝各位
發表於: 2006/2/17 21:16
|
|||
|
Re: 請問為啥我的p16f877的pb6與pb7就是不亮
|
||||
---|---|---|---|---|
新會員
|
在PB6與PB7上加10K電阻至電源正極試看看。
發表於: 2006/2/15 17:55
|
|||
|
Re: 請問為啥我的p16f877的pb6與pb7就是不亮
|
||||
---|---|---|---|---|
版主
|
您的configuration bits設成怎樣?
發表於: 2006/2/14 23:38
|
|||
|
Re: 請問為啥我的p16f877的pb6與pb7就是不亮
|
||||
---|---|---|---|---|
初級會員
|
RB6(PGC), RB7(PGD) 除了 I/O function 之外, 它們也是 ICD2 與 PIC 相互溝通的 PORT(請參考 Data Sheet 39582A.PDF P.9)
若是您使用 DEBUG MODE 去 RUN PROGRAM, RB6, RB7 是保留給 ICD2 通訊用的, 因此您說燈不亮是正常的. 您可以使用 Programmer Mode, 當燒錄完成後, 將 PIC 與 ICD2 連接的 6pin 排線拔掉, PIC 應該就能正常運作了 (PIC 必須要有電源)
發表於: 2006/2/10 9:14
|
|||
|
Re: 請問為啥我的p16f877的pb6與pb7就是不亮
|
||||
---|---|---|---|---|
初級會員
|
將ICD2與16F877A連線分開就可解決了.
發表於: 2006/2/9 23:32
|
|||
|
請問為啥我的p16f877的pb6與pb7就是不亮
|
||||
---|---|---|---|---|
新會員
|
請教各位
我是用麵包板進行f877a基本輸入輸出的實驗, 電源是從電腦USB拉出來的, 可是當我將PORTB 全部輸出時 PB6與PB7的LED就是不亮, 而且我發現PB0與PB7的電壓大約是1.0伏特 不知各位可曾遇過類似的問題 PS:我用了兩顆f877a都有相同的問題, 且PORTC與PORTD皆能正常輸出 只有PORTB....有問題,看到時還真令人傻眼... 謝謝各位指教
發表於: 2006/2/9 22:50
|
|||
|