Re: PIC32MX360F512L PIM在MPLAB8.10上執行問題
|
||||
---|---|---|---|---|
初級會員
|
MPLAB v8.14會修正上面的問題
發表於: 2008/6/13 12:32
|
|||
|
Re: PIC32MX360F512L PIM在MPLAB8.10上執行問題
|
||||
---|---|---|---|---|
初級會員
|
在Microchip論壇提到 http://forum.microchip.com/tm.aspx?m=336792 - don't use 'Configuration bits set in Code' Instead use: Reset to default, then set the configuration manualy The difference is: Bit 31 of CONFIG0 As from the DatatSheet this is the only bit that is readonly and 0 (all others are 1 by default) The compiler (C32) doesn't do this right, he always set this bit to 1 So when You compile the configuration dialog shows: 1FC0_2FFC F... instead of 7... I do some checks what has changed between C32 V1.01 and V1.02 and fpund the problem inside ... Microchip\MPLAB C32\pic32mx\lib\proc\32MX360F512L\configuration.data I am not realy shure how the syntax inside this files is, but by changing the line: CWORD:BFC02FFC:FFFFFFFF:FFFFFFFF to CWORD:BFC02FFC:7FFFFFFF:7FFFFFFF the compiler generates the correct values for the configuration area. It looks like the 2. and 3. entry define a mask & a default value, because in former versions of this file (and the files for other devices) These values contain a '1' only for 'used' configs bits...
發表於: 2008/6/9 22:32
|
|||
|
PIC32MX360F512L PIM在MPLAB8.10上執行問題
|
||||
---|---|---|---|---|
初級會員
|
使用Explore 16與PIC32MX360F512L PIM在MPLAB v8.10上執行
會出現 Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target ICDWarn0020: Invalid target device id (expected=0x938053, read=0x38053) 這好像是MPLAB v8.10版的問題 解決的方法是編輯PIC32MX360F512L.dev c:\Program Files\Microchip\MPLAB IDE\Device\PIC32MX360F512L.dev 請參考下面的論壇資料 http://forum.microchip.com/printable.aspx?m=335697 修改方法如下 1. 把PIC32MX360F512L.dev 的檔案唯讀屬性取消 2. PIC32MX360F512L.dev 檔案第93行 id=0x00938053)". 更改成"... id=0x00038053)" 如果一切OK,連接ICD2時會出現 Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device PIC32MX360F512L found, revision = Rev 0x30900053 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready
發表於: 2008/6/7 15:36
|
|||
|