• 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: 請問為啥我的p16f877的pb6與pb7就是不亮
#7
新會員
新會員


查看用戶資訊
大家好

我是原Po

問題解決了,
是因為我使用別的廠牌燒錄器,
卻未從新設定configuration bits 緣故

謝謝各位

發表於: 2006/2/17 21:16
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問為啥我的p16f877的pb6與pb7就是不亮
#6
新會員
新會員


查看用戶資訊
在PB6與PB7上加10K電阻至電源正極試看看。

發表於: 2006/2/15 17:55
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問為啥我的p16f877的pb6與pb7就是不亮
#5
版主
版主


查看用戶資訊
您的configuration bits設成怎樣?

發表於: 2006/2/14 23:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問為啥我的p16f877的pb6與pb7就是不亮
#4
新會員
新會員


查看用戶資訊
參照:

tpetonyfu 寫道:
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 必須要有電源)


謝謝各位的回應,
可是我都沒有使用ICD耶
我直接將MCU插在麵包粄上面作實驗
還是我必須在MCU設定其他的選項
讓MCU從degug mode to program mode

還是不了解問題

另外,我拿f873作實驗,結果也一樣呢


發表於: 2006/2/10 9:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問為啥我的p16f877的pb6與pb7就是不亮
#3
初級會員
初級會員


查看用戶資訊
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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問為啥我的p16f877的pb6與pb7就是不亮
#2
初級會員
初級會員


查看用戶資訊
將ICD2與16F877A連線分開就可解決了.

發表於: 2006/2/9 23:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問為啥我的p16f877的pb6與pb7就是不亮
#1
新會員
新會員


查看用戶資訊
請教各位

我是用麵包板進行f877a基本輸入輸出的實驗,
電源是從電腦USB拉出來的,
可是當我將PORTB 全部輸出時
PB6與PB7的LED就是不亮,

而且我發現PB0與PB7的電壓大約是1.0伏特
不知各位可曾遇過類似的問題

PS:我用了兩顆f877a都有相同的問題,
且PORTC與PORTD皆能正常輸出
只有PORTB....有問題,看到時還真令人傻眼...

謝謝各位指教

發表於: 2006/2/9 22:50
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... ]

教育訓練中心

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