• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::


Browsing this Thread:   1 Anonymous Users






Re: ccs 編譯 16c5x 系列的問題
#4
初級會員
初級會員


查看用戶資訊
這個問題從我用ccs3.050到ccs3.187就一直是這樣,所以我寫pic16c5x系列都用asm



發表於: 2004/7/6 19:49
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ccs 編譯 16c5x 系列的問題
#3
中級會員
中級會員


查看用戶資訊
update新版的compiler就不會有問題,如果你有這種"很明顯"就是ccs的錯,可以向ccs反映,他們會讓你免費download新版,但是建議你,不要用最新版,因為最新版會常"凸垂",如果沒什麼bug也不要update,每次update後都要重新簡查所有功能是否正常也很麻煩.

發表於: 2004/7/6 19:36
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ccs 編譯 16c5x 系列的問題
#2
資深會員
資深會員


查看用戶資訊
compile 之後,用 #ROM 指令,人工加上 reset vector 就好啦,再配合 #ORG 指令,就可以指定 main() 的起始位址,就更方便囉

#ROM 0x3FF = {0x...}

Syntax:
#rom address = {list};

Elements:
address is a ROM word address, list is a list of words separated by commas

Purpose:
Allows the insertion of data into the .HEX file. In particular, this may be used to program the '84 data EEPROM, as shown in the following example.

Note that this directive does not prevent the ROM area from being used. See #ORG to reserve ROM.

Examples:
#rom 0x2100={1,2,3,4,5,6,7,8}

Example Files:
None

Also See:
#org

發表於: 2004/7/6 12:24
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


ccs 編譯 16c5x 系列的問題
#1
初級會員
初級會員


查看用戶資訊
各位大大好,
小弟在用ccs 3.187編譯 16c5x (16c54,16c56,16c57...)的晶片時,發現程式的起點都由000h位址開始,但這樣是錯的,因為
16c5x的 reset vector (啟始向量)為1ffh,3ffh或7ffh.

請問對ccs這樣的編譯結果,要如何解決呢?


發表於: 2004/7/6 9:23
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... ]

教育訓練中心

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