-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
G29 cannot load mesh from eeprom on LPC1769 #12407
Comments
Another addition. I cannot reproduce this on mega2560. So seems like this bug is platform-dependent |
Works fine for me with LPC1768. What happens if you simply create a mesh, store it, clear it and then reload it (rather than all of those other steps)... G29 P1
G29 T
G29 S1
G29 P0
G29 T
G29 L1
G29 T We also need to know where you are storing your eeprom settings (there is no actual eeprom on an LPC176X). How recent is your build? Do you have FLASH_EEPROM defined in the file: |
My build is current Aren't my workflows equivalent? It's basically G29 P1
G29 T
G29 S1
G29 T
G29 L1
G29 T |
Did you actually try the simplified workflow? Did you still see the problem? |
to clarify, no the workflows are not the same. You original post contains several m500 commands which also store things into the eeprom. It could be that this is causing a problem, I'd like to get a very simple test case. |
Yes. But anyway both should work. Right? |
So have you actually tried the simple test I posted above? What output did you get? |
Also do your other settings load correctly from the eeprom? Can you try changing something saving it and then reloading it? |
I cannot test it now. Printer is at my work.
Changing parameters and reloading works as expected. Seems like only problem is mesh |
I suggest the following: Do a M502 and M500 just to get your EEPROM 'correct' with what ever version of the firmware you are using. Then build a mesh. Save the mesh to a known location. For example G29 S1 But lets get it to auto load. Activate UBL. G29 A followed by M500 When you restart the printer, you should be able to do a G29 W T and see that UBL is active, and the mesh in slot 1 was loaded. And it should print the mesh. |
I did exactly that when i notice that i cannot load mesh with G29 L1.
It didnt happened for me. I get empty mesh |
What does G29 W say when you power up (or reset) the printer? Does it say which slot is the default mesh slot? Does it say UBL is active or inactive? |
I think to get anything useful out of G29 W you will need to have UBL_DEVEL_DEBUGGING defined, it is off by default. I've just rebuilt using the current (as of 10 minutes ago bugfix-2.0.x) and I can happily store and load a mesh from eeprom (which is being emulated using flash). I don't think there is any difference between the LPC1769 and LPC1768 (which I have) in this area. Given that both the normal configuration and mesh storage use the same system to load and store and that the storage is spread throughout a larger sector of flash, I'm stumped. Did this ever work for you? Any idea how long ago? Was it using FLASH_EEPROM if/when it worked before? You could try turning FLASH_EEPROM off (which should then use a file on the sd card for eeprom storage). If that worked then it would point towards a problem with the flash eeprom emulation. @p3p any thoughts any idea if anything is different between the two devices that might be causing this? |
There are no differences, LPC1769 is just a binned higher quality LPC1768 that can be clocked higher. |
Is there some possibility that the E2END value is incorrect (too large) for the specific EEPROM method in use? |
E2END shouldn't be an issue we avoid using that constant now in Marlin core and the PersistentStore implementations that it doesn't apply to. |
Ok Any ideas what to do? Or may be i can rebuild it with LPC1768 |
Can you try editing the file |
Oh and take a look at this issue... #12442 |
This was fixed |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi!
Seems like i found an issue with G29 and UBL. Mesh cannot be loaded from eeprom
The text was updated successfully, but these errors were encountered: