Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashnchips: "Failed to merge flash filesystem" #25

Closed
fedy2 opened this issue Sep 30, 2015 · 12 comments
Closed

Flashnchips: "Failed to merge flash filesystem" #25

fedy2 opened this issue Sep 30, 2015 · 12 comments
Assignees

Comments

@fedy2
Copy link
Contributor

fedy2 commented Sep 30, 2015

I've flashed my ESP8266 01 a first time successfully but I got no responses from the live console.
I've decided to flash it a second time but I get the following error message "Failed to merge flash filesystem".
What I can do about?

I'm using an ESP8266 01, connected trough a FT232 adapter. Flash'n'Chips is running under Windows 7 x64.

@mkmik mkmik self-assigned this Sep 30, 2015
@mkmik
Copy link
Contributor

mkmik commented Sep 30, 2015

CC @gelraen

@mkmik
Copy link
Contributor

mkmik commented Sep 30, 2015

@fedy2 I don't know what is the root cause in your situation, but let's start by disabling the merge FS feature and get your device working:

Invoke flash'n'chips from cmdline and pass --overwrite-flash-fs --gui params

Not sure if --gui is necessary on windows, I have a vague memory of windows apps having to be either console or gui (defined at link time). @gelraen knows more about it.

@imax9000
Copy link
Contributor

Yes, Windows binary doesn't print anything in the console :(

@fedy2 , can you also add --log fnc.log --V=4 and share fnc.log somehow? This may help to figure out why exactly merging fails.

@fedy2
Copy link
Contributor Author

fedy2 commented Sep 30, 2015

Tested with logs enabled: http://pastebin.com/Tc90bLwW

@fedy2
Copy link
Contributor Author

fedy2 commented Sep 30, 2015

With the --overwrite-flash-fs param the flash operation completed successfully.
However the device don't reply to console commands. I will open a new issue about it.

@imax9000
Copy link
Contributor

WARNING: Current flash params bytes: 0240

This doesn't sound right for ESP-01. It should be 0000. You can try to override it with --esp8266-flash-params 0x0000

@fedy2
Copy link
Contributor Author

fedy2 commented Sep 30, 2015

With the --esp8266-flash-params 0x0000 param the console works after a re-connection.
However the first message after flashing is un-readable:

--- flashed successfully
--- connected
load 0x40100000, len 31868, room 16 
�ƄE�慆ąb愄Ć����DÇ�ĥ����������DŽ�b���bŧĄ�DÇ�ĥ��Ć���Ĥ熄b�ƄE�慆ĥb�Ą�E�
--- disconnected

@imax9000
Copy link
Contributor

Can you try to disconnect GPIO0 from GND and reset the board?

@fedy2
Copy link
Contributor Author

fedy2 commented Sep 30, 2015

After the reset I've obtained the device id and psk. Thank you.

@mkmik
Copy link
Contributor

mkmik commented Sep 30, 2015

Does it work now without the overwrite fs and/or flash params options?

@fedy2
Copy link
Contributor Author

fedy2 commented Sep 30, 2015

Nope. I have to specify both the parameters.

@alashkin
Copy link
Contributor

FNC received a lot of fixes, not sure this issue is actual (I have not seen this problem for a long time).
I'm closing issue, but feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants