請問有關SNAP除錯器使用問題

作者 twmic 於 2019年06月05日 10:52:45
大家好
我有個SNAP除錯器問題想請教一下
我在EDF會場買了一片APP2025板子,上面有附了一片SNAP
我下載了出廠範例程式,在MPLAB X IDE v5.20 和 XC8 v2.05環境下
燒寫除錯速度非常的快,換成Pickit3和Pickit4每次燒寫都要等好久
於是我就把SNAP除錯器接到APP001T(V3.0a)板子上試看看
因SNAP只能用LVP燒錄,我把APP001T MCU換成APP2025的18F45K22
新建專案有設configuration bits 為ON
但是都會出現如下錯誤
*****************************************************


Connecting to MPLAB Snap...

Currently loaded versions:
Application version............00.02.12
Boot version...................01.00.00
Script version.................00.02.97
Script build number............117b21ad10

MPLAB has detected that the low voltage configuration bit on the device is off and you have selected the low voltage programming option on the debug tool's property page. If you wish to use the low voltage programming option you must first do the following:
* Turn off the low voltage programming option on the debug tool's Program Options property page
* Program the low voltage configuration bit to on
* Turn on the low voltage programming option on the debug tool's Program Options property page
Connection Failed.

而在APP2025板子正常是如下訊息
*****************************************************


Connecting to MPLAB Snap...

Currently loaded versions:
Application version............00.02.12
Boot version...................01.00.00
Script version.................00.02.97
Script build number............117b21ad10
Target device PIC18F45K22 found.
Device Id Revision = 0x5

Erasing...

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x7f
program memory: start address = 0x600, end address = 0x10ff
configuration memory

Programming/Verify complete

Running

比較了兩段訊息似乎是在APP001T板子沒識別到板子上的Device
我直接用APP2025的出廠範例專案用在APP001T上,也是出現第一段的錯誤訊息
按照錯誤訊息我到SNAP除錯器要修改除錯器的Program the low voltage configuration bit屬性,但是它是灰色無法修改的

請問這是什麼原因呢? 直接APP2025專案拿來跑照理講應該不需要特別去動什麼
雖然APP001T接SNAP只有6pin,但我查看APP2025的排針6,7,8pin只是接到JP6的排針而已

對過MCLR,PGD,PGC PIN兩塊板子的線路也沒甚麼大差別,
請問APP001T需要修改什麼才能使用SNAP呢? 謝謝!

來自: http://www.microchip.com.tw/newbb/viewtopic.php?forum=18&topic_id=22665&post_id=79690