Open SinanAkkoyun opened 4 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 and please share it with us
5. š Close the issue when your problem has been solved
First of all, hello and thanks for using the issue template! \o/
One thing you could quickly try out is by installing the EspExceptionDecoder then flashing it with Arduino and pasting the serial output (when it crashes) into the EspExceptionDecoder. In the hopes of the EspExceptionDecoders output providing more info that could help.
My developing environment:
Mac OS 10.14.4 with Arduino 1.8.12
My Board Model:
NodeMCU 1.0 with CP2102 (ESP-12E)
Tools I have:
ESPlorer ESP8266FLASH PuTTY
What I've tried:
I have already search on the issues already closed, My problem is simular to [#1266] (https://github.com/SpacehuhnTech/esp8266_deauther/issues/1266), so I tried,
The problem was that the board ESP8266Boards (2.7.1) -- >NodeMCU 1.0 was not chosen correctly. RIGHT ESP8266 Deauther Modules -- > NodeMCU 1.0.
But problem still exist. So I went futher more, I found this one [#1030] (https://github.com/SpacehuhnTech/esp8266_deauther/issues/1030)
I got it working now. I used 4MB file when flashing the firmware, while flash size under tools was only set to 1MB... @ricolay you may want to check if you have same problem.
Although they recomanded 1M(256KB SPIFFS), I changed many cobination such as 4M(3MB SPIFFS) I also changed borad type. By It didn't work. And that issue became inactive, so I did't get what I want.
I just change the screen from 0.96 to 1.13, So I undo everything but it was no help.
Describe the error
The board is new, When I upload the [Beacon_Spam] (https://github.com/spacehuhn/esp8266_beaconSpam), It work perfectly well, But at this project, after flashing .BIN file problem still exist.
Can't autodetect firmware, because proper answer not received (may be unknown firmware).
Please, reset module or continue.
K
Formatting EEPROM...OK
Loading settings...Invalid Hash - reseted to default
Device names loaded from /names.json
SSIDs loaded from /ssids.json
Scan results saved in /scan.json
Serial interface enabled
Started AP
[WiFi] Path: '/web', Mode: 'AP', SSID: 'pwned', password: 'deauther', channel: '1', hidden: false, captive-portal: true
STARTED! \o/
2.2.0
# scan -t 5s
Stopped scan
Scan results saved in /scan.json
Removed all APs
Cleared station list
Starting scan for access points (Wi-Fi networks)...
Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4025a3fb depc=0x00000000
ctx: cont
sp: 3fff1b10 end: 3fff1e20 offset: 01a0
>>>stack>>>
3fff1cb0: 3ffe87a8 4025a3fb 3fff1dd0 4022b44c
3fff1cc0: 4025a3fb 4010695e 3fff1dd0 3ffefcd8
3fff1cd0: 0000565f 3fff09dc 3fff1dd0 402186ae
3fff1ce0: 00000000 00000000 00000000 4022b002
3fff1cf0: 0000565f 3fff09dc 3fff1dd0 402189b5
3fff1d00: 0000565f 3fff09dc 3fff0a98 40218dcd
3fff1d10: 00000202 00000001 0000003c 00000000
3fff1d20: 00000258 00000119 00000001 00000001
3fff1d30: fc100001 00565eca 0ae0ce24 00c80003
3fff1d40: 77700003 0064656e 00000000 00000000
3fff1d50: 00000000 00000000 00000000 00000000
3fff1d60: 64000000 74756165 00726568 00000000
3fff1d70: 00000000 00000000 00000000 00000000
3fff1d80: 00000000 00000000 00000000 00000000
3fff1d90: 00000000 00000000 00000000 00000000
3fff1da0: 00000000 04a8c000 00010101 01006e65
3fff1db0: 00000101 00000000 00000258 3802be89
3fff1dc0: ec010af3 a76e19cf b169c64a 61677a26
3fff1dd0: 3fff6a10 0000025f 00000002 3ffefcd8
3fff1de0: 0000565f 3ffefcd4 3fff09dc 4021c878
3fff1df0: 00000000 00000000 00000000 3fff0df4
3fff1e00: 3fffdc20 00000000 3fff0ded 40225189
3fff1e10: 00000000 00000000 3fff0e00 40100114
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
Mounting SPIFFS...OK
Loading settings...OK
Device names loaded from /names.json
SSIDs loaded from /ssids.json
Scan results saved in /scan.json
Serial interface enabled
Started AP
[WiFi] Path: '/web', Mode: 'AP', SSID: 'pwned', password: 'deauther', channel: '1', hidden: false, captive-portal: true
STARTED! \o/
2.2.0
# scan -t 5s
Stopped scan
Scan results saved in /scan.json
Removed all APs
Cleared station list
Starting scan for access points (Wi-Fi networks)...
Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4025a3fb depc=0x00000000
ctx: cont
sp: 3fff1b10 end: 3fff1e20 offset: 01a0
stack
3fff1cb0: 3ffe87a8 4025a3fb 3fff1dd0 4022b44c
3fff1cc0: 4025a3fb 4010695e 3fff1dd0 3ffefcd8
3fff1cd0: 0000029f 3fff09dc 3fff1dd0 402186ae
3fff1ce0: 00000000 00000000 00000000 4022b002
3fff1cf0: 0000029f 3fff09dc 3fff1dd0 402189b5
3fff1d00: 0000029f 3fff09dc 3fff0a98 40218dcd
3fff1d10: 00000202 00000001 0000003c 00000000
3fff1d20: 00000258 00000119 00000001 00000001
3fff1d30: fc100001 00565eca 0ae0ce24 00c80003
3fff1d40: 77700003 0064656e 00000000 00000000
3fff1d50: 00000000 00000000 00000000 00000000
3fff1d60: 64000000 74756165 00726568 00000000
3fff1d70: 00000000 00000000 00000000 00000000
3fff1d80: 00000000 00000000 00000000 00000000
3fff1d90: 00000000 00000000 00000000 00000000
3fff1da0: 00000000 04a8c000 00010101 01006e65
3fff1db0: 00000101 00000000 00000258 3802be89
3fff1dc0: ec010af3 a76e19cf b169c64a 61677a26
3fff1dd0: 3fff6988 0000025f 00000002 3ffefcd8
3fff1de0: 0000029f 3ffefcd4 3fff09dc 4021c878
3fff1df0: 00000000 00000000 00000000 3fff0df4
3fff1e00: 3fffdc20 00000000 3fff0ded 40225189
3fff1e10: 00000000 00000000 3fff0e00 40100114
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
These code just shows again and again and onboard LED blinks almost once per second.
Sorry for the ugly typography and grammatical errors.
Hey, thank you for your awnser! I really like your work.
I will try it in some days and send you the log.
Getting same error,
load 0x4010f000, len 3664, room 16
tail 0
chksum 0xee
csum 0xee
v00000000
~ld
Mounting SPIFFS...OK
Loading settings...OK
Device names loaded from /names.json
SSIDs loaded from /ssids.json
Scan results saved in /scan.json
Serial interface enabled
Started AP
[WiFi] Path: '/web', Mode: 'AP', SSID: 'pwned', password: 'deauther', channel: '1', hidden: false, captive-portal: true
STARTED! \o/
2.2.0
# scan -t 5s
Stopped scan
Scan results saved in /scan.json
Removed all APs
Cleared station list
Starting scan for access points (Wi-Fi networks)...
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x402702d7 depc=0x00000000
>>>stack>>>
ctx: cont
sp: 3ffffcd0 end: 3fffffc0 offset: 0190
3ffffe60: 3ffe0022 3ffffe80 402702d7 402258af
3ffffe70: 3ffe8888 402702d7 3fffff70 40212840
3ffffe80: 2e322e00 006e0030 80000000 402258af
3ffffe90: 3fff11e1 3ffeec64 3fffff70 40212ad8
3ffffea0: 3fff11e1 3ffeec64 3ffeed18 40212f29
3ffffeb0: 00000202 00000001 0000003c 00000000
3ffffec0: 00000258 00000119 00000001 00000001
3ffffed0: 2d160001 00f24f62 8eba2716 00c8005b
3ffffee0: 77700003 0064656e 00000000 00000000
3ffffef0: 00000000 00000000 00000000 00000000
3fffff00: 64000000 74756165 00726568 00000000
3fffff10: 00000000 00000000 00000000 00000000
3fffff20: 00000000 00000000 00000000 00000000
3fffff30: 00000000 00000000 00000000 00000000
3fffff40: 00000000 04a8c000 00010101 01006e65
3fffff50: 00000101 00000000 00000258 d1c1c4bb
3fffff60: 3b77fdd5 ccb26283 2379a4a9 4dec1a59
3fffff70: 3fff353c 0014025f 00fef024 3ffee740
3fffff80: 00000163 3ffee73c 3ffeec64 4021a740
3fffff90: feefeffe feefeffe feefeffe 3ffef064
3fffffa0: 3fffdad0 00000000 3ffef024 40226b04
3fffffb0: feefeffe feefeffe 3ffe853c 40101111
<<<stack<<<
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
Exception 3: LoadStoreError: Processor internal physical address or data error during load or store
PC: 0x4000bf64
EXCVADDR: 0x402702d7
Decoding stack results
0x402258af: String::String(char const*) at C:\Users\andy\AppData\Local\Arduino15\packages\deauther\hardware\esp8266\2.7.2\cores\esp8266\WString.cpp line 34
0x40212840: jsonFlag(String&, char const*, bool) at C:\Users\andy\AppData\Local\Arduino15\packages\deauther\hardware\esp8266\2.7.2\cores\esp8266/WString.h line 124
0x402258af: String::String(char const*) at C:\Users\andy\AppData\Local\Arduino15\packages\deauther\hardware\esp8266\2.7.2\cores\esp8266\WString.cpp line 34
0x40212ad8: Settings::getJsonStr() at C:\Users\andy\AppData\Local\Temp\arduino_build_219860\sketch\Settings.cpp line 101
0x40212f29: Settings::save(bool) at C:\Users\andy\AppData\Local\Temp\arduino_build_219860\sketch\Settings.cpp line 193
0x4021a740: loop() at D:\Projects\Arduino\esp8266_deauther\esp8266_deauther/esp8266_deauther.ino line 184
0x40226b04: loop_wrapper() at C:\Users\andy\AppData\Local\Arduino15\packages\deauther\hardware\esp8266\2.7.2\cores\esp8266\core_esp8266_main.cpp line 197
Commenting out the following code avoids the exception:
// auto-save
// if (settings.getAutosaveSettings().enabled
// && (currentTime - autosaveTime > settings.getAutosaveSettings().time)) {
// autosaveTime = currentTime;
// names.save(false);
// ssids.save(false);
// settings.save(false);
// }
The problem is in the board manager. you probably installed deauther esp8266 boards 2.7. x ver. It will work with Deauther ESP8266 Boards ver.2.0.0
Yes
Describe the error It seems that the non existing settings can not be accessed and the hash can not be verified. The board is new, I even flashed the "Reset" script provided.
How can I fix it? Please help me, I have limited time till I need to use this, so any help is strongly appreciated.
(same error with flashing BIN file instead of compiling with Arduino...)
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected it to work.
Environment (please complete the following information):
Attempts Clearing flash, writing BIN instead of compiling with Arduino IDE