Argon ESP32 firmware

I want to update firmware on esp32
On this link I found that I can update firmware by using XModem.
“By default, the firmware runs an AT command interface on UART2 (TX: GPIO17, RX: GPIO16, HW flow control disabled).”
But I can’t found UART2 on my argon board
Screenshot from 2021-01-16 13-19-35

Have you read any of these threads?

You will not find the UART2 pins exposed as they are directly connected to the ESP32 without any external means or need to connect to.
You’ll instruct the nRF host controller to update its NCP.

Yes I read but I still don’t understand how I can update the firmware on esp32 using usb. When I execute the command as described

	picocom /dev/ttyACM0 --baud 921600 --omap crcrlf --send-cmd "sx -k -b -X"
	AT+FWUPD=<image size in bytes>
	*** file: ~tracker-esp32-ncp@0.0.7.bin

I get nothing in return except this
Screenshot from 2021-01-16 14-18-50

Did you also follow the step above it where you build and flash the Particle firmware for Argon? You need to build and flash that first, then build the ESP32 firmware and flash it with picocom or other xmodem program. The Argon firmware is the pass-through that accepts data on USB serial and passes over the UART interface to the ESP32. It also sets the boot pin appropriately so the ESP32 will save the data to its flash.

Incidentally, this is only necessary if you are building a custom version of the firmware.

The normal way to update it is to download argon-ncp-firmware-0.0.5-ota.bin

Then update the device using using:

particle flash --serial argon-ncp-firmware-0.0.5-ota.bin

There’s no pass-through or serial terminal program required to use this method.

1 Like