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


Browsing this Thread:   1 Anonymous Users






Re: 16F74轉16F724遇上的一些問題請教!!謝謝
#3
版主
版主


查看用戶資訊
ICD2 的 Vpp 高壓式固定的約在 12.6V 左右,但像 Real ICE , PICKIT2 & PICKIT3 的Vpp 式自動調整的。在 Microchip 一些新製程的元件(200K 製程) 像PIC18F14K50, PIC16F72x ans PIC16F16F1837 等新元件其燒錄的 Vpp 規格就只能介於 8~9V 之間。所以以 ICD2 燒錄 PIC16F72x 時須在Vpp 腳端加入一顆8.3V Zinner Diode 再串個電阻限流一下。

發表於: 2009/5/6 11:35
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 16F74轉16F724遇上的一些問題請教!!謝謝
#2
版主
版主


查看用戶資訊
1. PIC16F672 Configuration Bits 的設定可以參考 p16f724.inc 裡對 Configuration Bits 的 Marco 定義。
可以參考底下寫法:
;------------------------------------------------------------------------------
;
CONFIGURATION WORD SETUP
;
The 'CONFIG' directive is used to embed the configuration word within the 
; .asm fileThe lables following the directive are located in the respective 
; .inc file.  See the data sheet for additional information on configuration 
word settings.
;
;------------------------------------------------------------------------------

     
__CONFIG    _CONFIG1_DEBUG_OFF _PLL_DIS _BORV_1_9 _BOR_OFF _CP_OFF _MCLR_EN _PWRT_EN _WDT_OFF _INTOSCIO 
     __CONFIG    _CONFIG2
_VCAP_DIS

發表於: 2009/5/6 11:18
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


16F74轉16F724遇上的一些問題請教!!謝謝
#1
高級會員
高級會員


查看用戶資訊
小弟想將程式由16F74轉成16F724..發生底下一些問題,
前來請教各位前輩....

1. pic16f72x 的 Configuration bits 有分 CONFIG1,CONFIG2
請教如何在程式中直接定義?

2.底下錯誤訊息是什麼意思,用16F7X可以正常編譯出來..但改成PIC16F724就一堆類似底下的問題...看不懂,所以不知道該如何調整

Error [1347] ; 0. can't find 0x37 words (0x37 withtotal) for psect "text651" in segment "CODE" (largest unused contiguous range 0x33)

Error [1347] ; 0. can't find 0x34 words (0x34 withtotal) for psect "text680" in segment "CODE" (largest unused contiguous range 0x33)

3.使用ICD2燒錄時..有訊息說MCLR VPP 12V,好象說要確認線路的保護?..這是什麼意思.?

謝謝各位解惑...

發表於: 2009/5/5 23:42
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... ]

教育訓練中心

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