您好 我目前使用Mplab 8.10版本編譯,ICD可連結進入debug模式 linker(.gld) OK Header(.h) OK 成功訊息如下: ---------------------------------------------- Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device dsPIC33FJ256MC710 found, revision = Rev 0x3002 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready ----------------------------------------------- 編譯後進入載入程式階段,出現錯誤訊息如下: ------------------------------------------------ Programming Target... ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation ICD0200: Operation Aborted (Warning 51). ICD0275: Programming failed. MPLAB ICD 2 Ready ------------------------------------------------- 爬文之後,為了使用本身32K RAM,設定方法如下 設定方面,Project -> build options -> Project -> MPLAB C30 -> categories -Memory model -> data Model - large data model
若我將data model 設定為預設(default) 出現錯誤訊息如下: ----------------------------------- Programming Target... ...Validating configuration fields ICDWarn0046: Because clock switching is enabled, MPLAB ICD 2 requires the user to cycle target power after a program operation. (<--這一段訊息有影響嗎??) ...Erasing Part ...Programming Programming Executive ...Verifying Programming Executive ICD0161: Verify failed (MemType = Test, Address = 0x800018, Expected Val = 0x80011C, Val Read = 0x0) ICD0275: Programming failed. MPLAB ICD 2 Ready ------------------------------------- 謝謝