Re: MPLAB ICD2看不到變數值
|
||||
---|---|---|---|---|
初級會員
|
謝謝版主支援
使用新的MCU就是要和有經驗的人討論,才會快速上手。
發表於: 2007/12/28 10:18
|
|||
數位地球人
|
||||
|
Re: MPLAB ICD2看不到變數值
|
||||
---|---|---|---|---|
資深會員
|
就一般情況,dspic 應該一樣吧:
Reserved Memory - ICD Debug 需要佔用某些特定 memory 位址,請避開。 位址可查 MPLAB 的 Help Out of scope - breakpoint 請停在該 scope 程式範圍中, 再來看
發表於: 2007/12/27 10:01
|
|||
|
Re: MPLAB ICD2看不到變數值
|
||||
---|---|---|---|---|
初級會員
|
麻煩版主或各位高手能解惑
在watch看不到區域及全域變數的問題是: 1. 我的設定或方法不對 2. ICD2的能力有限? 那Real ICE呢? 3. MPLAB的問題? 就算是使用Real ICE也沒輒 謝謝~
發表於: 2007/12/27 9:47
|
|||
數位地球人
|
||||
|
MPLAB ICD2看不到變數值
|
||||
---|---|---|---|---|
初級會員
|
各位好
我是新手,使用MPLAB ICD2,搭配dsPIC30F4011的開發板子,現在寫了一個很簡單的小程式,測試中斷及Timer,結果如預期一般工作。 問題是,在程式中設了一個全域變數,放在Timer的中斷副程式,做為旗標。另外在主程式放了一個區域變數,計算中斷副程式發生的次數。 我用watch看,MPLAB可以把這兩個變數抓出來,但是它的值卻無法看的到。 全域變數的值會顯示:Reserved Memory 區域變數的值會顯示:Out of Scope 請問一下,有辦法把這兩個變數的值正確顯示嗎?
發表於: 2007/12/26 11:49
|
|||
數位地球人
|
||||
|