Debian GNU Linux (buster) +  PICKIT3 + PIC12F629 on MPLABX

2012.10.21
2013.06.21
2020.05.21
2021.01.28

Debian Linux 偵MPLAB X IDE傪僀儞僗僩乕儖偟偰PICKIT3偱彂偒崬傒偡傞曽朄偺儊儌丅巊偄曽丄彂偒崬傒曽朄
(丂妋擣嵪傒PIC  12F629  12F1840 16F84A  16F877  16F886  )

1 PICKIT3偺傾僟僾僞嶌惉


乮1乯傾僟僾僞偺夞楬恾
傾僟僾僞乕偺夞楬恾丂丂

丂PICKIT3偺奺僀儞僞乕僼僃乕僗偺#1偲#2偺娫偵偼僾儖傾僢僾梡偺掞峈4.7K兌傪擖傟傞傛偆偵婎斅偵庢傝晅偗傛偆偺寠偼嶌惉偟偨偑幚嵺 偵偼庢傝晅偗偰偄側偄丅
丂40僺儞丄28僺儞偺PIC偺偲偒偼JP1偵丄18僺儞偺PIC偺偲偒偼JP2偵丄8僺儞丄14僺儞丄20僺儞偺PIC偺偲偒偼JP3偵 PICKIT3傪愙懕偡傞丅
丂傑偨JP4偼40僺儞偺PIC偺偲偒1-3,2-4傪僔儑乕僩丄28僺儞偺PIC偺偲偒3񴃾6傪僔儑乕僩偝偣傞丅偦傟埲奜偺PIC偼 open偵偟偰偍偔丅
  pic偼僛儘僾儗僢僔儍乕僜働僢僩偵忋媗傔偵僙僢僩偡傞丅

pic傾僟僾僞乕敿揷柺
  敿揷柺偺僷僞乕儞恾

adaputer幨恀
傾僟僾僞乕偺幨恀
僨僶僀僗偼幨恀偺傛偆偵嵍媗傔偵抲偔丅幨恀偼PIC12F629偑憓偟偰偁傞

2丂MPLAB X IDE丂偺僀儞僗僩乕儖


乮1乯MPLAB X IDE傪僟僂儞儘乕僪偡傞丅

2020.05.20尰嵼丂嵟怴斉丂MPLABX-v5.35-linux-installer.tar

僟僂儞儘乕僪偟偨傜揥奐偟偰僀儞僗僩乕儖
僀儞僗僩乕儖
 
$ tar xvf  MPLABX-v5.35-linux-installer.tar

$ su  ./MPLABX-v5.35-linux-installer.sh



偪側傒偵傾儞僀儞僗僩乕儖(v5.30)偼

$   sudo /opt/microchip/mplabx/v5.30/Uninstall_MPLAB_X_IDE_v5.30


3丂MPLAB X 偺僾儘僕僃僋僩偺嶌惉曽朄偲彂偒崬傒曽朄

乮1乯僾儘僕僃僋僩偺嶌惉
丂 file --> New Project 偱嶌惉偡傞丅
乮2乯奺庬愝掕
丂僾儘僕僃僋僩偺僜乕僗僼傽僀儖傪婡夿岅偵東栿偡傞偵偼MPASM傪巊偆偺偐偦傟偲傕C僐儞僷僀儔傪巊偆偺偐
丂偁傞偄偼彂偒崬傒偼PICKIT3傪巊偆偺偐側偳愝掕傪偡傞偵偼
丂Window-->classic 偱嵍懁偵僾儘僕僃僋僩僂僀儞僪僂偑奐偔
丂Window-->dashboard丂傪昞帵偝偣Project Properties偺傾僀僐儞乮僗僷僫偺傾僀僐儞乯傪僋儕僢僋偡傞

dashboard偺夋憸

Device傪愝掕丄HardwareTools偺愝掕丄Commpiler Toolchain偺愝掕傪妋擣丄挷惍偡傞丅

ProjekutProperiesConf


嵍懁偵偁傞Categories偺PICkit3傪僋儕僢僋丄忋偺Option categories傪Power偵偟偰
Power target circuit from PICkit3偵僠僃僢僋傪擖傟偰嫙媼揹埑傪5V偵愝掕偡傟偽OK
16F84A偺偲偒傕偙傟傪愝掕偟偰偄側偐偭偨偩偗偩偭偨丅
 偨偩偟丄傕偟彂偒崬傒偱 Failed to program device 側偳偑偱偨傜嫙媼揹埑傪3.3V偵偟
偰傒傞偲傛偄丅


( 偙偙偑儈僜偩偭偨丅3擔娫傕傢偐傜側偐偭偨乯
projection properties pickit3

4丂僾儘僌儔儈儞僌

丂僾儘僌儔儈儞僌偼Project僂傿儞僪僂偺SourceFiles 傪僋儕僢僋偟偰怴偟偔嶌惉偡傞偐婛懚偺僜乕僗僼傽僀儖偑偁傞応崌偼SourceFiles傪塃僋儕丄NewExisting Item 偱僜乕僗僼傽僀儖傪捛壛偡傞丅
丂側偍僄僨傿僞偺僼僅儞僩偼Tools 仺丂Options 偱Fonts & Colors 傾僀僐儞傪僋儕僢僋偟偰僟僀傾儘僌儃僢僋僗塃懁偵偁傞僼僅儞僩傪曄峏偡傞偲偱偒傞丅 
  傾僙儞僽儖傑偨偼僐儞僷僀儖偼丂偲傫偐偪丂偺傾僀僐儞乽Build Project乿傪僋儕僢僋偡傞丅
丂傑偨偼丂乽Clean and Build Project乿傪僋儕僢僋偡傞丅

丂Make and Program Device丂偺傾僀僐儞傪僋儕僢僋偡傞偲丂
丂傾僙儞僽儖乮僐儞僷僀儖乯丄僨僶僀僗偺Blank壔乮徚嫀乯丄彂偒崬傒丄verify丂check傪懕偗偰幚峴偡傞丅

  偲偙傠偱MPLABX1.41偐傜1.80偵偟偨傜
 丂INCLUDE  "P16F886.INC"
  偺峴埲崀丄僄儔乕偵側偭偰偟傑偭偨丅
丂 INCLUDE "p16f886.inc"
  偵偟偨傜僄儔乕偑偲傟偨丅

埲壓 2020.5.20 捛婰
PIC12F1840偺傾僙儞僽儔僾儘僌儔儉傪傾僙儞僽儖偟傛偆偲偟偨傜丄
symbol掕媊偺僄儔乕偑弌偰偟傑偭偨丅
僂傿儞僪僂偺壓偺曽偵偁傞乽Configuration Loading Error乿 偲偄偆僞僌傪奐偔偲
乽Resolve DFP for configuration: default乿偲偄偆儊僢僙乕僕偑偁傝丄偦偺庤慜偵

乽+ Configuration "default" load error: PIC10-12Fxxx_DFP 1.1.32 is used in the configuration and it is not installed
Resolution: Click on the below link to resolve the same version of DFP乿

丂偲偄偆儊僢僙乕僕偑偁傞丅PIC10-12Fxxx_DFP 1.1.32 偑僀儞僗僩乕儖偝傟偰偄側偄偲偄偆偺偩偑丄偳偙偱僀儞僗僩乕儖
偡傞偺偐偲偄偆偲 Tools 仺Packs 偺弴偵僋儕僢僋偟偰DeviceFamily 偺拞偐傜奩摉偺傕偺傪偊傜傫偱install傪僋儕僢僋偡傞

5 MPLAB X IDE 偺擖庤愭偲傾僙儞僽儔丂MPASM,丂C僐儞僷僀儔XC8擖庤偵偮偄偰(2021.01.28捛婰)

 MPLAB X IDE偼V5.35傑偱偼MPASM傪僒億乕僩偟偰偄傞偑V5.40埲崀丄MPASM偑柍偔側偭偰偟傑偭偨丅
 V5.40埲崀偼暿搑XC9傪擖庤丄僀儞僗僩乕儖偡傞偟偐側偄丅
丂MPLAB X IDE V5.35偼傾乕僇僀僽偐傜擖庤偡傞丅偨偩偟
丂僴僢僔儏抣偺婰弎偼柍偄丅
https://www.microchip.com/development-tools/pic-and-dspic- downloads-archive

丂XC8偼壓偺儁乕僕偺 Compiler Download 偲偄偆偲偙傠傪扵偟偰儕儞僋傪僋儕僢僋偟偰奩摉偺OS梡偺傕偺傪
僟僂儞儘乕僪偡傞丅彮乆応強偑傢偐傝偵偔偄丅

https://www.microchip.com/en-us/development-tools-tools-and-software/mplab-xc-compilers