Skip to content

Commit 8f730a3

Browse files
Merge pull request #7 from microchip-pic-avr-tools/release-2.10.7
Release 2.10.7
2 parents f5ef278 + 447247a commit 8f730a3

File tree

2 files changed

+106
-50
lines changed

2 files changed

+106
-50
lines changed

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
2+
# Changelog
3+
Version numbers refer to the iotprovision version bundled in this binary. Other tools have their own version numbers.
4+
5+
## [2.10.7] - October 2022
6+
7+
### Added
8+
- DSG-5399 Multi-tool support in binary release
9+
- DSG-4701 Pysequans utility, to support upgrading Sequans Monarch 2 firmware, and storing custom certificates and private keys
10+
11+
### Changes
12+
- DSG-5161 Moved device certificate storage in Sequans Monarch 2 platform from NVM storage slot 0 to 18, to be compliant with Sequans use of reserved NVM storage slots
13+
- DSG-5078 Updated bundled debugger firmware
14+
- DSG-5618, DSG-5624 Improved port auto-detection
15+
16+
## [2.8.2] - June 2022
17+
18+
### Added
19+
- DSG-4818 support for AVR-IoT Cellular Mini kit
20+
21+
## [2.7.1] - April 2022
22+
23+
### Added
24+
- DSG-4600 support for SAM-IoT provisioning
25+
26+
## [2.5.15] - December 2021
27+
28+
### Changes
29+
- Full stack rebuild (v2)
30+
- Improved reliability of provisioning firmware startup
31+
- Improved and more consistent output (logging)
32+
- Cloud provider argument is now mandatory (AWS is no longer default)
33+
- Added Azure demo application (preliminary support: provisioning only)
34+
- Updated bundled debugger firmware
35+
36+
## [1.4.3]
37+
38+
### Fixes
39+
- Wildcard character correction in IoT Core policy creation
40+
- Failure on MacOS (Catalina)
41+
- Prevent re-generation of device certificate
42+
43+
## [1.4.0]
44+
45+
### Added
46+
- provisioning to AWS custom account using MAR
47+
- WINC FW upgrade
48+
- Azure provisioning (preliminary/alpha)
49+
50+
## [1.1.11]
51+
52+
### Added
53+
- provisioning to AWS custom account using JITR
54+
55+
## Initial release (v1.0.90)
56+
57+
### Support for
58+
- provisioning AVR-IoT and PIC-IoT kits to the Microchip sandbox account on AWS
59+
- provisioning AVR-IoT and PIC-IoT kits to the Microchip sandbox account on Google

README.md

Lines changed: 47 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![MCHP](images/microchip.png)](https://www.microchip.com)
22

33
# IoT Provisioning Tool binary releases
4-
Easy-to-use solution for configuring an AVR-IoT, PIC-IoT or SAM-IoT board to connect to Amazon Web Services (AWS), Google IoT Core Platforms and Microsoft Azure
4+
Easy-to-use solution for configuring an AVR-IoT, PIC-IoT, SAM-IoT or AVR-IoT Cellular Mini board to connect to Amazon Web Services (AWS), Google IoT Core Platforms and Microsoft Azure
55

66
Supported kits:
77
- AVR-IoT Wx
@@ -19,40 +19,40 @@ The zip file contains command-line executables for Windows®, macOS®, and Linux
1919
### CLI usage
2020
Getting help:
2121
```
22-
iotprovision --help
22+
iotprovision-bin --help
2323
```
2424
Provision for Amazon Web Services, using Microchip sandbox account:
2525
```
26-
iotprovision -c aws -m sandbox
26+
iotprovision-bin -c aws -m sandbox
2727
```
2828
Provision for Amazon Web Services, using MAR and custom account:
2929
```
30-
iotprovision -c aws -m mar
30+
iotprovision-bin -c aws -m mar
3131
```
3232
Provision for Amazon Web Services, using JITR and custom account:
3333
```
34-
iotprovision -c aws -m jitr
34+
iotprovision-bin -c aws -m jitr
3535
```
3636
Provision for Google Cloud Platform, using Microchip sandbox account:
3737
```
38-
iotprovision -c google -m sandbox
38+
iotprovision-bin -c google -m sandbox
3939
```
4040
Provision for Microsoft Azure (preliminary - only kit provisioning):
4141
```
42-
iotprovision -c azure
42+
iotprovision-bin -c azure
4343
```
4444
The amount of logging is controlled by the -v/--verbose option:
4545
Possible log levels are `debug`, `info`, `warning`, `error`, `critical`. Default is `info`.
4646
```
47-
iotprovision -v debug
47+
iotprovision-bin -v debug
4848
```
4949
Print version info and exit:
5050
```
51-
iotprovision -V
51+
iotprovision-bin -V
5252
```
5353
Print release info and exit:
5454
```
55-
iotprovision -R
55+
iotprovision-bin -R
5656
```
5757

5858
### Other Helpful Resources
@@ -72,56 +72,53 @@ pip install iotprovision
7272

7373
PyPi project: [pypi.org/project/iotprovision](https://pypi.org/project/iotprovision/)
7474

75+
## Other uses of the binary distribution
7576

76-
# Release notes
77+
When installing the iotprovision Python wheel as described in the previous section, all its dependencies will also be installed automatically. This includes other useful CLI programs like pymcuprog, pytrust, pysequans, etc. These will be directly available from the command line.
7778

78-
## Release v2.8.5
79-
This release is in sync with pypi release 2.8.5.191
79+
When installing the iotprovision-bin binary, this does not seem to be the case. However, all these resources are actually present inside the binary, and starting with the iotprovision 2.10 release, they can be accessed in various ways, which are described below. The out-of-the-box behaviour of the binary named iotprovision-bin is to work exactly the same as the iotprovision Python wheel. This behaviour is referred to as the `iotprovision skin` of the binary. The remainder of this section describes ways of changing to other skins, to get access to other tools.
8080

81-
Changes:
82-
- updated Amazon root CA bundle (in pyawsutils)
81+
Whenever the following subsections refer to renaming the executable file, the same effect can be accomplished by creating a symbolic link to the original file, or copying it. Shell aliases (Mac/Linux) will not work for this purpose.
8382

84-
## Release v2.8.3
83+
### The mcu8tools skin
8584

86-
Added:
87-
- support for AVR-IoT Cellular Mini kit
88-
89-
## Release v2.7.1
90-
91-
Added:
92-
- support for SAM-IoT provisioning
93-
94-
## Release v2.5.15
95-
96-
Changes:
97-
- Full stack rebuild (v2)
98-
- Improved reliability of provisioning firmware startup
99-
- Improved and more consistent output (logging)
100-
- Cloud provider argument is now mandatory (AWS is no longer default)
101-
- Added Azure demo application (preliminary support: provisioning only)
102-
- Updated bundled debugger firmware
85+
This is the preferred skin for users wanting to use multiple tools frequently. It transforms the binary into a tool with all the bundled tools directly available as subcommands. To enable this, rename `iotprovision-bin[.exe]` to `mcu8tools[.exe]`. Invoking `mcu8tools` without arguments will list all the available subcommands. In this configuration, in order to use iotprovision to provision for AWS sandbox, you can do:
86+
```
87+
mcu8tools iotprovision -c aws -m sandbox
88+
```
89+
and to get help for our pymcuprog tool:
90+
```
91+
mcu8tools pymcuprog --help
92+
```
10393

104-
## Release v1.4.3
94+
### Single-tool skins
10595

106-
Fixes:
107-
- Wildcard character correction in IoT Core policy creation
108-
- Failure on MacOS (Catalina)
109-
- Prevent re-generation of device certificate
96+
iotprovision-bin is an example of a single-tool skin. The binary can be reconfigured to all of the included tools by means of renaming it to the desired tool. For example, renaming it to `pymcuprog[.exe]` will cause it to behave like the pymcuprog Python wheel.
11097

111-
## Release v1.4.0
98+
### One-shot skin change
11299

113-
Added:
114-
- provisioning to AWS custom account using MAR
115-
- WINC FW upgrade
116-
- Azure provisioning (preliminary/alpha)
100+
If you only occasionally need to use a different tool, all single-tool configurations of the binary can be invoked with the `--skin` option to change skin temporarily, without need for renaming. This option must be the first argument present in the command line. Also note that this option can not be used to change neither to nor from the `mcu8tools` skin.
117101

118-
## Release v1.1.11
102+
Example: User of iotprovision-bin needs to upgrade AVR-IoT Cellular Mini kit Sequans Monarch 2 firmware:
103+
```
104+
iotprovision-bin --skin=pysequans upgrade full
105+
```
119106

120-
Added:
121-
- provisioning to AWS custom account using JITR
107+
### List of available tools
108+
As of release 2.10, these tools are available as installed packages when iotprovsion Python wheel is installed, and as subcommands/skins in the binary release:
122109

123-
## Initial release (v1.0.90)
110+
- [pykitinfo](https://github.com/microchip-pic-avr-tools/pykitinfo) - List information about connected Microchip kits
111+
- [pymcuprog](https://github.com/microchip-pic-avr-tools/pymcuprog) - MCU programming tool for selected AVR, PIC and SAM devices
112+
- [pydebuggerupgrade](https://pypi.org/project/pydebuggerupgrade/) - Firmware upgrade utility for tools with DFU bootloader
113+
- [pydebuggerconfig](https://pypi.org/project/pydebuggerconfig/) - Access PKOB nano on-board debugger configuration
114+
- [pytrust](https://github.com/microchip-pic-avr-tools/pytrustplatform) - Command line interface for Microchip pytrustplatform
115+
- [pyawsutils](https://github.com/microchip-pic-avr-tools/pyawsutils) - AWS account management for IoT kits
116+
- [pyazureutils](https://github.com/microchip-pic-avr-tools/pyazureutils) - Azure account management for IoT kits
117+
- [pywinc](https://github.com/microchip-pic-avr-tools/iotprovision) - WINC firmware upgrader and utilities for WiFi IoT kits (part of iotprovision package)
118+
- [pysequans](https://pypi.org/project/pysequansutils/) - Firmware upgrader and utilities for the Sequans Monarch 2 platform in cellular kits
119+
- [iotprovision](https://github.com/microchip-pic-avr-tools/iotprovision) - Provisioning tool for IoT kits
120+
- [pyserial-miniterm](https://github.com/pyserial/pyserial) - Simple terminal program, from pyserial package
124121

125-
Support for:
126-
- provisioning AVR-IoT and PIC-IoT kits to the Microchip sandbox account on AWS
127-
- provisioning AVR-IoT and PIC-IoT kits to the Microchip sandbox account on Google
122+
## Known issues
123+
- -a AWS_PROFILE, --aws-profile AWS_PROFILE argument does not work, i.e. only the default profile works (DSG-5722 and DSG-5724)
124+
- Firmware upgrades for subsystems WINC, debugger, and Sequans Monarch 2 platform are handled inconsistently. WINC and debugger firmware will not be checked for upgrades unless explicitly requested by user, using arguments `wincupgrade` and `debuggerupgrade`, respectively, in which case firmware will be upgraded automatically. On the other hand, Sequans Monarch 2 firmware will be checked automatically by default, and user will be advised how to do the upgrade if needed. (DSG-5726)

0 commit comments

Comments
 (0)