[GH-ISSUE #1] can't get it working on esp 01 #1

Closed
opened 2026-02-27 23:22:23 +03:00 by kerem · 18 comments
Owner

Originally created by @luisrx7 on GitHub (Feb 3, 2017).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1

Hi
I uploaded the code to my esp 01 via a usb to serial converter and the esp does not create the AP and do not send "Starting" to the serial port. what am I doing wrong?

Originally created by @luisrx7 on GitHub (Feb 3, 2017). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1 Hi I uploaded the code to my esp 01 via a usb to serial converter and the esp does not create the AP and do not send "Starting" to the serial port. what am I doing wrong?
kerem 2026-02-27 23:22:23 +03:00
Author
Owner

@spacehuhn commented on GitHub (Feb 4, 2017):

That's hard to say. Do you get an error message when uploading? My ESP-01 works fine with the code.

<!-- gh-comment-id:277426394 --> @spacehuhn commented on GitHub (Feb 4, 2017): That's hard to say. Do you get an error message when uploading? My ESP-01 works fine with the code.
Author
Owner

@luisrx7 commented on GitHub (Feb 5, 2017):

how do you supply power to the esp?

<!-- gh-comment-id:277488401 --> @luisrx7 commented on GitHub (Feb 5, 2017): how do you supply power to the esp?
Author
Owner

@spacehuhn commented on GitHub (Feb 5, 2017):

I used a USB to serial adapter for programming and as 3.3V powersupply.

<!-- gh-comment-id:277505606 --> @spacehuhn commented on GitHub (Feb 5, 2017): I used a USB to serial adapter for programming and as 3.3V powersupply.
Author
Owner

@luisrx7 commented on GitHub (Feb 5, 2017):

that is exacly what I'm using too. could you send me the bin file so I can flash it to my esp?

<!-- gh-comment-id:277547298 --> @luisrx7 commented on GitHub (Feb 5, 2017): that is exacly what I'm using too. could you send me the bin file so I can flash it to my esp?
Author
Owner

@spacehuhn commented on GitHub (Feb 5, 2017):

I don't have a bin file. You can compile and upload via Arduino.

<!-- gh-comment-id:277555551 --> @spacehuhn commented on GitHub (Feb 5, 2017): I don't have a bin file. You can compile and upload via Arduino.
Author
Owner

@luisrx7 commented on GitHub (Feb 5, 2017):

I know. I'm asking you to compile your code with your settings and send me the bin file.

<!-- gh-comment-id:277558753 --> @luisrx7 commented on GitHub (Feb 5, 2017): I know. I'm asking you to compile your code with your settings and send me the bin file.
Author
Owner

@mrx23dot commented on GitHub (Mar 12, 2017):

v2.0.0 sdk needs min 8Mbit ROM, ESP-01 only has 4Mbit max
use NodeMCU 32Mbit

<!-- gh-comment-id:285949738 --> @mrx23dot commented on GitHub (Mar 12, 2017): v2.0.0 sdk needs min 8Mbit ROM, ESP-01 only has 4Mbit max use NodeMCU 32Mbit
Author
Owner

@mrx23dot commented on GitHub (Mar 12, 2017):

Would it be possible to add support of SDK 1.4.0 which is compatible with ESP-01 4Mbit cheapest module, (for eg. mass deployment)?

<!-- gh-comment-id:285949858 --> @mrx23dot commented on GitHub (Mar 12, 2017): Would it be possible to add support of SDK 1.4.0 which is compatible with ESP-01 4Mbit cheapest module, (for eg. mass deployment)?
Author
Owner

@spacehuhn commented on GitHub (Mar 12, 2017):

Uploading the bin files

Note: the 512kb version won't have the full MAC vendor list.

0 Download the current release from here

1 Upload using the ESP8266 flash tool of your choice. I recommend using the nodemcu-flasher. If this doesn't work you can also use the official esptool from espressif.

That's all! :)

Make sure you select the right com-port, the right upload size of your ESP8266 and the right bin file.

<!-- gh-comment-id:285950164 --> @spacehuhn commented on GitHub (Mar 12, 2017): ### Uploading the bin files **Note:** the 512kb version won't have the full MAC vendor list. **0** Download the current release from [here](https://github.com/spacehuhn/esp8266_deauther/releases) **1** Upload using the ESP8266 flash tool of your choice. I recommend using the [nodemcu-flasher](https://github.com/nodemcu/nodemcu-flasher). If this doesn't work you can also use the official [esptool](https://github.com/espressif/esptool) from espressif. **That's all! :)** Make sure you select the right com-port, the right upload size of your ESP8266 and the right bin file.
Author
Owner

@mrx23dot commented on GitHub (Mar 12, 2017):

(sorry size limit was only for AT firmware)

But still it doesnt work on ESP-01:
python C:\Python34\Scripts\esptool.py -p COM9 -b 115200 write_flash 0x00000 esp8266_deauther_1.1_512kb.bin

esptool.py v1.3
Connecting....
Auto-detected Flash size: 4m
Running Cesanta flasher stub...
Wrote 4096 bytes at 0x0 in 0.4 seconds (89.5 kbit/s)...
Leaving...

remove GPIO0 pull down, Reset
Only PWR LED is lit, no UART communication out, no new AP name.
Is my 0x00 flash address okay?

<!-- gh-comment-id:285971068 --> @mrx23dot commented on GitHub (Mar 12, 2017): (sorry size limit was only for AT firmware) But still it doesnt work on ESP-01: python C:\Python34\Scripts\esptool.py -p COM9 -b 115200 write_flash 0x00000 esp8266_deauther_1.1_512kb.bin esptool.py v1.3 Connecting.... Auto-detected Flash size: 4m Running Cesanta flasher stub... Wrote 4096 bytes at 0x0 in 0.4 seconds (89.5 kbit/s)... Leaving... remove GPIO0 pull down, Reset Only PWR LED is lit, no UART communication out, no new AP name. Is my 0x00 flash address okay?
Author
Owner

@Anikdesign commented on GitHub (Mar 19, 2017):

8MB Board Here is the Errors I get . Any Ideas ??

ESP8266WiFi_1.cpp:564:8: error: prototype for 'int8_t ESP8266WiFiClass::scanNetworks(bool)' does not match any in class 'ESP8266WiFiClass'
int8_t ESP8266WiFiClass::scanNetworks(bool async)

SP8266WiFi.h:243:12: error: candidate is: int8_t ESP8266WiFiClass::scanNetworks(bool, bool)

 int8_t scanNetworks(bool async = false, bool show_hidden = false);

        ^

exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

<!-- gh-comment-id:287585449 --> @Anikdesign commented on GitHub (Mar 19, 2017): 8MB Board Here is the Errors I get . Any Ideas ?? ESP8266WiFi_1.cpp:564:8: error: prototype for 'int8_t ESP8266WiFiClass::scanNetworks(bool)' does not match any in class 'ESP8266WiFiClass' int8_t ESP8266WiFiClass::scanNetworks(bool async) SP8266WiFi.h:243:12: error: candidate is: int8_t ESP8266WiFiClass::scanNetworks(bool, bool) int8_t scanNetworks(bool async = false, bool show_hidden = false); ^ exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Author
Owner

@spacehuhn commented on GitHub (Mar 19, 2017):

readme...

12 Go to the SDK_fix folder of this project

13 Copy ESP8266WiFi.cpp and ESP8266WiFi.h

14 Past these files here packages > esp8266 > hardware > esp8266 > 2.0.0 > libraries > ESP8266WiFi > src

<!-- gh-comment-id:287604469 --> @spacehuhn commented on GitHub (Mar 19, 2017): readme... 12 Go to the SDK_fix folder of this project 13 Copy ESP8266WiFi.cpp and ESP8266WiFi.h 14 Past these files here packages > esp8266 > hardware > esp8266 > 2.0.0 > libraries > ESP8266WiFi > src
Author
Owner

@mrx23dot commented on GitHub (Mar 19, 2017):

Hi spacehuhn, have you tested the 512.bin on ESP-01 4Mbit? Did it work for you?

If so could you send me how did you flash it? Maybe I used bad address:
python esptool.py -p COM9 -b 115200 write_flash 0x00000 esp8266_deauther_1.1_512kb.bin

<!-- gh-comment-id:287606110 --> @mrx23dot commented on GitHub (Mar 19, 2017): Hi spacehuhn, have you tested the 512.bin on ESP-01 4Mbit? Did it work for you? If so could you send me how did you flash it? Maybe I used bad address: python esptool.py -p COM9 -b 115200 write_flash 0x00000 esp8266_deauther_1.1_512kb.bin
Author
Owner

@spacehuhn commented on GitHub (Mar 19, 2017):

The only ESP-01 that I have has 1mb and I have no problem flashing it. Your settings seem to be fine. I can't say why it's not working.
That's why I recommend using a USB dev board, way less stress with these.

<!-- gh-comment-id:287606848 --> @spacehuhn commented on GitHub (Mar 19, 2017): The only ESP-01 that I have has 1mb and I have no problem flashing it. Your settings seem to be fine. I can't say why it's not working. That's why I recommend using a USB dev board, way less stress with these.
Author
Owner

@sirjeannot commented on GitHub (Mar 19, 2017):

Maybe not worth a new topic, but it crashes on an esp8266 esp-201. I've tried all combinations, I get stack dumps and reboots.
edit: works on first try on a esp8266 oak digistump (esp-12f).

<!-- gh-comment-id:287651725 --> @sirjeannot commented on GitHub (Mar 19, 2017): Maybe not worth a new topic, but it crashes on an esp8266 esp-201. I've tried all combinations, I get stack dumps and reboots. edit: works on first try on a esp8266 oak digistump (esp-12f).
Author
Owner

@mrx23dot commented on GitHub (Mar 22, 2017):

Got it to work on ESP-01 4Mbit have to compile with: 512KB (64K SPIFFS)

esp8266_deauther_esp01.zip

<!-- gh-comment-id:288512815 --> @mrx23dot commented on GitHub (Mar 22, 2017): Got it to work on ESP-01 4Mbit have to compile with: 512KB (64K SPIFFS) [esp8266_deauther_esp01.zip](https://github.com/spacehuhn/esp8266_deauther/files/862639/esp8266_deauther_esp01.zip)
Author
Owner

@spacehuhn commented on GitHub (Mar 31, 2017):

Can you test if the new realease works for you?
https://github.com/spacehuhn/esp8266_deauther/releases/tag/v1.2

<!-- gh-comment-id:290680615 --> @spacehuhn commented on GitHub (Mar 31, 2017): Can you test if the new realease works for you? https://github.com/spacehuhn/esp8266_deauther/releases/tag/v1.2
Author
Owner

@mrx23dot commented on GitHub (Mar 31, 2017):

esp8266_deauther_1.2_512kb.bin works great on ESP01 4mbit!
(had to try flashing it multiple times, bootloader sucks)
Issue can be closed, thank you!

<!-- gh-comment-id:290734974 --> @mrx23dot commented on GitHub (Mar 31, 2017): esp8266_deauther_1.2_512kb.bin works great on ESP01 4mbit! (had to try flashing it multiple times, bootloader sucks) Issue can be closed, thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/esp8266_deauther#1
No description provided.