Re: 請教
|
||||
---|---|---|---|---|
初級會員
|
我的問題解決了,就是將
BTFSC W, 3改為MOVWF TEMP MOVWF TEMP,3 BTFSC W, 7改為MOVWF TEMP MOVWF TEMP,7 現在我想請教各位是不是不能在W裡面使用位操作指令
發表於: 2004/11/16 17:39
|
|||
|
Re: 如何保護ICD2不被燒掉??
|
||||
---|---|---|---|---|
新會員
|
為什麼我執行Program target device一次之後,把線拔起來測試過後,把線再插回去ICD2連線卻出現下面的錯誤:
ICDWarn0020: Invalid target device id (expected=ExpectedID, read=ReadID) (OK) MPLAB ICD 2 has read the device ID of the target device and found it different than expected for the device type selected within MPLAB IDE. If ReadID is 0 then it is likely that the target device is not powered, not connected, or simply missing. In any case, this is just a warning that MPLAB ICD 2 has not found the expected target device. Click OK to proceed. 執行(Program target device)卻出現下面的錯誤: Programming Target... ...Erasing Part ...Programming Program Memory (0x0 - 0x234) Verifying... ...Program Memory ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x3000, Val Read = 0x0) ICD0275: Programming failed. MPLAB ICD 2 Ready 而且連續二台ICD2都是這樣子的情形,該如何是好呢?
發表於: 2004/11/16 14:42
|
|||
|
Re: ADC 定時讀取方法... ><
|
||||
---|---|---|---|---|
初級會員
|
只要在計時中斷裡面,加入啟動AD的命令就好了.
AD完成後,啟動AD中斷
發表於: 2004/11/16 14:30
|
|||
|
如何保護ICD2不被燒掉??
|
||||
---|---|---|---|---|
新會員
|
請問要如何保護ICD2不會燒掉??
發表於: 2004/11/16 14:21
|
|||
|
Re: 請問IIC 是否有傳輸距離限制?
|
||||
---|---|---|---|---|
資深會員
|
我試過約75公分還能用
但是距離越長越不好 能短就儘量短吧
發表於: 2004/11/16 10:10
|
|||
|
請問IIC 是否有傳輸距離限制?
|
||||
---|---|---|---|---|
高級會員
|
如題.
我的想法是. 如果用IIC做多處理器的溝通, 兩個CPU距離較遠, 例如 20cm, 還可以用 IIC 嗎? 謝謝指教. 祝: 好 Ming....!!
發表於: 2004/11/16 0:15
|
|||
|
請教一個 I2C 的小問題^^
|
||||
---|---|---|---|---|
新會員
|
我使用C18 寫 Master傳資料的時候...
首先傳adress+0x00(寫入..)..之後收到確認位元(0)再寫入 data....問題來哩...如果我的data是一組字串.. EX: data[3]="abc"; 我應該用 for把 data一次全部丟出去...? 還是要用丟一次adress+0x00 收到確認位元(0) 再丟一個字元 重複三次呢? 還有如果是使用for把 data一次全部丟出去... Slave接收的時候該怎麼收才正確呢? 我是判斷SSPSTAT的狀態..用switch case 一個字一個字收... 但是都收不太到~~ 請救救我吧...
發表於: 2004/11/16 0:06
|
|||
|
Re: 有關 J-K F/F
|
||||
---|---|---|---|---|
資深會員
|
這種問題的答案在數位邏輯的書裡就有了吧?!
這跟PIC有關係嗎??
發表於: 2004/11/15 15:19
|
|||
|
Re: ICD2 秀出ICD0083: Target not in debug mode, unable to perform operation
|
||||
---|---|---|---|---|
新會員
|
謝謝tony大大的意見
6.電源確定有接.... 7.我昨晚接了16f877來試,功能正常.... 8.我會去研究一下.... 後來又換了一個30f2010來試...還是掛點
發表於: 2004/11/15 8:02
|
|||
|