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


Browsing this Thread:   1 Anonymous Users






Re: PIC24FJ256GA106 RAM使用問題
#4
版主
版主


查看用戶資訊
參考底下的連結,那裏有 EEPROM 模擬的範例:
http://www.microchip.com/stellent/idc ... Id=1406&dDocName=en538000

或搜尋 CE209 也有的:
CE209 - Run-Time Self Programming of FLASH Program Memory

發表於: 2009/7/30 15:16
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC24FJ256GA106 RAM使用問題
#3
中級會員
中級會員


查看用戶資訊
Dear Ryang:

問題已解決。謝謝!!!

PIC24FJ256GA106的ROM有256K,
希望在200K之後存入一些相關設定資料,關機不會消失。
是否有相關資料可供參考。 謝謝

發表於: 2009/7/30 14:59
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC24FJ256GA106 RAM使用問題
#2
版主
版主


查看用戶資訊
PIC24 最前面的 8KB RAM 稱之為 Near RAM (.nbss),由 2K SFR + 6K RAM 所組成。你所使用的 RAM 撐過 6KB 以上就需更改 C30 Compiler 裡的 Memory Model 為 Large Data Model。

Porject --> Project options --> project 下選 MPLAB C30,在Categories 選項下變更。

發表於: 2009/7/30 14:43
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PIC24FJ256GA106 RAM使用問題
#1
中級會員
中級會員


查看用戶資訊
Dear All:
PIC24FJ256GA106的RAM為16384個位元組,
目前的RAM在使用6120Bytes為ok的
但要再使用多一些時就會產生Error訊息(6147 bytes以上)
訊息為:
MN600_SUB.o: Link Error: Could not allocate section .nbss, size = 2 bytes, attributes = bss near
Link Error: Could not allocate data memory


程式宣告方式如下:
unsigned char Store_Area[138][27]; //Need more array
unsigned char Ho_Lee_Trans_Data[9];
unsigned char ReciveData1[400];
unsigned char ReciveData2[400];
unsigned char ReciveData3[400];
unsigned char ReciveData4[400];
unsigned char N6000_Trans_Data[164];
unsigned char N6000_Trans_Data1[164];
unsigned char N6000_Trans_Data2[164];
unsigned char N6000_Trans_Data3[164];
unsigned char N6000_Test1_Function[5];
.......
目前希望Store_Area[138][27]; 可使用多一些,最少2-3倍
,是否有其它方式可使用。謝謝指教

發表於: 2009/7/30 14:22
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... ]

教育訓練中心

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