Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:pymcuprog [2022/11/10 13:54] – [Microchip DM164140 - MPLABXpress Evaluation Board] darrontools:pymcuprog [2023/09/30 15:12] (current) – [Microchip DM164140 - MPLAB Xpress Evaluation Board] darron
Line 1: Line 1:
-https://pypi.org/project/pymcuprog/+====PyMCUProg====
  
-https://github.com/microchip-pic-avr-tools/pymcuprog+Python cross platform programmer and debugger for Microchip CMSIS interfaces.
  
-apt install python3 python3-pip+Processor support is limited and various components are marked with "alpha" support 
 +at this time.
  
-rehash+It can work with boards with built-in interfaces or the SNAP and PICKIT 4 
 +interfaces updated with new firmware and switched into AVR mode (untested).
  
-pip3 install pymcuprog+Interesting side note, the SNAP was £7 and the PICKIT 4 £45 in 2019 and now 
 +cost £39 for the SNAP and £88 for the PICKIT 4 in 2022. Microchip 
 +offer this free tool with limited support yet very expensive hardware to use it 
 +with. 
 +===TODO===
  
-get packs?+Connect a MCHP SNAP in CMSIS mode to the [[https://wiki.kewl.org/dokuwiki/boards:seeedxiao|Seeduino Xiao]] 
 +and see if it functions. 
 +===Install===
  
-https://packs.download.microchip.com/+Python 3 is a requirement and the tool is installed using pip.
  
-nothing there useful+<code> 
 +apt install python3 python3-pip 
 +rehash 
 +pip3 install pymcuprog 
 +</code>
  
 +===Supported MCUs===
 +
 +Listing the devices directory will inform you of the supported controllers.
 +
 +<code>
 ls /usr/local/lib/python3.7/dist-packages/pymcuprog/deviceinfo/devices/ ls /usr/local/lib/python3.7/dist-packages/pymcuprog/deviceinfo/devices/
 +</code>
  
 +The help file mentions getting software [[https://packs.download.microchip.com/|packs]]
 +for more options but visiting the pack site offers nothing useful.
  
 ===Microchip ATMEGA328PB XPLAINED MINI=== ===Microchip ATMEGA328PB XPLAINED MINI===
  
 +Supported interface but unsupported microcontroller (ATMega328PB).
 +
 +==USB==
 +
 +This is a virtual console port (AKA USB software modem).
 +
 +<code>
 Bus 001 Device 024: ID 03eb:2145 Atmel Corp. ATMEGA328P-XMINI (CDC ACM) Bus 001 Device 024: ID 03eb:2145 Atmel Corp. ATMEGA328P-XMINI (CDC ACM)
 +</code>
  
 +==Test==
  
 Unknown MCU Unknown MCU
Line 38: Line 67:
 </code> </code>
  
-===Microchip DM164140 - MPLABXpress Evaluation Board ===+===Microchip DM164140 - MPLAB Xpress Evaluation Board ===
  
-Unsupported.+Unsupported interface, microcontroller (PIC16F18855) support unknown.
  
 ==USB== ==USB==
  
 This is mass storage device and no idea if the firmware can be altered This is mass storage device and no idea if the firmware can be altered
-othewise.+otherwise.
  
 <code> <code>
Line 59: Line 88:
 Unable to connect to USB device Unable to connect to USB device
 </code> </code>
 +
 +===Resources===
 +
 +[[https://pypi.org/project/pymcuprog/|Main site]]
 +
 +[[https://github.com/microchip-pic-avr-tools/pymcuprog|Development site]]
 +