• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: PIC32MX360F512L PIM在MPLAB8.10上執行問題
#4
初級會員
初級會員


查看用戶資訊

MPLAB v8.14會修正上面的問題

發表於: 2008/6/13 12:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC32MX360F512L PIM在MPLAB8.10上執行問題
#3
初級會員
初級會員


查看用戶資訊

在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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC32MX360F512L PIM在MPLAB8.10上執行問題
#2
初級會員
初級會員


查看用戶資訊
程式可以執行,但是卻有下面的error message

MPLAB ICD 2 Ready
Programming Target...
...Validating configuration fields
...Erasing Part
...Loading Program Executive
...Programming Boot Config (0x1FC00000 - 0x1FC007FC)
...Verifying Boot Config memory (0x1FC00000 - 0x1FC007FC)
...Programming Boot Config (0x1FC01000 - 0x1FC011FC)
...Verifying Boot Config memory (0x1FC01000 - 0x1FC011FC)
...Programming Program Memory (0x1D000000 - 0x1D0009FC)
...Verifying Program memory (0x1D000000 - 0x1D0009FC)
...Programming Configuration Bits
...Verifying Config memory
ICD0296: Failed CRC check (Mem='Config' Expected=0x7597 Received=0xE41F)
ICD0275: Programming failed.
MPLAB ICD 2 Ready
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation

發表於: 2008/6/7 18:08
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PIC32MX360F512L PIM在MPLAB8.10上執行問題
#1
初級會員
初級會員


查看用戶資訊
使用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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







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.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------