I am using an ESP-WROVER-E and am having trouble flashing the examples found in the esp-matter repo (specifically the light_switch one, but I tried others as well and they give the same errors).
The problem arises when I try to run idf.py flash. Everything succeeds, but when I monitor it repeats this message ad infinitum: Upon some search I gleaned that this is due to encryption being enabled on the chip, meaning a different flash command should be used. I tried both encrypted-flash and encrypted-app-flash, but neither works; I just get the following message: I thought it'd be best to figure out what exactly I have configured with regards to security, so I ran esptool.py get_security_info but this only returns
Code: Select all
A fatal error occurred: Failed to get security info (result was FF00: Command not implemented)
Code: Select all
espsecure.py encrypt_flash_data --keyfile <.key-file> --address 0x10000 --output build/light_switch_encrypted.bin build/light_switch.bin
I have tried following various Espressif documentation, and due to how extensive it is, I suspect the answer may be hiding in there somewhere, but I have been unable to find anything that works. I have also tried (cautiously) playing around with the config settings found in idf.py menuconfig, but I'm not sure exactly what to change and nothing I have toggled has helped.
Thank you in advance for taking the time to help me with this issue. I may not be able to reply to this thread until Monday, so apologies if I am silent for awhile, but I do appreciate any and all pointers or insight on this problem.