esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS
MIT License
1.35k stars 423 forks source link

Not working #91

Closed teriall closed 6 years ago

teriall commented 6 years ago

Hello! I tried to firmware before using Arduino IDE, when it was supported, now it not supported anymore. I tried to firmware the bin file, but only got this message in terminal: ets Jan 8 2013,rst cause:2, boot mode:(3,7) ets_main.c No wireless network appeared. I'm using MFRC522, connected as described

omersiar commented 6 years ago

Hi,

Which ESP module do you have? Which version and how did you flash? What OS are you on?

teriall commented 6 years ago

my ESP module called Goouuu MINI S1, I think it's same with nodemcu. I flashing the latest one (0.7), flashing using flash.bat. On windows 10 x64

omersiar commented 6 years ago

I guess your module's flash size or type is different, you can check it out with Arduino IDE example called CheckFlashConfig

Post the result here.

teriall commented 6 years ago

But for example, when I flashing version 0.3 by Arduino IDE it's working fine.

here is the CheckFlashConfig result:

Flash real id:   001540E0
Flash real size: 2097152

Flash ide  size: 4194304
Flash ide speed: 40000000
Flash ide mode:  DIO
Flash Chip configuration wrong!
omersiar commented 6 years ago

It's working because back at Arduion times we did not care the flash size. As you can see your real flash size is 2MiB, you need 4MiB module in order to use esp-rfid fully. You can still modify it to use v0.6.1 or even latest version but you need to build it yourself.

Do you have another module or is this the only option you have?

omersiar commented 6 years ago

Also pre-compiled binaries are for QIO mode, your flash works on DIO mode. I highly recommend getting ESP Module with 4MiB flash in QIO mode. Which is basically wemos D1 mini.

teriall commented 6 years ago

Okay, understood! Thank you so much. I'll try to find the wemos d1 mini. Can close the issue:)

nikolaimann commented 6 years ago

Hello, I have the same problem that my device does not start a wlan after flashing the precompiled binary. The message is: ets Jan 8 2013,rst cause:3, boot mode:(3,6) When executing the Arduino IDE example called CheckFlashConfig I get the following output:

Flash real id:   001640E0
Flash real size: 4194304

Flash ide  size: 4194304
Flash ide speed: 40000000
Flash ide mode:  DIO
Flash Chip configuration ok.

So the flash size is ok, but it uses the wrong Flash IDE mode. Is it possible to use the software with my module? What do I have to change?

teriall commented 6 years ago

Actually I found a module which is 4Mb flash and DIO ide mode, but working just fine, without any problem. I checked the module schematic and compare to the wemos d1 mini schematic so the flash connected to the chip absolutely the same way.

omersiar commented 6 years ago

@nikolaimann You need to edit platformio.ini and build firmware yourself. from board_flash_mode = qio to board_flash_mode = dio