# Argon Wi-Fi & ESP32 Access

**URL:** https://community.particle.io/t/argon-wi-fi-esp32-access/57316
**Category:** Hardware
**Created:** [August 6, 2020, 6:28pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316 "2020-08-06T18:28:09Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![jkaye](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jkaye](https://community.particle.io/u/jkaye)
#### Post date: [August 6, 2020, 6:28pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/1 "2020-08-06T18:28:10Z")

</div>

Hi All,  
The Argon Wi-Fi product looks very interesting. From the block diagram, it appears that I can program the Nordic device but there does not appear to be access to the ESP32. Can I re-program the ESP32 device?  
Thanks,  
-John

---

<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: [August 6, 2020, 8:12pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/2 "2020-08-06T20:12:29Z")

</div>

The ESP32 is not programmable.

Well if you really want to dig in deep it’s all open source so you could program it, but doing that is not supported or recommended. You’d have to fork the esp-at source (AT command interface) and use the ESP32 SDK to build your modified version and flash it over USB.

---

<div class="post-metadata">

### Author: ![jkaye](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jkaye](https://community.particle.io/u/jkaye)
#### Post date: [August 6, 2020, 8:22pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/3 "2020-08-06T20:22:35Z")

</div>

Thanks for the response. I’m purely looking at using the Argon HW. I have existing SW bases for the Nordic and ESP32 that I’d like to port to it.  
-John

---

<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: [August 6, 2020, 9:24pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/4 "2020-08-06T21:24:58Z")

</div>

The ESP32 is connected to the nRF52840 by serial. If you’re running bare metal you’ll likely need to flash a pass-through app to the nRF52 that connects the nRF52 USB CDC interface to the ESP32 serial interface and set the ESP32 boot mode pins connected to the nRF52 manually to program the ESP32. It’s a pain, but is possible.

---

<div class="post-metadata">

### Author: ![jkaye](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jkaye](https://community.particle.io/u/jkaye)
#### Post date: [August 6, 2020, 9:30pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/5 "2020-08-06T21:30:09Z")

</div>

Thanks for the clarification. Doesn’t sound too bad. Updates could be deployed via Bluetooth. Does such a pass-through app exist for public consumption?

---

<div class="post-metadata">

### Author: ![jkaye](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jkaye](https://community.particle.io/u/jkaye)
#### Post date: [August 6, 2020, 10:48pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/6 "2020-08-06T22:48:06Z")

</div>

Just to clarify because there is a high volume opportunity: The ESP32 can be programmed via the serial connection to the nRF52840, but you do note earlier that the ESP32 can be programmed, in the standard way, via USB.

---

<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: [August 7, 2020, 5:44pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/7 "2020-08-07T17:44:06Z")

</div>

No, there is no USB connection to the ESP32. The USB is only connected to the nRF52. That’s what makes programming the ESP32 difficult because you can’t do it the normal way directly, you need to use a pass-through app on the nRF52.

The Particle pass-through app is trivial, it’s like 10 lines of code, but it requires all of Device OS; you probably want a native nRF52 SDK USB to UART serial. It’s not as trivial but should not be hard to find as it’s a pretty common use case for designs with a coprocessor.

---

<div class="post-metadata">

### Author: ![bko](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/bko/32/20704_2.png) [@bko](https://community.particle.io/u/bko)
#### Post date: [August 7, 2020, 8:14pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/8 "2020-08-07T20:14:47Z")

</div>

Hi @jkaye

There is a flow like the one you describe for the CircuitPython port to Argon. There is an nRF program in CircuitPython that just updates the ESP32 with binary files. I don’t know exactly how this was created, but it definitely is possible and you can research how they did it. I have used it and it works.

Here’s a link to the doc at Adafruit:

> **[Adding a WiFi Co-Processor to CircuitPython](https://learn.adafruit.com/adding-a-wifi-co-processor-to-circuitpython-esp8266-esp32/program-particle-argon)**
>
> Let's connect our CircuitPython boards to the internet, with an ESP8266 or ESP32 as a wifi assistance!

Note that this path moves you away from the Particle ecosystem and just uses the Particle hardware.

---

<div class="post-metadata">

### Author: ![jkaye](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jkaye](https://community.particle.io/u/jkaye)
#### Post date: [August 8, 2020, 3:31pm UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/9 "2020-08-08T15:31:07Z")

</div>

Thanks guys. I bought an Argon and will give it a go!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/4/64635adccc35238caa19e9b553ec3e98b163d026.png) [@system](https://community.particle.io/u/system)
#### Post date: [February 7, 2021, 3:31am UTC](https://community.particle.io/t/argon-wi-fi-esp32-access/57316/10 "2021-02-07T03:31:20Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
