第23回 プログラムを書き込み手順
Currently loaded versions: Application version………..00.04.15 Boot version………………01.00.00 PCB version……………….3 Script version…………….00.05.85 Script build number………..d33d758f73 Tool pack version …………2.1.1763
確認した環境は以下です。 OS: Windows11とmacOS Sonama MPLABX IDE: Version 6.15 PICKit: PICKit3とPICkit4
——- Connecting to MPLAB PICkit 4
Currently loaded versions: Application version………..02.00.85 Boot version………………01.00.00 PCB version……………….3 Script version…………….00.05.85 Script build number………..d33d758f73 Tool pack version …………2.1.1763 PICkit 4 is supplying power to the target (5.00 volts). Target device PIC12F1822 found. Device Revision > Device >
Calculating memory ranges for operation…
The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0xf program memory: start address = 0x7d0, end address = 0x7ff configuration memory
——- Connecting to MPLAB PICkit 4
Currently loaded versions: Application version………..02.00.85 Boot version………………01.00.00 PCB version……………….3 Script version…………….00.05.85 Script build number………..d33d758f73 Tool pack version …………2.1.1763 PICkit 4 is supplying power to the target (5.00 volts). Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device. ——-
ご連絡いただいたログを見ると、Tool pack versionのところで止まっていますので、MPLABX IDEがPICkitから情報を取得した後、PICkit4から電源を供給するときに何かが原因でその先に進まなくなっているようです。
ちょっと気になるのが、PICkit4の情報の「Application Version」です。その他の項目は私のログと同じ数字なのですが、このApplication Versionが異なっています。
迅速なご返信いただきありがとうございます
MPLAB Xのバージョンは6.15でした macのバージョンは12.5 Montereyです
最終更新日 2 年 前 ( ドンキーコング )MPLABX IDEもOSも問題なさそうですね。 となると、PICkit4が何らかの原因でファームのアップデートができないのかもしれませんね。
ご連絡いただきありがとうございます MPLAB X IDE→ Debug→ Farmware Recovery→ WARNINGが出るが気合を入れて手順に沿って慎重に進む で繋ぎ直すと自動で最新のファームウェア (現在Application version………..02.00.85) にアップデートされ 無事に書き込み完了しました(緑のランプになるんですね) めちゃくちゃ感謝です!
本体に尖ったモン刺さないといけないのでマジで大丈夫か?と かなりヒヤヒヤもんでしたが 同じトラブルに遭遇した方にもこの書き込みがお役に立ってもらえればいいですね