free性丰满hd毛多多,久久综合给合久久狠狠狠97色69 ,欧美成人乱码一区二区三区,国产美女久久久亚洲综合,7777久久亚洲中文字幕

0
問答首頁 最新問題 熱門問題 等待回答標(biāo)簽廣場
我要提問

關(guān)于dspic30f系列的問題,尋求幫助

由于開發(fā)過程中需要接收大量數(shù)據(jù)到單片機(jī)中進(jìn)行處理,所以需要6kb的連續(xù)數(shù)據(jù)存儲空間,查看手冊時單片機(jī)的數(shù)據(jù)存儲空間為64kb,分成sfr空間,x,y空間,但我不想占用這些空間,還有一個空間是未用的x數(shù)據(jù)ram空間,用于提供程序空間可視性,我想把數(shù)據(jù)申請到這個空間,我用的是mplab ide v8.89??c30的編譯器
我用的address(0x8000)屬性指定數(shù)據(jù)的首地址,編譯可以通過,如下:
Data Memory Usage

section? ?? ?? ?? ?? ?? ???address? ?? ?alignment gaps? ? total length??(dec)
-------? ?? ?? ?? ?? ?? ???-------? ?? ?--------------? ? -------------------
.nbss? ?? ?? ?? ?? ?? ?? ?? ?0x800? ?? ?? ?? ?? ?? ? 0? ?? ?? ?? ?0x6e??(110)
.ndata? ?? ?? ?? ?? ?? ?? ???0x86e? ?? ?? ?? ?? ?? ? 0? ?? ?? ?? ?0x30??(48)
.nbss? ?? ?? ?? ?? ?? ?? ?? ?0x89e? ?? ?? ?? ?? ?? ? 0? ?? ?? ?? ? 0x8??(8)
_0119dd90516b4eb9? ?? ?? ???0x8000? ?? ?? ?? ?? ?? ? 0? ?? ?? ? 0x19c8??(6600)

? ?? ?? ?? ?? ?? ?? ?? ?Total data memory used (bytes):? ?? ?? ?0x1a6e??(6766) 83%
請問這樣做可以嗎?數(shù)據(jù)存在這里對我的程序空間的訪問有什么影響嗎?


而且當(dāng)我申請的空間達(dá)到8kb時,編譯結(jié)果如下
Data Memory Usage

section? ?? ?? ?? ?? ?? ???address? ?? ?alignment gaps? ? total length??(dec)
-------? ?? ?? ?? ?? ?? ???-------? ?? ?--------------? ? -------------------
.nbss? ?? ?? ?? ?? ?? ?? ?? ?0x800? ?? ?? ?? ?? ?? ? 0? ?? ?? ?? ?0x6e??(110)
.ndata? ?? ?? ?? ?? ?? ?? ???0x86e? ?? ?? ?? ?? ?? ? 0? ?? ?? ?? ?0x30??(48)
.nbss? ?? ?? ?? ?? ?? ?? ?? ?0x89e? ?? ?? ?? ?? ?? ? 0? ?? ?? ?? ? 0x8??(8)
_0119dd90516b511e? ?? ?? ???0x8000? ?? ?? ?? ?? ?? ? 0? ?? ?? ? 0x2260??(8800)

? ?? ?? ?? ?? ?? ?? ?? ?Total data memory used (bytes):? ?? ?? ?0x2306??(8966) 110%

編譯可以順利通過,但當(dāng)我用sim進(jìn)行仿真時會報錯:
ADC-W0008: Minimum Tad time is 667 ns, it is 250 ns
ADC-W0008: Minimum Tad time is 667 ns, it is 250 ns
CORE-E0011: Trap due to unimplemented RAM or PSV memory access, occurred from instruction at 0x000170
ADC-W0008: Minimum Tad time is 667 ns, it is 250 ns
ADC-W0008: Minimum Tad time is 667 ns, it is 250 ns
CORE-E0011: Trap due to unimplemented RAM or PSV memory access, occurred from instruction at 0x000170
提問者:朱桂洪008 地點:- 瀏覽次數(shù):9307 提問時間:03-09 05:57
我有更好的答案
提 交
撰寫答案
提 交
1 / 3
1 / 3