Closed alfredtorch closed 6 years ago
I tried now incognito mode with firefox, better results than Safari, ex.: reporting correct command in serial for factory reset. However, still having the issue with the fix upgrading from v6 to v7, results in constantly rebooting device...
I checked the flash size
Flash real id: 001625C2 Flash real size: 4194304 Flash ide size: 4194304 Flash ide speed: 40000000 Flash ide mode: DIO Flash Chip configuration ok.
Tried also upload with esptools.py :
esptool.py --port /dev/cu.SLAB_USBtoUART write_flash -fm dio -fs 32m 0x00000 firmwareV73.bin
Still reboot experience.
I need .elf file to debug.
This problem is common, the solution is quite simpel. Just bridge 3V to D1. And every problem with reboot is gone. Happy RFIDlocking
I got it working, with a Wemos D1 finally. I'll try your approach and report later on it. Thank you.
@ESPEOL How this is affecting it? @alfredtorch How did you get it working?
Only using a Wemos D1 and the magic happened, flashing with esptool with the same command as below. However, I got 2 new issues, with the wifi setup at the final location of the project. I didn't had this problem at my home using the same router. So now, it's running perfectly, with the default wifi settings. In any case thank you for sharing your programming talents!
1st issue: Once trying to connect as client WPA2 Personnal Network (20chars long password)
[ INFO ] Trying to connect WiFi: CampingsStuff....
[ INFO ] Client IP address: 192.168.178.47
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v00000000
~ld
2nd issue: After I was trying to setup as the esp as AP (SSID KeyBox - short password)
[ INFO ] ESP-RFID is running in AP Mode
[ INFO ] Configuring access point... Failed!
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v00000000
~ld
Can you please test latest dev branch?
@omersiar It changes something considering the Watchdog Timer.
@alfredtorch The first one: It also means, the WatchDog Timer had run out, so the esp restarted with booting from spi flash Just do as I mentioned earlier, 3V to D1.
The second one reffers to the reset pin, so please check, if it is not connected anywhere (your finger might be enough). What I‘ve experienced myself, it could also mean your used power supply can‘t handle the current demand (which is quite high at the begining, USB2.0 and a bad cable can cause this instability. If you can, buy (or make) your own 5V power supply, mine consists of a 9 V supply, I had laying around and a 5V regulator. This could output 10 A so its more than enough.
In a nutshell, the first one can be solved by bridging 3 V and D1, the second one by using a better power supply.
And for all who want to know why the esp i drawing so much current at the beginning: The card reader and the relay get initialised at the same time, and during that the not small program also gets loaded. This easily exceeds 200 mA, if not 300. And by using a bad USB cable, and using USB 2.0 (which can only output 300 mA) problems can be plannend.
I‘d be happy to hear, if I could solve your problem, or if not, how you fixed it.
Hi,
I tried now two different nodemcu (v2-v3). Connected with the default pin to a RC522. Once, I want to save my configuration, (hardware or wifi), it reboots, trying to connect to the registered Wifi AP and keeps crashing with restarting. I tried also to change the board definition (changing board to nodemcuv2 and adapting the memory in the platformio.ini, without any luck). It's a new setup, I did also the blank bin upload. What I'm I missing? The troubles were quite the same than the previous reported crashes on github.
Thank you for your help,
Best regards,
Max