0

Airlift ESP32 Flash Memory Error
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Airlift ESP32 Flash Memory Error

by anygard on Mon Sep 27, 2021 3:29 pm

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 | TOGGLE FULL SIZE
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
Image

Error reading the section header
Image

anygard
 
Posts: 14
Joined: Tue Jun 15, 2021 3:58 pm

Please be positive and constructive with your questions and comments.