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

Magic byte is not 0xE9 #61

Open
lmcbmai opened this issue Jun 25, 2023 · 0 comments
Open

Magic byte is not 0xE9 #61

lmcbmai opened this issue Jun 25, 2023 · 0 comments

Comments

@lmcbmai
Copy link

lmcbmai commented Jun 25, 2023

Hi,
I keep getting 'Magic byte is not 0xE9' when trying to upload littlefs.bin file to my ESP8266. The first byte of .bin file is 0x01 and even if I manually change it to 0xE9, it does not help and after upload attempt it reverts to 0x01. The same file is uploaded successfully and works fine when I use COM port instead of OTA. The command executed with OTA upload is
C:\Users<username>.platformio\penv\Scripts\platformio.exe run --target uploadfsota --environment esp12e
with COM port upload
C:\Users<username>.platformio\penv\Scripts\platformio.exe run --target uploadfs --environment esp12e

Sketch uploads over OTA always work fine.

It could be something with my VSCode configuration, but I have very little experience tweaking it. Any suggestions/help will be very much appreciated.

Thanks

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

1 participant