SpacehuhnTech / WiFiDuck

Wireless keystroke injection attack platform
http://wifiduck.com
MIT License
2.09k stars 368 forks source link

`serial.serialutil.SerialTimeoutException: Write timeout` when flashing ESP-12E on CJMCU-3212/DM-3212 #71

Closed didymus closed 2 years ago

didymus commented 3 years ago

I just followed the directions given. ATMEGA flashed fine. COM is there.

Expected behavior Honestly, after ATMEGA flashed perfectly fine I expect this to work.

Executable segment sizes:
IROM   : 386384          - code in flash         (default or ICACHE_FLASH_ATTR) 
IRAM   : 28600   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...) 
DATA   : 1316  )         - initialized variables (global, static) in RAM/HEAP 
RODATA : 3920  ) / 81920 - constants             (global, static) in RAM/HEAP 
BSS    : 26664 )         - zeroed variables      (global, static) in RAM/HEAP 
Sketch uses 420220 bytes (40%) of program storage space. Maximum is 1044464 bytes.
Global variables use 31900 bytes (38%) of dynamic memory, leaving 50020 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port COM11
Connecting...
Traceback (most recent call last):
  File "C:\Users\didymus\Documents\ArduinoData\packages\wifiduck\hardware\esp8266\2.6.3/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
  File "C:/Users/didymus/Documents/ArduinoData/packages/wifiduck/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 2890, in main
    esp.connect(args.before)
  File "C:/Users/didymus/Documents/ArduinoData/packages/wifiduck/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 475, in connect
    last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)
  File "C:/Users/didymus/Documents/ArduinoData/packages/wifiduck/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 455, in _connect_attempt
    self.sync()
  File "C:/Users/didymus/Documents/ArduinoData/packages/wifiduck/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 394, in sync
    timeout=SYNC_TIMEOUT)
  File "C:/Users/didymus/Documents/ArduinoData/packages/wifiduck/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 337, in command
    self.write(pkt)
  File "C:/Users/didymus/Documents/ArduinoData/packages/wifiduck/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 300, in write
    self._port.write(buf)
  File "C:/Users/didymus/Documents/ArduinoData/packages/wifiduck/hardware/esp8266/2.6.3/tools/pyserial\serial\serialwin32.py", line 323, in write
    raise writeTimeoutError
serial.serialutil.SerialTimeoutException: Write timeout
the selected serial port serial.serialutil.SerialTimeoutException: Write timeout
 does not exist or your board is not connected

Environment (please complete the following information):

Attempts

Additional context I went on the 8266 forum and maybe the module itself is bad? I'm not sure. This is the first Arduino thing I've messed with.

Maybe there is supposed to be some timeout specified in the code that ArduinoIDE looks for? I will look into this further after an unrelated appointment I have in a few minutes.

welcome[bot] commented 3 years ago

Thanks for opening your first issue here! 🎉
👉 Be sure to:
1. 📖 Have a look at the Wiki and README for information
2. 🔍 Search for similar issues (open and closed)
3. ✍ī¸ Provide enough information to understand, recreate and help out with your problem
4. ℹī¸ Let us know if you find a solution
5. 📕 Close the issue when your problem has been solved

TQMatvey commented 3 years ago

same lmao

spacehuhn commented 3 years ago

Hi, sorry that the board you linked is working. It's a board that's not supported for this project. You can try following the instructions on their site but if they don't work, I can't help 🤷

Tapity04 commented 2 years ago

Hi! this is talked about in this discussion #30

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

AgainPsychoX commented 4 months ago

Any update?