Skip to content

Commit 4d989f8

Browse files
Initial repo creation
0 parents  commit 4d989f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+20131
-0
lines changed

CHANGELOG.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Changelog
2+
3+
This file documents all notable changes to **WINCS02** and **RNWF02** firmware.
4+
5+
## [v3.2.0] — March 2026
6+
7+
> **Note:** Firmware binary filenames changed in this release.
8+
> `*.bootable.bin``*_wholeflash.bin` and `*_dfu.bootable.bin``*_dfu_high.bin`.
9+
> See the release notes for your version for the correct filenames.
10+
11+
### New Features
12+
- WPA Enterprise support (EAP-TLS, EAP-TTLS, EAP-PEAP)
13+
- HTTP Client API
14+
- Platform Power Save (PPS) with EXtreme Deep Sleep (XDS) mode
15+
- TLS session caching and certificate pinning
16+
- Boot-time configuration of system variables
17+
- **RNWF02 only:** Persistent baud rate configuration
18+
19+
### Enhancements
20+
- DNS client: MDNS, TCP and TLS support; additional record types (CNAME, SOA, PTR, TXT, DS, NSEC, DNSKEY); fallback DNS
21+
- Additional TLS contexts for WPA-Enterprise, DNS over TLS, MQTT, and TLS sockets
22+
- TCP socket hand-off to protocol handlers (e.g. HTTP client)
23+
- Optimised memory use for Block-Ack handles and improved buffer handling under load
24+
- Ability to reset configuration commands to default values
25+
- **RNWF02 only:** Serial interface format control
26+
- Improved scan filter documentation and file handling
27+
- OTA: increased maximum URL length to 1024 characters
28+
29+
### Fixes
30+
- WLAN and Hotspot stability: fixed several crashes in Hotspot mode, Block-Ack session handling, DHCP server locking, and Wi-Fi QoS parameter processing
31+
- TCP/IP and socket handling: improved TCP window management and corrected socket read/write behaviour for UDP and TCP
32+
- TLS and security: fixed random number generator reseeding after prolonged operation and improved TLS alert handling
33+
- MQTT connectivity: fixed connection and initialisation issues, including dual-stack broker resolution and QoS message acknowledgement
34+
- IPv6: fixed crash when sending IPv6 ping using hostname
35+
- **WINCS02 only:** Berkeley sockets: fixed poll skipping of invalid file descriptors, dual-stack listening socket matching, setsockopt validation on pending sockets, connect rejection after failure, getaddrinfo result population, and dual-stack TCP server socket port conflicts
36+
- General: various fixes for file system handle management, NVM data handling, and command parameter validation
37+
38+
## [v3.1.0] — September 2025
39+
40+
### New Features
41+
- Anti-rollback counter API (query and increment)
42+
- DFU image modification API (secure DFU support)
43+
- Arbitrary flash file read/write API
44+
45+
### Enhancements
46+
- Upgraded TLS stack to WolfSSL v5.7.4 from v4.7.0
47+
- TX A-MPDU performance improvements (buffer handling, ack handling, TX/RX decoupling)
48+
- Removed expired Baltimore CyberTrust Root certificate from release package
49+
- Strengthened cryptographic elements used in WPA2/WPA3 (NIST-standard RNG)
50+
- Refined CCA levels for adaptivity test compliance
51+
- Improved TLS error reporting and detection of incorrect TLS configurations
52+
- Removed limit on connections per server socket (up to 10 total TCP connections)
53+
- Increased Hotspot mode STA connections from 8 to 10
54+
- Prevented flash partition modification when current partition image is invalidated
55+
56+
### Security Fixes
57+
- Fixed CVE-2009-3555 (TLS renegotiation)
58+
- Fixed CVE-2017-13079 and CVE-2017-13081 (Wi-Fi IGTK reinstallation)
59+
60+
### Fixes
61+
- Block-Ack stability: fixed TX stalls, lost frames, stuck recovery, and memory leaks when Block-Ack is active
62+
- AP/Hotspot: fixed de-authentication crashes and fragmented frame MIC check failures in AP mode
63+
- TLS: fixed watchdog when exceeding connection limit and improved interoperability with renegotiation
64+
- MQTT: fixed subscription read flushing all messages and corrected debug output for protected management frames
65+
- TCP: fixed fast re-transmit detection being reset by data packets between duplicate ACKs
66+
- General: fixed MAC event manager stalls, A-MPDU crash on de-auth, and AP cipher detection
67+
68+
### Certification
69+
- WFA Flextrack and Quicktrack STA mode certification (Quicktrack v2.2)
70+
71+
## [v3.0.0] — October 2024
72+
73+
### New Features
74+
- Layer 2 bypass mode (send/receive raw packets with unicast/broadcast/multicast filtering)
75+
- TLS v1.2 Server mode
76+
- Over-the-Air (OTA) firmware upgrade via internal HTTP/HTTPS and host-controlled flash writing
77+
- Persistent configuration storage and retrieval (RAM and flash)
78+
- TX A-MPDU support in STA mode
79+
- Roaming enable/disable control
80+
81+
### Enhancements
82+
- Enhanced system throughput across multiple layers
83+
- DNS client support for IPv6 servers and AAAA record filtering
84+
- MQTT: topic aliases, IPv6 server hostname resolution, clear all TX properties
85+
- Socket: asynchronous receive modes, TOS on unconnected UDP
86+
- TLS: certificate chain support (2+ certificates during handshake)
87+
- SNTP configuration changeable while connected
88+
- Integer representation expanded to binary and octal formats
89+
90+
### Fixes
91+
- Wi-Fi stability: fixed idle disconnections, WMM crashes, powersave QoS handling, and coexistence failures
92+
- SoftAP: fixed HT/WMM IE extraction and multi-cycle disconnect/connect/reset reliability
93+
- TCP/IP: fixed IPv6 socket crashes, enabled fast retransmission, and corrected broadcast QoS framing
94+
- MQTT: fixed IPv6 connection failures, publish after ping, and property formatting
95+
- TLS: enabled SHA224 for handshakes and fixed crash on excessively long commands
96+
- Roaming: fixed disconnect/auth-fail state sync and probe request channel correctness

ERRATA.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Current Errata for WINCS02 and RNWF02 Firmware
2+
3+
This file has information about known issues in the latest released **WINCS02** and **RNWF02** firmware.
4+
5+
## Latest Firmware
6+
7+
The latest released **WINCS02** and **RNWF02** firmware is [v3.2.0].
8+
9+
## Errata
10+
11+
These are the known issues in the latest released **WINCS02** and **RNWF02** firmware.
12+
13+
| Area | Description | ID | Recovery Method | Prevention Measure | Resulting impact |
14+
|---|---|---|---|---|---|
15+
| AP/Hotspot | The device deauthenticates a reconnecting STA if Management Frame Protection (MFP) is used | 1889 | Prompt the STA to retry the connection | None | With MFP enabled, some STAs may need two attempts to reconnect |
16+
| TCP/IP | IPv6 multicast in received AMSDU can cause MAC Rx stall | 768 | None (no lasting effect) | None | Occasional reduction in Rx throughput |

LICENSE.md

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
V2.001 - 20230126
2+
3+
**THE MICROCHIP SOFTWARE AND DOCUMENTATION PROVIDED HEREUNDER
4+
IS OFFERED SOLELY TO ASSIST YOU IN DEVELOPING PRODUCTS AND SYSTEMS THAT USE AND
5+
INCORPORATE MICROCHIP PRODUCTS. INSTALLING, COPYING, DOWNLOADING AND/OR USING
6+
THE SOFTWARE AND DOCUMENTATION REQUIRES THAT YOU ACCEPT THIS SOFTWARE LICENSE
7+
AGREEMENT. IF YOU DO NOT WISH TO ACCEPT THESE TERMS, DO NOT, INSTALL, COPY,
8+
DOWNLOAD OR USE ANY OF THE SOFTWARE OR DOCUMENTATION. INSTALLING, COPYING, DOWNLOADING
9+
OR USING THE SOFTWARE AND DOCUMENTATION CONSTITUTES YOUR ACCEPTANCE OF THIS
10+
SOFTWARE LICENSE AGREEMENT.**
11+
12+
Under Microchip Technology Incorporated's
13+
("Microchip") intellectual property rights and subject to applicable licensing terms for
14+
any third-party software incorporated in this software and any applicable Open
15+
Source Software (as defined here below), the redistribution, reproduction and use
16+
in source and binary forms of the software or any part thereof, with or without
17+
modification, are permitted provided that the following conditions are met:
18+
19+
© [**2026**], Microchip Technology Inc., and its subsidiaries. All rights
20+
reserved.
21+
22+
1. Redistribution of source code (modified or unmodified) must retain the
23+
copyright notice accompanying the software and documentation, this list of
24+
conditions and the disclaimer in capital type at the end of this software license
25+
agreement.
26+
27+
2. Redistributions in binary form, except as embedded into a device
28+
manufactured by or for Microchip or a software update for any such Microchip
29+
device, must reproduce the accompanying copyright notice, this list of conditions
30+
and the below disclaimer in capital type, in the documentation and/or other
31+
materials provided with the distribution.
32+
33+
3. Neither the name of Microchip nor
34+
the names of other contributors to this software and documentation may be used
35+
to endorse or promote products derived from this software, documentation or part
36+
thereof without specific written permission of Microchip.
37+
38+
4. The software
39+
and documentation or any part thereof, including modifications and/or derivative
40+
works of this software and documentation, must be used and execute solely and
41+
exclusively on or in combination with a device manufactured by or for Microchip.
42+
43+
5. No use, reproduction or redistribution of this software or documentation
44+
partially or totally may be done in any manner that would subject the software
45+
to any Open Source Software license terms (as defined below).
46+
47+
6. The
48+
software may also include third-party software as expressly specified in the software
49+
or documentation subject to specific license terms from such third parties. Such
50+
third-party software is supplied under such specific license terms and is not
51+
subject to the terms and conditions of this software license agreement. By
52+
installing copying, downloading, accessing or otherwise using this software, you agree
53+
to be bound by such third-party license terms with regard to such third-party
54+
software.
55+
56+
7. Some portion of the software may contain software subject to
57+
Open Source Software license terms applicable for each such portion of Open Source
58+
Software, as further specified in the software documentation. Such Open Source
59+
Software is supplied under the applicable Open Source Software license terms and
60+
is not subject to the terms and conditions of this software license agreement.
61+
"Open Source Software" shall mean any open source software licensed under terms
62+
that requires as part of distribution of such software that the source code of
63+
such software is distributed therewith or otherwise made available, or such
64+
license terms that substantially complies with the Open Source definition specified at
65+
www.opensource.org and any other comparable open source license such as for
66+
example GNU General Public License (GPL), Eclipse Public License (EPL), Apache
67+
Software License, BSD license and MIT license.
68+
69+
8. The software and
70+
documentation is and will remain the exclusive property of Microchip and its licensors. You
71+
will not take any action that jeopardizes Microchip's and its licensors'
72+
proprietary rights or acquire any rights in the software and documentation, except the
73+
limited rights specified hereunder.
74+
75+
9. Microchip has no obligation to
76+
provide any maintenance, support or updates for the software.
77+
78+
10. You shall
79+
comply with all applicable laws and regulations affecting the use of the software
80+
and documentation or any part thereof including any applicable export control law
81+
or regulation.
82+
83+
11. Redistribution and use of the software and documentation
84+
partially or any part thereof other than as permitted under this software
85+
license agreement is void and will automatically terminate your rights under this
86+
software license agreement.
87+
88+
DISCLAIMER:
89+
90+
© [**2026**], Microchip Technology Inc.,
91+
and its subsidiaries. All rights reserved.
92+
93+
The software and documentation is
94+
provided by Microchip and its contributors "as is" and any express, implied or
95+
statutory warranties, including, but not limited to, the implied warranties of
96+
merchantability, fitness for a particular purpose and non-infringement of third
97+
party intellectual property rights are disclaimed to the fullest extent permitted by
98+
law. In no event shall Microchip or its contributors be liable for any direct,
99+
indirect, incidental, special, exemplary, or consequential damages (including,
100+
but not limited to, procurement of substitute goods or services; loss of use,
101+
data, or profits; or business interruption) however caused and on any theory of
102+
liability, whether in contract, strict liability, or tort (including negligence or
103+
otherwise) arising in any way out of the use of the software and documentation,
104+
even if advised of the possibility of such damage.
105+
106+
Except as expressly permitted
107+
hereunder and subject to the applicable license terms for any third-party
108+
software incorporated in the software and any applicable open source software license
109+
terms, no license or other rights, whether express or implied, are granted
110+
under any patent or other intellectual property rights of Microchip or any third
111+
party.

README.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# WINCS02 & RNWF02 — Firmware, Drivers & Tools
2+
3+
Microchip **WINCS02** and **RNWF02** are Wi-Fi network controller devices available via [microchip.com](https://www.microchip.com).
4+
5+
This repository is the central hub for the latest firmware and programming resources:
6+
7+
- [**Firmware Release Packages**](../../releases) — GitHub releases containing firmware binaries and release notes
8+
- [**Tools**](./tools/) — Tools for programming and updating firmware and files on the devices
9+
- [**Host Driver**](./WINCS02/driver/) — The standalone driver for host MCUs to interface to the **WINCS02** device
10+
11+
## Device Summary
12+
**WINCS02** and **RNWF02** are Wi-Fi network controller devices that offload Wi-Fi and networking from the host MCU or terminal. The host communicates with the module over a simple serial interface — SPI for WINCS02 or UART for RNWF02 — while the module handles 802.11 connectivity, TCP/IP, TLS, MQTT, HTTP, OTA updates, and more.
13+
14+
**WINCS02** and **RNWF02** devices differ from each other in terms of their host interface:
15+
16+
| | WINCS02 | RNWF02 |
17+
|---|---|---|
18+
| **Host Interface** | SPI | UART |
19+
| **Protocol** | Binary TLV (via nc_driver) | ASCII AT Commands |
20+
21+
## Device Features
22+
**WINCS02** and **RNWF02** provide the following features:
23+
24+
- **Wi-Fi:** 802.11 b/g/n, station and soft-AP modes, WPA2/WPA3 Personal & Enterprise, simple roaming
25+
- **TCP/IP Stack:** IPv4/IPv6, TCP, UDP, DHCP client/server, DNS client
26+
- **TLS:** TLS 1.2 client/server
27+
- **MQTT:** MQTT v3.1.1 / v5.0 client with TLS support
28+
- **HTTP/S:** HTTP client for REST APIs and cloud connectivity
29+
- **SNTP:** Network time synchronization
30+
- **Low Power:** Wi-Fi and system level power-save modes
31+
- **Bypass Mode:** Layer 2 raw packet send/receive with unicast/broadcast/multicast filtering
32+
- **Coexistence:** BLE/Wi-Fi coexistence arbiter
33+
- **Internal Flash Memory:** Active and rollback firmware images, per-device calibration data, 60KB on-chip file system
34+
- **File System:** Access to on-chip flash file system (FLFS) for TLS certificates, keys, and configuration files
35+
- **Firmware Programming Options:**
36+
- **Device Firmware Update (DFU):** Firmware programming of a non-running device
37+
- **Over-the-air (OTA):** Firmware updates of a running device
38+
- **Secure Boot:** Immutable secure boot with hardware root of trust
39+
- **Anti Rollback:** Protection from historically vulnerable firmware
40+
41+
## Firmware Programming and Updating
42+
Firmware can be programmed or updated on non-running **WINCS02** and **RNWF02** devices:
43+
- via the [DFU tool](../tools/dfu/); or
44+
- via a host application that implements the DFU process described in the application developer guide.
45+
46+
Firmware can be updated on running **WINCS02** and **RNWF02** devices:
47+
- via the [NVM Update tool](../tools/nvm_update/); or
48+
- via a host application that implements OTA as described in the API specification.
49+
50+
## Quick Links
51+
52+
| WINCS02 | RNWF02 |
53+
|---|---|
54+
| [Latest Firmware Release Package](../../releases/tag/WINCS02_v3.2.0) |[Latest Firmware Release Package](../../releases/tag/RNWF02_v3.2.0) |
55+
| [Host Driver](./WINCS02/driver/) | N/A |
56+
| [API Specification (Binary Protocol)](./WINCS02/doc/WINCS02_API_Reference.pdf) | [API Specification (AT Command)](./RNWF02/doc/RNWF02_AT_Command_Reference.pdf) |
57+
| [Application Developer Guide](https://onlinedocs.microchip.com/g/GUID-B7A95EBE-7BB2-4AF4-A525-700FB718E47A) | [Application Developer Guide](https://onlinedocs.microchip.com/g/GUID-92FEB3A1-C10F-47DF-BF88-C06521800526) |
58+
| [Data Sheet](https://ww1.microchip.com/downloads/aemDocuments/documents/WSG/ProductDocuments/DataSheets/WINCS02-Wi-Fi-Module-Data-Sheet-DS70005577.pdf) | [Data Sheet](https://ww1.microchip.com/downloads/aemDocuments/documents/WSG/ProductDocuments/DataSheets/RNWF02-Wi-Fi-Module-Data-Sheet-DS70005544.pdf) |
59+
60+
| WINCS02 and RNWF02 |
61+
|---|
62+
| [Errata](./ERRATA.md) |
63+
| [Changelog](./CHANGELOG.md) |
64+
65+
66+
## Getting Notifications
67+
68+
Click **Watch****Custom****Releases** to receive email notifications
69+
when new firmware is published.

RNWF02/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# RNWF02 — Wi-Fi Network Controller Module (UART)
2+
3+
The **RNWF02** is a Wi-Fi network controller device with a UART host interface
4+
using ASCII AT commands.
5+
6+
## Firmware
7+
8+
Firmware binaries and release notes are available on the [Releases page](../../releases).
9+
10+
| Version | Download |
11+
|---------|----------|
12+
| **v3.2.0** (latest) | [GitHub Release](../../releases/tag/RNWF02_v3.2.0) |
13+
14+
### Firmware Files
15+
16+
Each release contains the following binaries:
17+
18+
| File | Description | Usage |
19+
|---|---|---|
20+
| `rnwf02_wholeflash.bin` | Full flash image (firmware + empty slot + file system) | Use with the [DFU tool](../tools/dfu/) or a host application to programme the firmware and file system on a non-running device |
21+
| `rnwf02_dfu_high.bin` | Activated firmware image (single slot) | Use with the [DFU tool](../tools/dfu/) or a host application to update the firmware on a non-running device |
22+
| `rnwf02_ota.bin` | Firmware image (single slot) | Use with the [NVM Update tool](../tools/nvm_update/) or a host application to update the firmware on a running device |
23+
| `flfs_image.bin` | File system image containing default TLS certificates | Use with the [DFU tool](../tools/dfu/) or a host application to update the file system on a non-running device |
24+
25+
## Documentation
26+
27+
- [AT Command API Specification (PDF)](doc/RNWF02_AT_Command_Reference.pdf) — complete command reference
28+
- [Application Developer's Guide](https://onlinedocs.microchip.com/g/GUID-92FEB3A1-C10F-47DF-BF88-C06521800526) — getting started, examples, DFU instructions
29+
- [Data Sheet (PDF)](https://ww1.microchip.com/downloads/aemDocuments/documents/WSG/ProductDocuments/DataSheets/RNWF02-Wi-Fi-Module-Data-Sheet-DS70005544.pdf)
30+
31+
## Add-on Board
32+
33+
The RNWF02 Add-on Board ([EV72E72A](https://www.microchip.com/en-us/development-tool/ev72e72a))
34+
provides a ready-to-use evaluation platform with USB-UART bridge and mikroBUS headers.
35+
36+
## MPLAB Harmony Resources
37+
38+
- [wireless_system_rnwf](https://github.com/Microchip-MPLAB-Harmony/wireless_system_rnwf) — Wi-Fi, MQTT, Net, OTA system services
39+
- [wireless_apps_rnwf](https://github.com/Microchip-MPLAB-Harmony/wireless_apps_rnwf) — example applications
5.83 MB
Binary file not shown.

0 commit comments

Comments
 (0)