Re: CCS Compiler
|
||||
---|---|---|---|---|
資深會員
|
英文的書
"Embedded C Programming and the Microchip PIC" http://www.amazon.com/exec/obidos/tg/ ... -8512474-0131262?v=glance 中文的教學資料與範例 http://pic-proto.mech.yzu.edu.tw/software/software.htm http://www.goldenchip.com.cn/gdbbs/di ... melimit=&operator=&page=1 Best wishes
發表於: 2004/8/7 12:06
|
|||
|
Re: pic compiler 問題
|
||||
---|---|---|---|---|
資深會員
|
CCS 的
免費試用版 http://www.ccsinfo.com/demo.shtml 廉價教育版 http://www.ccsinfo.com/education.shtml 正式版 http://www.ccsinfo.com/ccscorder.shtml
發表於: 2004/7/29 18:06
|
|||
|
Re: 購買dsPIC30F6012及dsPIC6014
|
||||
---|---|---|---|---|
資深會員
|
http://www.digikey.com/scripts/DkSear ... =93283&Row=242361&Site=US
6012,25 顆以上,一顆單價 USD 18.49,刷信用卡啦 比 Microchip 網站價貴三塊錢吧,不過阿,Microchip 網站上沒現貨,Digikey 居然還有 135 顆, 呵呵 這家也有 http://www.newark.com/NewarkWebCommer ... ductDetail.jsp?id=88H5570
發表於: 2004/7/28 0:55
|
|||
|
Re: 16F與18F程式轉碼問題
|
||||
---|---|---|---|---|
資深會員
|
要用 TBLRD,還得先設定 TBLPTRU, TBLPTRH, TBLPTRL
#define TBLPTRU *(int8 *)(0xFF8) // Addr_Upper #define TBLPTRH *(int8 *)(0xFF7) // Addr_High #define TBLPTRL *(int8 *)(0xFF6) // Addr_Low #define TABLAT *(int8 *)(0xFF5) // Data_Byte data 從 TABLAT 讀取,有夠煩的,看 data sheet 的 5.4 節吧 別忘了要設定這個喔 BCF 0xFA6, 6 // EECON1, CFGS, select Prog_EE and Data_EE 用 C 寫程式,就可以減少許多這種轉碼的問題,呵呵 。 看看 C 編譯出來的組語,也可以學會如何轉碼。 建議:去 CCS 下載一套免費的 demo 版玩玩,也可以解決你的問題 http://www.ccsinfo.com/demo.shtml
發表於: 2004/7/21 23:56
|
|||
|
Re: pic內含<比較器>的具體用法
|
||||
---|---|---|---|---|
資深會員
|
發表於: 2004/7/10 12:35
|
|||
|
Re: CCS-C 3.203 bug
|
||||
---|---|---|---|---|
資深會員
|
CCS-C 3.204 已經把上面那隻蟲解決啦,呵呵,才兩天就出新版
發表於: 2004/7/6 12:29
|
|||
|
CCS-C 3.203 bug
|
||||
---|---|---|---|---|
資深會員
|
沒必要的話就不要升級!
// bug_3203_BSR_read_adc.c by C-H Wu 2004/07/04
發表於: 2004/7/4 17:24
|
|||
|
CCS-C 的一些特性
|
||||
---|---|---|---|---|
資深會員
|
發表於: 2004/7/3 10:39
|
|||
|
Re: pic18f8720 boot load問題
|
||||
---|---|---|---|---|
資深會員
|
你要用 外部 EEPROM 儲存程式, Microchip 的 AN869 有說明
http://ww1.microchip.com/downloads/en/AppNotes/00869b.pdf CCS 有套件,60 美金,應該有範例程式,去問問吧 http://www.ccsinfo.com/evalkit8720.shtml#18f8720 18F8720 Mini-proto board Similar to the 18F6720, however this model includes external EEPROM for developing applications in micro-processor mode. 又,CCS 3.202 的 bug 不少,詳見 CCS 討論區,建議試試3.187 或 3.189。CCS 目前提供下載的是 3.202 和 3.191,很不幸的 3.191 連 delay_us() 都有蟲,請小心。
//bug_3191_delay_us.c
發表於: 2004/7/1 11:26
|
|||
|