Name | tinyupdi JSON |
Version |
1.5.0
JSON |
| download |
home_page | https://github.com/wagiminator/MCU-Flash-Tools |
Summary | Minimal UPDI Programming Tool for tinyAVR |
upload_time | 2024-08-06 15:21:21 |
maintainer | None |
docs_url | None |
author | Stefan Wagner |
requires_python | >=3.8 |
license | MIT License Copyright (c) 2022 Stefan Wagner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
avr
microchip
attiny
tinyavr
updi
microcontroller
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# tinyUPDI - Minimal UPDI Programming Tool for tinyAVR
## Description
This tool allows tinyAVR series 0, 1, and 2 microcontrollers to be programmed using a USB-to-serial converter connected in a special way to the UPDI pin (also called SerialUPDI). More information can be found [here](https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md).
## Preparations
If necessary, a driver for the USB-to-serial converter used must be installed.
## Installation
- Install [Python3](https://www.pythontutorial.net/getting-started/install-python/).
- Install [pip](https://pip.pypa.io/en/stable/installation/).
- Install rvprog:
```
pip install tinyupdi
```
## Usage
Connect the USB-to-serial converter via USB to the PC and via the circuit described below to the UPDI pin of the microcontroller.
```
USB2SERIAL tinyAVR
+--------+ +-----------+
| RXD| <------------+---> |UPDI (PA0) |
| | | | |
| TXD| ---|1kOhm|---+ | |
| | | |
| VDD| -----------------> |VDD |
| GND| -----------------> |GND |
+--------+ +-----------+
```
Alternatively, a pre-assembled [SerialUPDI programmer](https://github.com/wagiminator/AVR-Programmer) can be used.
```
Usage: tinyupdi [-h] [-d DEVICE] [-e] [-f FLASH] [-fs [FUSES [FUSES ...]]] [-t TRIM]
Optional arguments:
-h, --help show help message and exit
-d, --device set target device (if not set, it will be auto-detected)
-e, --erase perform a chip erase (implied with --flash)
-f FLASH, --flash FLASH BIN file to flash
-fs [FUSES [FUSES ...]], --fuses [FUSES [FUSES ...]]
fuses to set (syntax: fuse_nr:0xvalue)
-t TRIM, --trim TRIM configure oscillator for given frequency (set fuse 2)
Example:
tinyupdi -f firmware.bin -fs 6:0x04 7:0x00 8:0x00 -t 8000000
```
## Links
1. [MCU Templates](https://github.com/wagiminator/MCU-Templates)
2. [MCU Development Boards](https://github.com/wagiminator/Development-Boards)
3. [AVR Development Boards](https://github.com/wagiminator/AVR-Development-Boards)
4. [SerialUPDI Programmers](https://github.com/wagiminator/AVR-Programmer)
Raw data
{
"_id": null,
"home_page": "https://github.com/wagiminator/MCU-Flash-Tools",
"name": "tinyupdi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Stefan Wagner <wagiminator@web.de>",
"keywords": "AVR, Microchip, ATtiny, tinyAVR, UPDI, microcontroller",
"author": "Stefan Wagner",
"author_email": "Stefan Wagner <wagiminator@web.de>",
"download_url": "https://files.pythonhosted.org/packages/1d/6c/8be77c87f58a8ddb38f3044c19ddb1f061e64a3796c6d40619e0c7df987d/tinyupdi-1.5.0.tar.gz",
"platform": null,
"description": "# tinyUPDI - Minimal UPDI Programming Tool for tinyAVR\n## Description\nThis tool allows tinyAVR series 0, 1, and 2 microcontrollers to be programmed using a USB-to-serial converter connected in a special way to the UPDI pin (also called SerialUPDI). More information can be found [here](https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md).\n\n## Preparations\nIf necessary, a driver for the USB-to-serial converter used must be installed.\n\n## Installation\n- Install [Python3](https://www.pythontutorial.net/getting-started/install-python/).\n- Install [pip](https://pip.pypa.io/en/stable/installation/).\n- Install rvprog: \n\n```\npip install tinyupdi\n```\n\n## Usage\nConnect the USB-to-serial converter via USB to the PC and via the circuit described below to the UPDI pin of the microcontroller.\n\n```\nUSB2SERIAL tinyAVR\n+--------+ +-----------+\n| RXD| <------------+---> |UPDI (PA0) |\n| | | | |\n| TXD| ---|1kOhm|---+ | |\n| | | |\n| VDD| -----------------> |VDD |\n| GND| -----------------> |GND |\n+--------+ +-----------+\n```\n\nAlternatively, a pre-assembled [SerialUPDI programmer](https://github.com/wagiminator/AVR-Programmer) can be used.\n\n```\nUsage: tinyupdi [-h] [-d DEVICE] [-e] [-f FLASH] [-fs [FUSES [FUSES ...]]] [-t TRIM]\n\nOptional arguments:\n -h, --help show help message and exit\n -d, --device set target device (if not set, it will be auto-detected)\n -e, --erase perform a chip erase (implied with --flash)\n -f FLASH, --flash FLASH BIN file to flash\n -fs [FUSES [FUSES ...]], --fuses [FUSES [FUSES ...]]\n fuses to set (syntax: fuse_nr:0xvalue)\n -t TRIM, --trim TRIM configure oscillator for given frequency (set fuse 2)\nExample:\ntinyupdi -f firmware.bin -fs 6:0x04 7:0x00 8:0x00 -t 8000000\n```\n\n## Links\n1. [MCU Templates](https://github.com/wagiminator/MCU-Templates)\n2. [MCU Development Boards](https://github.com/wagiminator/Development-Boards)\n3. [AVR Development Boards](https://github.com/wagiminator/AVR-Development-Boards)\n4. [SerialUPDI Programmers](https://github.com/wagiminator/AVR-Programmer)\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2022 Stefan Wagner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Minimal UPDI Programming Tool for tinyAVR",
"version": "1.5.0",
"project_urls": {
"Homepage": "https://wagiminator.github.io/",
"Issues": "https://github.com/wagiminator/MCU-Flash-Tools/issues",
"Repository": "https://github.com/wagiminator/MCU-Flash-Tools"
},
"split_keywords": [
"avr",
" microchip",
" attiny",
" tinyavr",
" updi",
" microcontroller"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "29bd85e316c319737e26c4d0f6703a06612bce9e8009cb2d7419af6fb6daa5de",
"md5": "4fec140cba7093cc19fcd83f7cd5ad31",
"sha256": "638fd4394c0d0670e7685550d3a507f4669092c300cfe17cdbd7c6aab92bb036"
},
"downloads": -1,
"filename": "tinyupdi-1.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4fec140cba7093cc19fcd83f7cd5ad31",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11079,
"upload_time": "2024-08-06T15:21:20",
"upload_time_iso_8601": "2024-08-06T15:21:20.280124Z",
"url": "https://files.pythonhosted.org/packages/29/bd/85e316c319737e26c4d0f6703a06612bce9e8009cb2d7419af6fb6daa5de/tinyupdi-1.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1d6c8be77c87f58a8ddb38f3044c19ddb1f061e64a3796c6d40619e0c7df987d",
"md5": "2346493148fda5afa0060204de3ffae2",
"sha256": "c457bdd49167ceb8222d86b444ecc5751fedea4c2db8806e886b8ff6bc694829"
},
"downloads": -1,
"filename": "tinyupdi-1.5.0.tar.gz",
"has_sig": false,
"md5_digest": "2346493148fda5afa0060204de3ffae2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 12164,
"upload_time": "2024-08-06T15:21:21",
"upload_time_iso_8601": "2024-08-06T15:21:21.621195Z",
"url": "https://files.pythonhosted.org/packages/1d/6c/8be77c87f58a8ddb38f3044c19ddb1f061e64a3796c6d40619e0c7df987d/tinyupdi-1.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-06 15:21:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wagiminator",
"github_project": "MCU-Flash-Tools",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tinyupdi"
}