GithubHelp home page GithubHelp logo

cjmcu-3212's Introduction

CJMCU-3212

CJMCU-3212

Description

Guide to flash ESP8266 in CJMCU-3212.

For the guide we are going to use https://github.com/spacehuhn/wifi_ducky

Resources used

https://github.com/spacehuhn/wifi_ducky

https://github.com/espressif/esptool

1: Put the CJMCU as ESP programmer

The first thing to do is put the arduino as a programmer, so, in Arduino put

Tools-> Board-> Arduino Leonardo

Tools-> Port -> (the corresponding port)

And upload this sketch

2: Upload the sketch on the ESP

download the 4m binary from here

Now, the Magic (or the solution that worked for me):

Disconnect the CJMCU.

Bridge the two metal circles on the top right before connect the CJMCU to the USB. (image)

Once connected, run in esptool:

python esptool.py --trace   --baud 150200 --port /dev/ttyACM0 write_flash 0x00000 ../esp8266_wifi_duck.ino.generic.bin --flash_size 4MB --flash_mode dio --flash_freq 40m

Now, disconnect the bridge.

3: Upload the wifi ducky sketch

Now, upload https://github.com/spacehuhn/wifi_ducky/blob/master/arduino_wifi_duck/arduino_wifi_duck.ino

Ready, wifi_ducky is working =)

I hope this solution works for you, any problem ask me

cjmcu-3212's People

Contributors

puckk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.