chipKIT® Development Platform

Inspired by Arduino™

Upgrading sketch via ESP8266

Created Thu, 28 Sep 2017 20:51:42 +0000 by rs2845


Thu, 28 Sep 2017 20:51:42 +0000

Hello all,

Is it possible to upgrade a Chipkit DP32's sketch via an ESP8266? I have used the design in one of my projects, it's not "actually" a DP32 board, but it would be great to update the sketch over the air as I can and already am doing with my ESP8266 modules..

Currently I have been using the PIC32 without a bootloader and flashing with PICKIT3. Never managed to get my Mac or PC to "detect" the PIC32's USB.


Fri, 29 Sep 2017 00:33:08 +0000

I think it should be. If the ESP8266 can be a 'transparent UART' (which I believe it can) then you will be able to route serial data from a PC, up through the internet and over to the ESP. You'll need to put a serial bootloader on your 'chipKIT' MCU, and connect the two serial ports (ESP and PIC32).

The piece I don't know how to do at this point is the PC side - you'll need to tell pic32prog to use a COM port on your PC that's virtual, and have that virtual com port tunnel over to the ESP.



Fri, 29 Sep 2017 09:07:09 +0000

I have done it on Linux using socat. This is the ESP8266 code I use: