• slider image 442
  • slider image 497
  • slider image 498
  • slider image 499
  • slider image 500
  • slider image 502
:::


Browsing this Thread:   1 Anonymous Users






Re: disPIC RAM的使用
#6
版主
版主


查看用戶資訊
如果要用 Small Mode 下編譯,可以加入 far 宣告也可以將編數放在 .bss 的範圍。

發表於: 2007/8/15 13:45
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: disPIC RAM的使用
#5
新會員
新會員


查看用戶資訊
在Build之前已经这样做了,编译选项为-mlarge-data -mlarge-scalar ,RAM容量足够大

發表於: 2007/8/15 10:54
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: disPIC RAM的使用
#4
版主
版主


查看用戶資訊
在 Project --> Build Options --> Project 選 MPASM C30
Categories 下選擇 Memory Model 後將 RAM Model 改為 Large Scalar Model.

發表於: 2007/8/13 10:57
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: disPIC RAM的使用
#3
新會員
新會員


查看用戶資訊
请问如何將變述宣告使用 .bss 的區域?Thank You!

發表於: 2007/8/13 10:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: disPIC RAM的使用
#2
版主
版主


查看用戶資訊
超過 .nbss 的範圍,可否將變述宣告使用 .bss 的區域。

發表於: 2007/8/13 9:57
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


disPIC RAM的使用
#1
新會員
新會員


查看用戶資訊
我用的disPIC型號為disPIC33FJ256GP710,它的 DATA memory可達30K Byte,但complier卻出現
Link Error: Could not allocate section .nbss, size = 7186 bytes, attributes = bss near
Link Error: Could not allocate data memory
程式所使用到的 RAM 已超過 .nbss 的範圍,要如何才能使RAM能夠用到30K byte,而不是只有nbss的8k byte而已,是要作什麼設定嗎??還是.......請教一下要如何解決此問題,謝謝!!!

發表於: 2007/8/11 23:39
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... ]

教育訓練中心

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