I am attempting to upload SSL certificates to an ESP32 board, and I am doing so via the WifiNINA_Generic library. I have uploaded the FirmwareUpdater sketch onto an Arduino Leonardo and have connected all the pins necessary (TX, RX, GP0, RST, BUSY). The programmer is able to communicate with the board, and I am running firmware version 1.7.4 which I installed via esptool.py. My problem is that I cannot write to the flash memory when I click "Upload SSL Certificates". The following error messages are printed to the console after failing to upload the certificates. I've also updated the WifiNINA Firmware Updater via the instructions at
https://github.com/khoih-prog/WiFiNINA_ ... ter-plugin. The problem existed before and after updating this tool.
Code: Select all
java.lang.Exception: Error while reading flash memory.
at cc.arduino.plugins.wifi101.flashers.java.FlasherSerialClient.readFlash(FlasherSerialClient.java:127)
at cc.arduino.plugins.wifi101.flashers.java.WINCFlasher.uploadCertificates(WINCFlasher.java:110)
at cc.arduino.plugins.wifi101.UpdaterImpl$3.run(UpdaterImpl.java:292)
Attached below are some screenshots of my behavior.
Programmer connected
Error reading the section header