# Flash ESP32 board

**URL:** https://community.particle.io/t/flash-esp32-board/58470
**Category:** WiFi
**Created:** [November 18, 2020, 3:27pm UTC](https://community.particle.io/t/flash-esp32-board/58470 "2020-11-18T15:27:35Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ostelmakh](https://avatars.discourse-cdn.com/v4/letter/o/58f4c7/32.png) [@ostelmakh](https://community.particle.io/u/ostelmakh)
#### Post date: [November 18, 2020, 3:27pm UTC](https://community.particle.io/t/flash-esp32-board/58470/1 "2020-11-18T15:27:35Z")

</div>

Can I flash ESP32 board and how i can it?  
I want to flash it to use TCP/IP AT command

---

<div class="post-metadata">

### Author: ![armor](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/armor/32/18398_2.png) [@armor](https://community.particle.io/u/armor)
#### Post date: [November 18, 2020, 3:42pm UTC](https://community.particle.io/t/flash-esp32-board/58470/2 "2020-11-18T15:42:05Z")

</div>

I get reminded by others to try searching first before posting a new topic. I guess you didn't see this?

> [@Is it possible to program esp32 directly on Argon?](https://community.particle.io/t/is-it-possible-to-program-esp32-directly-on-argon/51205/2):
>
> It is not possible to program the ESP32 on the Argon. Well, OK, it is possible, but it’s not recommended. The ESP32 firmware is referred to as NCP (network co-processor) and it is possible to flash it OTA or in --serial mode. The Argon uses the ESP32 AT command processor mode. In theory you could add your code into this build, build it with the ESP32 build tools, wrap the image in the wrapper needed to be flashed as a Particle binary, then flash it to your device. This is undocumented and un…

---

<div class="post-metadata">

### Author: ![ostelmakh](https://avatars.discourse-cdn.com/v4/letter/o/58f4c7/32.png) [@ostelmakh](https://community.particle.io/u/ostelmakh)
#### Post date: [November 18, 2020, 3:55pm UTC](https://community.particle.io/t/flash-esp32-board/58470/3 "2020-11-18T15:55:13Z")

</div>

I saw that but I don’t use default particle firmware on nrf52840, use custom. And also I saw function updatefirmware [https://github.com/particle-iot/device-os/blob/develop/hal/network/ncp\_client/esp32/esp32\_ncp\_client.cpp](https://github.com/particle-iot/device-os/blob/develop/hal/network/ncp_client/esp32/esp32_ncp_client.cpp)  
and I thought that I could send the AT command AT+FWUPD and then send the firmware itself for the esp, I will drop it before that as a file in the file system, for example, litlfs on the nrf52840 board. But maybe there is an easier option than the one that I am now trying to do

---

<div class="post-metadata">

### Author: ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)
#### Post date: [November 18, 2020, 4:18pm UTC](https://community.particle.io/t/flash-esp32-board/58470/4 "2020-11-18T16:18:36Z")

</div>

From bare-metal nRF52, what you do is set the ESP32 boot and ESP32 reset pins appropriately so the ESP32 goes into programming mode, then send the image over the serial port connection between the nRF52 and ESP32.

You can even set up a pass-through application on the nRF52 to connect the nRF52 USB CDC serial to the ESP32 serial, so you can flash directly from esptool.py on your computer to the ESP32. That’s how we bootstrapped the ESP32 initially, before there was on-device flashing.

---

<div class="post-metadata">

### Author: ![ostelmakh](https://avatars.discourse-cdn.com/v4/letter/o/58f4c7/32.png) [@ostelmakh](https://community.particle.io/u/ostelmakh)
#### Post date: [November 18, 2020, 5:56pm UTC](https://community.particle.io/t/flash-esp32-board/58470/5 "2020-11-18T17:56:45Z")

</div>

Thank you so much!

---

<div class="post-metadata">

### Author: ![ostelmakh](https://avatars.discourse-cdn.com/v4/letter/o/58f4c7/32.png) [@ostelmakh](https://community.particle.io/u/ostelmakh)
#### Post date: [November 23, 2020, 5:04pm UTC](https://community.particle.io/t/flash-esp32-board/58470/6 "2020-11-23T17:04:44Z")

</div>

Could you give me please pass-through application (hex or source) for my board Argon. Thank you!

---

<div class="post-metadata">

### Author: ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)
#### Post date: [November 23, 2020, 5:07pm UTC](https://community.particle.io/t/flash-esp32-board/58470/7 "2020-11-23T17:07:39Z")

</div>

I don’t have a pass-through application that runs on bare nRF52. Ours still requires Device OS, so all of the stuff to work with the USB serial and UART serial are completely different.

---

<div class="post-metadata">

### Author: ![ostelmakh](https://avatars.discourse-cdn.com/v4/letter/o/58f4c7/32.png) [@ostelmakh](https://community.particle.io/u/ostelmakh)
#### Post date: [November 23, 2020, 5:44pm UTC](https://community.particle.io/t/flash-esp32-board/58470/8 "2020-11-23T17:44:27Z")

</div>

I can return your default firmware, I have a backup.
