Skip to content

robertio/DM-3212-Badusb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

DM-3212

image

Description

Guide to flash ESP8266 in DM-3212.

Descriptions like https://github.com/puckk/CJMCU-3212 DOES not works for me.

This is what works for me:

1: Put the DM-3212 as ESP programmer - This will connect Arduino serial to ESP serial. Run Arduino IDE - step1.ino -upload https://github.com/puckk/CJMCU-3212/blob/master/step1.ino sketch Set -FILE- Preferences - https://raw.githubusercontent.com/SpacehuhnTech/arduino/main/package_spacehuhn_index.json image

Choose Board is Arduino Leonardo - 
    
![image](https://user-images.githubusercontent.com/7502315/167414322-47b374a2-56fe-4562-899b-a19e58edf1d8.png)

Unplug DM-3212 from usb

  1. Shortcut the two pin. Plug it to USB while it is shortcutted. This will put ESP into Flash mode. image

  2. Start ESP8266Flasher64.exe and Flash esp8266_wifi_duck_4mb.bin - this is the ESP image ESP networking, etc, like a "ESP firmware" Bin is here: https://github.com/spacehuhn/wifi_ducky/releases
    Exe is from here: https://github.com/nodemcu/nodemcu-flasher/blob/master/Win64/Release/ESP8266Flasher.exe ESP blue led will blinking during Flashing. image image image

  3. Compile esp8266_wifi_duck.ino (because esptool upload not works for me.) https://github.com/spacehuhn/wifi_ducky/blob/master/arduino_wifi_duck/arduino_wifi_duck.ino Set the board in Arduino IDE : image

    Set the clear wifi settings and sketch image

    Start compile: image

    Bootom line -shows the settings- should look like this: image

Compilation will create esp8266_wifi_duck.ino.generic.bin

  1. Flash esp8266_wifi_duck.ino.generic.bin with ESP8266Flasher64.exe - This will create Ducky webserver - where you can config your ducky script.

  2. Flash arduino_wifi_duck.ino with Arduino IDE - Choose Board: Arduino Leonardo - as you did in step 1 (to set back serial) This will set serial connection between Arduino and ESP.

7 Attache to WIFI- SSID: WiFi Duck Password: quackquack

Chrome:  http://192.168.4.1/ 

My first ducky script: DELAY 30000 CTRL ALT DELETE DELAY 2000 ENTER DELAY 5000 STRING pin

END of set up DM-3212


Ready, wifi_ducky is working =)

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

About

Badusb DM-3212

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%