Browsing this Thread:
1 Anonymous Users
|
請教關於修改C30 link文檔的方法
|
|
新會員
Joined
: 2009/5/22 17:53 最後登入時間
: 2009/5/22 18:23
Group:
註冊會員
Level : 1 HP : 0 / 0 MP : 0 / 0 EXP : 0
|
最近在做一個專案,使用的是IC是dsPIC33FJ128GP708,其中要用到RTSP功能,但是每次修改程式後堆疊指標都不固定的,因此導致RTSP升級的程式不能使用,我看《C30使用手冊》上介紹可以使用用戶定義連接描述檔提供的值對堆疊指標進行初試化,並給出了如下一段代碼,但是我把該段代碼複製到dspPIC33FJ128GP708.gld檔裏並保存,但是編譯通不過。請問我應該怎麼做呢?謝謝! 以下是dspPIC33FJ128GP708.gld檔裏的一部分,其中reset那段是我加上去的,但是編譯通不過.
/* ** ==================== Section Map ====================== */ SECTIONS { /* ** ========== Program Memory ========== */
/* ** Reset Instruction */ .reset : { SHORT(ABSOLUTE(__reset)); SHORT(0x04); SHORT((ABSOLUTE(__reset) >> 16) & 0x7F); SHORT(0); } >reset
.stack : { __SP_init = .; . += 0x100 __SPLIM_init = .; . += 8 } >data
發表於: 2009/5/22 18:27
|
|
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.