Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xthanhn committed Aug 23, 2021
1 parent 0b807f7 commit 5e274e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# **MCUprog UPDI Programmer**
mcuprog is a modified utility for programming various Microchip MCU devices using Microchip CMSIS-DAP based debuggers and standard TTL serial port.
# **MCUprog UPDI**
MCUprog UPDI is a modified utility for programming various Microchip MCU devices using Microchip CMSIS-DAP based debuggers and standard TTL serial port.

I made this modified using for my personal project and focus on UPDI programming interface only, so I name it as mcuprog updi programmer, but it can be used to program PIC MCU and MCU with another programming interface type.
I made this modified using for my personal project and focus on UPDI programming interface only, so I name it as MCUprog UPDI, but it can be used to program PIC MCU and MCU with another programming interface type.

mcuprog is released as windows executable file (exe) - checkout [**releases**](https://github.com/caddish12/mcuprog/releases). You can use them directly on windows without Python.
MCUprog UPDI is released as windows executable file (exe) - checkout [**releases**](https://github.com/caddish12/mcuprog/releases). You can use them directly on windows without Python.

mcuprog supports newest MCU from microchip. It works well with new AVR 0-Series, 1-Series and 2-Series using UPDI programming interface.
MCUprog UPDI supports newest MCU from microchip. It works well with new AVR 0-Series, 1-Series and 2-Series using UPDI programming interface.

### Notice
This code is used to build Windows application and does not compatible original build.

### Serial UPDI

mcuprog can be used as **Serial UPDI programmer** with UPDI interface using a **standard TTL serial port**
MCUprog UPDI can be used as **Serial UPDI programmer** using a **standard TTL serial port**

If you use [MegaTinyCore by SpenceKonde](https://github.com/SpenceKonde/megaTinyCore) version from 2.3.2, programming speed can be as high as **460800 baud**. Checkout [docs for SerialDUPI](https://github.com/SpenceKonde/megaTinyCore/blob/master/megaavr/tools/README.md) from SpenceKonde

Expand Down Expand Up @@ -54,10 +54,10 @@ Vcc Vcc Vcc
```

### Usage
mcuprog can be used as a command-line interface. GUI version will release soon.
MCUprog UPDI can be used as a command-line interface. GUI version will release soon.

### CLI examples
When installed using pip, mcuprog CLI is located in the Python scripts folder.
When installed using pip, MCUprog UPDI CLI is located in the Python scripts folder.

Example 1: test connectivity by reading the device ID using Curiosity Nano:
```bash
Expand Down Expand Up @@ -89,10 +89,10 @@ mcuprog getvoltage
For more examples see [on pypi.org](https://pypi.org/project/pymcuprog/)

### Supported devices and tools
mcuprog is primarily intended for use with PKOB nano (nEDBG) debuggers which are found on Curiosity Nano kits and other development boards. This means that it is continuously tested with a selection of AVR devices with UPDI interface as well as a selection of PIC devices. However since the protocol is compatible between all EDBG-based debuggers (pyedbglib) it is possible to use mcuprog with a wide range of debuggers and devices, although not all device families/interfaces have been implemented.
MCUprog UPDI is primarily intended for use with PKOB nano (nEDBG) debuggers which are found on Curiosity Nano kits and other development boards. This means that it is continuously tested with a selection of AVR devices with UPDI interface as well as a selection of PIC devices. However since the protocol is compatible between all EDBG-based debuggers (pyedbglib) it is possible to use MCUprog UPDI with a wide range of debuggers and devices, although not all device families/interfaces have been implemented.

### Debuggers / Tools
mcuprog supports:
MCUprog UPDI supports:
* PKOB nano (nEDBG) - on-board debugger on Curiosity Nano
* MPLAB PICkit 4 In-Circuit Debugger (when in 'AVR mode')
* MPLAB Snap In-Circuit Debugger (when in 'AVR mode')
Expand All @@ -105,7 +105,7 @@ mcuprog supports:
Although not all functionality is provided on all debuggers/boards. See device support section below.

### Devices
mcuprog supports:
MCUprog UPDI supports:
* All UPDI devices, whether mounted on kits or standalone
* PIC devices mounted on Curiosity Nano kits, or similar board with PKOB nano (nEDBG) debugger

Expand Down
6 changes: 3 additions & 3 deletions pymcuprog/pymcuprog.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def main():
"""

print(" ################################################################")
print(" # MCUprog UPDI Programmer #")
print(' # Version: {} #'.format(VERSION))
print(" # Modified by Bunny91 #")
print(" # MCUprog UPDI #")
print(' # Version: {} #'.format(VERSION))
print(" # Modified by xthanhn #")
print(" ################################################################")
print(" ")

Expand Down

0 comments on commit 5e274e3

Please sign in to comment.