"IOT Made Easy!" - This example demonstrates the firmware update of the ATWINC15x0 with the WBZ451 Curiosity board
Devices: | PIC32CXBZ2 | WBZ45x |
Features: | BLE | Wi-Fi |
THE SOFTWARE ARE PROVIDED "AS IS" AND GIVE A PATH FOR SELF-SUPPORT AND SELF-MAINTENANCE. This repository contains example code intended to help accelerate client product development.
For additional Microchip repos, see: https://github.com/Microchip-MPLAB-Harmony
Checkout the Technical support portal to access our knowledge base, community forums or submit support ticket requests.
The Serial Bridge example is used to upgrade WINC1500 firmware. The WINC device is connected to WBZ451 through SPI interface, so upgrading the WINC serial flash via the WBZ451 would be an easier solution. The Serial Bridge application acts as a simple bridge between computer and WINC Device by passing commands received from computer to DUT and by passing the response from DUT to PC.
The WBZ451 running the serial bridge firmware is connected between computer and WINC SPI to download the firmware to WINC serial flash.
Tools | Quantity |
---|---|
WBZ451 Curiosity Evaluation Kit (Rev 3) | 1 |
WINC1500 Xplained Pro | 1 |
XPRO-ADAPTER Click | 1 |
- Connect the WBZ451 Curiosity Evaluation Kit to the Host PC as a USB Device through a Type-A male to micro-B USB cable connected to Micro-B USB (Debug USB) port
- Connect WINC1500 Xplained Pro and WBZ451 Curiosity board as below
WBZ451 Click connector | WBZ451 Pin name/Number | WINC1500 Xplained Pro | WINC1500 Pin Name/Number |
---|---|---|---|
1 | PB1 | 10 | CHIP EN |
2 | PB2 | 5 | RST |
3 | PA9 | 15 | SPI CS |
4 | PA8 | 18 | SPI CLK |
5 | PA10 | 17 | SPI_MISO |
6 | PA7 | 16 | SPI_MOSI |
7 | Vcc | 20 | +3.3V |
8 | GND | 19 | GND |
15/16 | PA2 | 9 | IRQN (In V2 board, connect to 16) |
- WBZ451 Curiosity board can be connected to WINC1500 Xplained Pro using a XPRO-ADAPTER Click as shown below.
-
The jumper settings in XPRO-ADAPTER click board is as shown above figure. Use Jumpers and Jumper wires to connect the header as mentioned in below table.
Jumper Connections J3.1 to J4.1 J3.3 to J1.5 J3.5 to J3.6 J3.7 to J3.8 J3.9 to J3.10 J3.11 to J3.12 J4.1 to J3.1 J4.3 to J4.4 J4.6 Open J4.8 Open J4.10 Open J4.12 Open
-
This project has been verified to work with the following versions of software tools:
- MPLAB X IDE v6.00
- XC32 Compiler v4.10
- MPLAB® Code Configurator v5.1.17
- PIC32CX-BZ_DFP v1.0.107
- MCC Harmony
- csp version: v3.13.1
- core version: v3.11.1
- wireless_wifi version: v3.6.1
- dev_packs version: v3.13.1
- CMSIS-FreeRTOS version: v10.4.6
Refer Project Manifest present in harmony-manifest-success.yml under the project folder firmware\src\config\default\harmony-manifest-success.yml for more details
Because Microchip regularly update tools, occasionally issue(s) could be discovered while using the newer versions of the tools. If the project doesn’t seem to work and version incompatibility is suspected, It is recommended to double-check and use the same versions that the project was tested with. To download original version of MPLAB Harmony v3 packages, refer to document How to Use the MPLAB Harmony v3 Project Manifest Feature
-
WINC device firmware can be upgraded by executing the batch script winc_flash_tool.cmd that is available in the wireless_wifi repo.
-
In the wireless_wifi repo, navigate to the folder wireless_wifi/utilities/wifi/winc in command prompt.
-
Execute the command winc_flash_tool.cmd /p /d WINC1500 /v /e /x /i aio /w
-
For more details on Firmware update procedure, please visit the page https://microchip-mplab-harmony.github.io/wireless_apps_winc1500/apps/getting_started/winc_firmware_upgrade.html
- Note: