Code Monkey home page Code Monkey logo

Comments (15)

timryder avatar timryder commented on September 17, 2024 3

The problem it seems is you cannot have a firmware.bin larger than 224kb. Anything more than that and it doesnt fully load into the memory. It will load into like a Ram state until you power cycle it. Make sure after you compile you check that the file size is <= 224kb. The chip uses the remainer of it's flash memory as a simulated EEPROM space. I've successfully reflashed several times now observing the 224 rule. Seach the Configuration.h for anything that says "PROGMEM" and comment it out if you think you don't need it.

from bigtreetech-skr-mini-e3.

bojanpotocnik avatar bojanpotocnik commented on September 17, 2024 2

Yes, searching trough the issues shows that few people solved this problem by restarting PC, updating PlatformIO, reinstalling the environment, etc.
As I am not willing to reinstall my development environment because of this FW, I installed bare Debian image in the virtual machine (VirtualBox or VMWare Player, both free for this usage) so that I had completely fresh environment. And it works. I was really frustrated why my "up-to-date Marlin branch with minimal changes to work on SKR Mini E3" does not boot, where is my config wrong... But yeah, this was the only cause.

from bigtreetech-skr-mini-e3.

reloxx13 avatar reloxx13 commented on September 17, 2024 1

How can I help here? Could you provide a simple PlatformIO project to reproduce this issue?

nope, we cannot cause this is appearing radomly.

My workaround/fix was to force-reinstall platformio.
But no clue why it was neccessary from one day to another.

check this for a howto reinstall:
MarlinFirmware/Marlin#15767 (comment)

from bigtreetech-skr-mini-e3.

Gummibaer avatar Gummibaer commented on September 17, 2024

Filesize from firmware.bin?

from bigtreetech-skr-mini-e3.

timryder avatar timryder commented on September 17, 2024

This happens to me too. I had to Rebuild a new firmware.bin because my Ender 3 has an EZABL sensor for probing. I was able to do this and it took on first load off the SDCard. But somewhere while using it the machine stop responding and the beeper was stuck on. I rebooted it and there was no firmware loaded. Nothing displayed ever on the LCD. Renaming the FIRMWARE.CUR back to firmware.bin and restarting will fix it for a time. But then it all happens all over again.

Any thoughts?

from bigtreetech-skr-mini-e3.

m4rl0ne avatar m4rl0ne commented on September 17, 2024

Thanks to everyone for replying. I fixed my issue by simply updating the platformio plugin for atom. Now it works flawlessly.

from bigtreetech-skr-mini-e3.

ManiRX100 avatar ManiRX100 commented on September 17, 2024

This happens to me too. I had to Rebuild a new firmware.bin because my Ender 3 has an EZABL sensor for probing. I was able to do this and it took on first load off the SDCard. But somewhere while using it the machine stop responding and the beeper was stuck on. I rebooted it and there was no firmware loaded. Nothing displayed ever on the LCD. Renaming the FIRMWARE.CUR back to firmware.bin and restarting will fix it for a time. But then it all happens all over again.

Any thoughts?

My board was working for sometime without issues. Now I am experiencing the same as you mentioned.
@m4rl0ne I use VS Code. The problem exists even with the updated version. Any idea?

from bigtreetech-skr-mini-e3.

bojanpotocnik avatar bojanpotocnik commented on September 17, 2024

My board was working for sometime without issues. Now I am experiencing the same as you mentioned.
I use VS Code. The problem exists even with the updated version. Any idea?

@ManiRX100 I had exactly the same problem. No matter which FW I used (I took care of the size limit), I just could not produce the FW image which would boot.
Updated VS Code, Atom, Python, reinstalled PlatformIO Core and compiled command line, nothing.

Eventually I solved it by creating the virtual machine, as explained in my comment on #61. It takes you 15 minutes to install Debian/Ubuntu to VirtualBox/VMWare, create shared folder with your host machine, pip3 install platformio, platformio run in your mounted shared folder, and you will probably have the working FW minus all the headache.

from bigtreetech-skr-mini-e3.

ManiRX100 avatar ManiRX100 commented on September 17, 2024

@bojanpotocnik So your suggestion is to build the firmware in Linux platform and flash it in the E3 board?

from bigtreetech-skr-mini-e3.

reloxx13 avatar reloxx13 commented on September 17, 2024

@bigtreetech pls reopen, issue is still appearing.

updating/reinstall does not work.

from bigtreetech-skr-mini-e3.

reloxx13 avatar reloxx13 commented on September 17, 2024

here we go @ivankravets

we know this issue with failing firmware from windows pc´s from Tasmota firmware.
Its hapenning again in marlin since 20-30 days.

ps: my tasmota devices start to be instable and restating too since i updated around 7 days back with windows + vsc + pio

from bigtreetech-skr-mini-e3.

ivankravets avatar ivankravets commented on September 17, 2024

Hi all,

How can I help here? Could you provide a simple PlatformIO project to reproduce this issue?

from bigtreetech-skr-mini-e3.

ivankravets avatar ivankravets commented on September 17, 2024

See MarlinFirmware/Marlin#15767 (comment)

from bigtreetech-skr-mini-e3.

cptsoviet avatar cptsoviet commented on September 17, 2024

@timryder

The problem it seems is you cannot have a firmware.bin larger than 224kb. Anything more than that and it doesnt fully load into the memory. It will load into like a Ram state until you power cycle it. Make sure after you compile you check that the file size is <= 224kb. The chip uses the remainer of it's flash memory as a simulated EEPROM space. I've successfully reflashed several times now observing the 224 rule. Seach the Configuration.h for anything that says "PROGMEM" and comment it out if you think you don't need it.

Thank you so so much.

Was experiencing same issues. Another symptom is attempting to change Z-offset using printer LCD/Wheel, when you click on "Save settings" marlin will completely hang and requires a powercycle. I guess it has nowhere to save. If i turned off my printer after print finished when I power it back on - blue screen. Checked my firmware, it was right at 225k. Removed boot logo without changing anything else and it went down to 223.5 ish. No more blue screen. No more hangs when saving Z-Offset. Thank you!

from bigtreetech-skr-mini-e3.

damaltor avatar damaltor commented on September 17, 2024

just to let you know, i had that problem again today with the most recent platform.io on vscode, compiling marlin (bugfix and non-bugfix) would make the printer not boot up. after hours of pulling out my hair i compiled the same source within linux, and it worked immediately.

from bigtreetech-skr-mini-e3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.