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

論壇索引


Board index » All Posts




Re: 使用MPLINK 出現錯誤!!!!
版主
版主


PIC16Fxxx 的中斷位址在0x0004, 如果不修改LKR檔的話,指可以在0x0004 放一個 goto 指令將中斷程式一到別的地方。

發表於: 2005/10/13 14:32
頂部


Re: 有辦法比對程式碼嗎?
版主
版主


如果使 Flash 版本,重燒 0x55,0xAA 各一次檢查程式記憶體是否有損壞,或可以找代理商送 Microchip 做故障分析。

發表於: 2005/10/13 14:27
頂部


Re: MPLAB C18 v3.00 Beta 1
版主
版主


MPLAB C18 v3.00 用的MPLINK需為同一版本,舊版的 MPLINK 無法看懂新版的格式。

底下是 Microchip Released C18 v3.0的一些訊息供參考:

Important Changes to MPLAB C18 v3.00:
MPLAB C18 v3.00 and later COFF file formats will not be compatible with versions of MPLINK prior to v4.00 or versions of the MPLAB IDE prior to v7.21.

New Features:
- Improvements have been made to the COFF file format that will provide the following capabilities from MPLAB IDE v7.21 and later:
automatic detection of IEEE vs. Microchip floating-point format
automatic detection of variables of "short long" type
automatic detection of pointers to ROM vs. pointers to RAM
- MPLAB IDE v7.22 and later will also distinguish between pointers to near ROM and pointers to far ROM.
- Automatic ISR context saving is implemented.
- Functions called only by an ISR can share the same temporary data section with that ISR (#pragma tmpdata).
- “MPLAB C18 C Compiler Getting Started” manual rewritten.
- See the associated README file for other changes, fixes, and device support.

發表於: 2005/10/13 14:23
頂部


Re: 有辦法比對程式碼嗎?
資深會員
資深會員


我不是要確認程式版本啦
我是想確認程式記憶體是否損壞
雖然說機率很小
而且我也不認為他會損壞
不過既然老闆有這疑問
我總是要想辦法證明他沒損壞...

發表於: 2005/10/13 13:37
頂部


Re: 24LC32 Page Write......
資深會員
資深會員


要寫入第二批的話
記得要延遲一段時間再寫入下一批
不然就偵測他是否忙碌中
否則資料會寫不進去

發表於: 2005/10/13 13:25
頂部


Re: 24LC32 Page Write......
中級會員
中級會員


了解了~~~
我再試試看連續Page Write的方式~~~
謝謝版大的回覆~~~

發表於: 2005/10/13 11:55
頂部


Re: 24LC32 Page Write......
版主
版主


24LC32A 內建的 Page Write Buffer 只有 32 Bytes, 所以page write 一次最多可以寫入 32 Bytes, Page Write 可以少但超過32Bytes 就要分次寫入。

發表於: 2005/10/13 11:47
頂部


24LC32 Page Write......
中級會員
中級會員


請問一下~~~
24LC32 Page Write一次只能寫入32 Byte~~~
可否一次寫入64 Byte???
謝謝~~~

發表於: 2005/10/13 11:27
頂部


Re: 有辦法比對程式碼嗎?
版主
版主


程式 code protected 後是無法讀出程式碼的,一般會用 ID Locations 的位置在燒錄時存入 4 個數字,這 4 個數字可以為程式碼的 Checksum 或版本訊息。

發表於: 2005/10/13 11:17
頂部


有辦法比對程式碼嗎?
資深會員
資深會員


經銷商寄一片PIC來
說程式有問題
由於我只有EEPROM沒有保護
所以只能比對EEPROM所存的值
目前是發現EEPROM的值錯誤
不知道是因為損壞而錯誤
或是EEPROM寫入中途因電源不穩而錯誤

雖然我認為程式記憶體跟暫存器不會損壞
但還是想確認一下
由於程式碼保護讓我無法讀出程式碼
所以想請問有沒有什麼辦法
可以比對IC中所燒錄的程式
跟我的原始燒錄檔或程式碼是否不同?

發表於: 2005/10/13 9:55
頂部



« 1 ... 6901 6902 6903 (6904) 6905 6906 6907 ... 7522 »



:::

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... ]

教育訓練中心

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