I am following the linux instructions found here to flash my R4 Wifi to support wifi (why isn't wifi flashed/enabled out of the box?). But when I run the ./update.sh and select the R4 port, I get the following:
$ ./update.sh
Start flashing firmware
[2023-07-26T00:30:16Z INFO ] ๐ A new version of espflash is available: v2.0.1
[2023-07-26T00:30:16Z INFO ] Detected 3 serial ports
[2023-07-26T00:30:16Z INFO ] Ports which match a known common dev board are highlighted
[2023-07-26T00:30:16Z INFO ] Please select a port
โ Remember this serial port for future use? ยท no
[2023-07-26T00:30:35Z INFO ] Serial port: '/dev/ttyACM0'
[2023-07-26T00:30:35Z INFO ] Connecting...
[2023-07-26T00:30:35Z INFO ] Unable to connect, retrying with extra delay...
[2023-07-26T00:30:35Z INFO ] Unable to connect, retrying with default delay...
[2023-07-26T00:30:35Z INFO ] Unable to connect, retrying with extra delay...
[2023-07-26T00:30:35Z INFO ] Unable to connect, retrying with default delay...
[2023-07-26T00:30:35Z INFO ] Unable to connect, retrying with extra delay...
[2023-07-26T00:30:35Z INFO ] Unable to connect, retrying with default delay...
[2023-07-26T00:30:35Z INFO ] Unable to connect, retrying with extra delay...
Error: espflash::connection_failed
ร Error while connecting to device
โฐโโถ Failed to connect to the device
help: Ensure that the device is connected and the reset and boot pins are not being held down
I have verified that it is the correct R4 port via the Arduino IDE, and I can successfully upload a sketch to the R4.
Is there something else I need to do to get this to work?
thanks,
-Mark