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

論壇索引


Board index » All Posts




Re: 有事想請教各位前輩,希望各位前輩能幫忙
新會員
新會員


我有看過datasheet,但是我還是不太了解,所以不知可否請前輩能提供你有使用過的範例做參考呢?謝謝

發表於: 2005/10/25 12:50
頂部


Re: 有事想請教各位前輩,希望各位前輩能幫忙
初級會員
初級會員


我是沒用過PIC16F819...有用過PIC16F877應該差不多吧!..
你可以先看看DATD SHEET寫的相關Timer0的設定..
將相關的暫存器設定完畢..在enable Time0..計數溢位後就會進入中斷了...也可上Microchip的網站應該會有相關的程式
ㄏㄏ..

發表於: 2005/10/25 11:41
頂部


請問一些使用河洛All-11 燒錄,12xxx 的一些問題 ?
新會員
新會員


各位大大有沒有人使用 all-11 燒錄, pic 12xxxx 系列,小弟是
pic 的新手,請各位幫幫我 !!

1. 我剛開始使用 all-11 燒錄,12f675 選INosc, i/o function
on GP4, 我用 auto 燒錄試了三次OK 沒問題,到第四次時,
作 checking OSCCAL && Bandgap ....
出現 ==> check OSCCAL is BLANK
如果跳過這個步驟, 還是可以燒錄,但燒好的 mcu 就是不
動作,他是已經壞了嗎?? 才燒三次, 還是有其他解法 ??

2. 我用all-11 燒12f508 及 12f509 都無法成功, 燒錄時
mcu 還會發燙, 有沒有人燒錄成功的 , 教教我 !!
我使用 8-pin dip 內部震盪。

3. 我用all-11 燒12c508 及 12c509 都無法成功,燒錄時
mcu 還會發燙, 有沒有人燒錄成功的 , 教教我 !!
我使用 8-pin dip 內部震盪。

4. 編號 pic12c509 與 pic 12c509/p 有何不同!!





發表於: 2005/10/25 10:57
頂部


build 問題
新會員
新會員


請教各位 :
我的程式 在bulid 之後
出現
Error: Bad magic number in COFF file "F:\18test\light.o".
的訊息,請問是哪裡出了問題 謝謝各位幫忙囉!!





發表於: 2005/10/25 10:44
頂部


Re: 有没有一些文章来讨论PIC16C745USB通信原理?
高級會員
高級會員


ㄏㄏㄏ...
眼睛小小的沒給他注意到...
PIC內建有USB+ADC功能的IC共有哪些型號?!
PIC16C745/765,PIC18F2455/2550/4455/4550...
除了這幾顆還有嗎?!

發表於: 2005/10/25 10:08
頂部


Re: 有没有一些文章来讨论PIC16C745USB通信原理?
版主
版主


cat520,

你大概很久沒看教育訓練的內容了吧! PIC18F4550 Full Speed USB 的課已經開了兩個月了,這顆IC也出來一年多了。

發表於: 2005/10/25 9:42
頂部


要如何使用watchdog?
初級會員
初級會員


我是用PIC18F6520
請問要如何使用watchdog?
是在Configuration Bits Enabled Watchdog Timer就可以了嗎?
那如果不要這樣,要在程式裡開啟或關掉,那要怎麼做?
而且要重何重置他的timer?

發表於: 2005/10/25 9:28
頂部


Re: 新手笨問題
資深會員
資深會員


我沒用過PIC16 試著回答一下
首先
貼上程式碼時頭尾要加上半形小寫
[ c o d e ] 跟 [ / c o d e ]
保持程式排版完整
因為這個討論區會把空格自動砍掉
有時因此而會忽略掉某些錯誤
像你第一個錯誤應該是list前面沒有加空格
放個空格或是跳躍鍵tab就好了

而特殊暫存器status跟trisc與intcon的錯誤
應該是因為你用小寫
改成大寫就好了
變數名稱大小寫是不同的
而指令則大小寫都可以
status,c 跟status,rp0 也全都改大寫看看

至於rc的錯誤
我不知道在PIC16中RC是不是指PORTC
如果是的話
那也把他改大寫看看
如果不是,那就是你沒有定義這個變數
編譯程式找不到這個東西

都改成大寫再看看吧

發表於: 2005/10/25 9:13
頂部


新手笨問題
高級會員
高級會員


買了 PIC16F87X 快速上手 何信龍 李雪銀 這本書

按照裡面的簡單測試程式範例 打了上去

list p=16f877
#include <p16f877.inc>
cnt       equ   0x20
delaycnt0 equ   0x21
delaycnt1 equ   0x22
          org   0x00
          nop 
          
goto  start
start
:
          
call  pic_init
main_loop
:
          
movlw b'11111110'
          
movwf rc
          movlw 0x08
          movwf cnt
inner_loop
:
          
call  delay
          bsf   status
,c
          rlf   rc
,f
          
goto  inner_loop
          
goto  main_loop
pic_init
:
          
clrf  intcon
          bsf   status
,rp0
          movlw 
b'00000000' 
          
movwf trisc
          bcf   status
,rp0
          movlw 
b'11111110'
          
movwf rc
          
return
delay:
          
movlw 0xff
          movwf delaycnt0
          movwf delaycnt1
delay0
:
          
decfsz delaycnt0,f
          
goto delay0
          decfsz delaycnt1
,f
          
goto delay0
          
return
          
end


Build All時 卻發生一大堆錯誤

CleanDone.
Executing"C:Program FilesMPLAB IDEMCHIP_Toolsmpasmwin.exe" //p16F877 "ex1.asm" /l"ex1.lst" /e"ex1.err"
Warning[205D:PICEX1.ASM 1 Found directive in column 1. (list)
Error[113]   D:PICEX1.ASM 13 Symbol not previously defined (rc)
Error[113]   D:PICEX1.ASM 18 Symbol not previously defined (status)
Error[113]   D:PICEX1.ASM 18 Symbol not previously defined (c)
Error[113]   D:PICEX1.ASM 19 Symbol not previously defined (rc)
Error[113]   D:PICEX1.ASM 23 Symbol not previously defined (intcon)
Error[113]   D:PICEX1.ASM 24 Symbol not previously defined (status)
Error[113]   D:PICEX1.ASM 24 Symbol not previously defined (rp0)
Error[113]   D:PICEX1.ASM 26 Symbol not previously defined (trisc)
Error[113]   D:PICEX1.ASM 27 Symbol not previously defined (status)
Error[113]   D:PICEX1.ASM 27 Symbol not previously defined (rp0)
Error[113]   D:PICEX1.ASM 29 Symbol not previously defined (rc)
Halting build on first failure as requested.
BUILD FAILEDTue Oct 25 02:55:30 2005


書上的範例應該沒錯 而我也照書上的打 有沒有人可以幫我解惑一下

謝謝...

發表於: 2005/10/25 3:19
頂部


Re: 有没有一些文章来讨论PIC16C745USB通信原理?
高級會員
高級會員


這裡面所提到...
PIC18F2455/2550/4455/4550這幾顆有內建USB喔!
這是真的嗎?!
這是新規格嗎?還是推出很久了!
爲什麼我沒注意到有這麼方便的IC....

發表於: 2005/10/25 0:42
頂部



« 1 ... 6889 6890 6891 (6892) 6893 6894 6895 ... 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... ]

教育訓練中心

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