mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2026-04-26 08:15:51 +03:00
[GH-ISSUE #1273] unable to compile and upload using Arduino IDE #626
Labels
No labels
best of
bug
development
discussion
documentation
duplicate
feature request
help wanted
help wanted
improvement
pinned
pull-request
question
stale
translation
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/esp8266_deauther#626
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @helmarw on GitHub (Jul 13, 2020).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1273
Yes

I followed the instruction here using a clean install of Arduino IDE 1.8.13
https://github.com/SpacehuhnTech/esp8266_deauther/wiki/Installation#compiling-using-arduino-ide
thought the board selection look different form the recent board files, so i choose Generic 8266
this are the settings i used:
for testing i used the release source code 2.1.0:
https://github.com/SpacehuhnTech/esp8266_deauther/archive/v2.1.0.zip
and the config for DSTIKE_OLED_v3.5_Monster
im using a Deauther OLED v5 with preinstalled 2.1.0 and i also can successfully load the release bin with esptools
Describe the error
But im not able to flash the files using the Arduino IDE
What do you think causes it? I have no idea
To Reproduce
always the same when flashing with Ardunio IDE and above settings
Environment (please complete the following information):
Attempts
reading, trying to reset, erase flash using rest.bin, changing some settings (frequency, baud rate, number of LEDs (dont know which is the right number anyways), flashing sketch only and also all content) a.s.o.
i also tried first compiling the bin files and then flashing it with esptools
nothing worked so far
any suggestions are welcome
thnx !
@welcome[bot] commented on GitHub (Jul 13, 2020):
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
@helmarw commented on GitHub (Jul 14, 2020):
update:
esptools sais it detects 4MB Flash but according to your wiki its an ESP-07 so it has only 1MB
i tried compiling with 1M (256K SPIFFS) but it gives me an compiler error
the only possible option is 1M (192K SPIFFS) but again when doing so it ends up in a boot loop
additionally i tried filesystem uploader (https://github.com/esp8266/arduino-esp8266fs-plugin) to upload the /data directory before and after flashing the sketch.
Still no luck ....
@helmarw commented on GitHub (Jul 14, 2020):
update2:
i tried to find out at which point the code crashes
so i added a few println in the setup and main loop
not i see in the serial output that it crashes after finishig attack.update or envoking displayUI.update();
any idea why ?
@helmarw commented on GitHub (Jul 14, 2020):
update3:
i only disabled the line
// displayUI.update();
now its working, less of course the display. dont know what wrong there, must be wrong settings in the A_Config ?!
but why is the corresponding deauther_2.1.0_DSTIKE_OLED_v3.5_v4_Monster.bin working
so my guess is settings in A_config of directroy DSTIKE_OLED_v3.5_Monster are wrong ?!
does anybody know what the problem here is ?
according to the specs, the display is set correctly and everything else seems to work as well:
im out of ideas and i dont understand why the bin-file is working with the display but not when i compile the same
one using Arduino IDE
@XXCoreRangerX commented on GitHub (Jul 18, 2020):
I got the same problem. Even when enabling the display from the WEB Interface it gets into a bootloop.
It's because the libraries have been updated. The previous library was arduino-esp8266-deauther by Tobozo, which worked perfectly fine. I don't know why they replaced it with Spacehuhn's libraries, but since then pretty much everything is failing.
@XXCoreRangerX commented on GitHub (Jul 18, 2020):
I think they should bring back the older libraries, had no issues with them whatsoever.
@helmarw commented on GitHub (Jul 19, 2020):
thnx for the info, do you have a link to the old libraries ?
somebody must compiling the release bins, and they are working, so what libraries are they using ?
I would have thought they are using the latest possible to see that everything is working ....
@XXCoreRangerX commented on GitHub (Jul 19, 2020):
You can still download older libraries source code from the GitHub page: https://github.com/tobozo/Arduino
I don’t really know if it would work, I don’t have a lot of experience with that. We should wait for @spacehuhn to reply.
@spacehuhn commented on GitHub (Jul 19, 2020):
I am working on some bug fixes, but I have no issues with the OLED libraries:
https://github.com/SpacehuhnTech/esp8266_deauther/releases/tag/2.5.0-rc1
@helmarw commented on GitHub (Jul 19, 2020):
yes looks like it since your release bins are working, but even after a clean install it does not work for me, i tried 3 different boards/assemblies with OLEDs
did you try also a clean install just following the instructions in the wiki ?
maybe there are steps missing ?!
@XXCoreRangerX commented on GitHub (Jul 20, 2020):
The easier way to fix this problem would be to just bring @tobozo libraries back, they worked perfectly fine, as I stated above a few times, and there was no need to update them. I have the old library files but I don't know how to set up package_deauther_index.json properly with older configuration.
The better way to fix this problem would be fixing newer packages.
@tobozo commented on GitHub (Jul 20, 2020):
@XXCoreRangerX I've notified @spacehuhn about an idea where both custom SDK versions would be available as a choice in the boards manager.
I can share this setup but it's totally untested on windows and mac.
@XXCoreRangerX commented on GitHub (Jul 20, 2020):
That’s a really good idea
@tobozo commented on GitHub (Jul 20, 2020):
knock yourself out on this temporary test file => https://phpsecu.re/esp8266/package_deauther_all_index.json
@spacehuhn commented on GitHub (Jul 20, 2020):
I wasn't planning on using the new Arduino package for the 2.0, 2.1 or 2.2 versions.
But like I said, I am working on version 2.5 to includes some bug fixes and there are more are to come.
There was supposed to be a slow transitioning. The new Arduino core is not fully done yet - you can use it already, it works but I will make more changes to add some libs and boards soon.
And yes I will add the 2.0.0 to the package json in the next few days.
@satan666000 commented on GitHub (Sep 23, 2020):
In Arduino the same error when flashing and it does not turn on, so I recommend that you use your android phone and that is easier
@stale[bot] commented on GitHub (Dec 22, 2020):
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.