NINA-W1 series - System integration manual
UBX-17005730 - R15
Software
Page 24 of 54
C1 - Public
2.5.4
ESP-IDF Partition table
NINA-W1 flash can contain multiple apps, as well as different kinds of data (calibration data, file
systems, bootloader, OTA, and so on). To specify the module flash size as well as which data is
allocated in a specific section of the flash, the partition table is used.
When running “menuconfig” under “Partition Table” or
CONFIG_PARTITION_TABLE_TYPE
, few predefined
options are available when configuring the project.
For example, “Single factory app, no OTA”:
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size,
Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
At a 0x10000 (64 KB) offset in the flash is the app labelled “factory”. The bootloader runs this
app by default.
There are also two data regions defined in the partition table for storing NVS library partition
and PHY init data.
If the preconfigured options do not include the suitable configuration for the project a custom
partition scheme can also be set, where addresses and data type are defined. See also the Espressif
Creating Custom Tables [16].
2.5.5
Automatic bootloader on NINA-W10 EVK
The “
esptool.py
” flash tool supports automatic entry to the bootloader on the NINA-W10 EVK
without pressing the BOOT button and RESET the module. To use this functionality, you need to
connect the following pins:
•
RESET
to IO19 (
CTS
)
•
IO0
(IO zero) to IO26 (
DSR
)
The jumpers
CTS
(J14-8) and
DSR
(J14-7) should also be removed so that they do not interfere.
☞
It is not possible to use the Hardware Flow control or the
DSR
signals on the UART while using this
setup.
More information about
esptool
https://github.com/espressif/esptool
2.6
Arduino support for NINA-W10
It is possible to use Arduino electronics platform on the NINA-W10. The Arduino platform and open-
source community provides the possibility to access a lot of third-party hardware such as displays
and sensors.
2.6.1
Downloading the Arduino IDE
Windows, Mac, and Linux environment are supported. The example below uses the Windows
environment. Download the Arduino IDE using the URL