-
Notifications
You must be signed in to change notification settings - Fork 26
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
Unable to read EEPROM #74
Comments
The fundamental Problem seems to be that there is no eeprom map for sailfish v4.7 in GPX. I tried to add one for v4.7 and I ran into a few problems (with GPX but also with OctoPrint-GPX). For now I'm just focusing on the home offset because this is what I have to be able to change:
Any thoughts welcome :) BTW eeprom maps for different sailfish version can downloaded here Greetings, |
Hmmm...
b. As for why it comes back as unsigned regardless... py_read_eeprom uses Py_BuildValue to make a signed or unsigned value out of the 32-bits by indicating "l" or "k" as the type and then the python function GPXPlugin.eeprom() sends that python value to flask.jsonify. I'm not sure where the type is getting lost. Your workaround makes sense to me failing fixing the root cause.
|
Output for negative value:
Output for positive value:
|
|
1.b. Py_BuildValue returns a pointer to a Python value structure so the numbers you are printing out are addresses in memory.
|
|
|
I'm getting values like |
|
|
ETA on this? |
@thebeline Not really working on it, to be honest. Not clear how many people out there are interested in eeprom maps other than current Sailfish other than @michaelbaisch. What is it that you are interested in? IE what version of the firmware are you using and what are you trying to do with it? |
I recently acquired a CTC Dual with (BTW, VERY impressed how fast you got back to me here...) |
The CTC Dual should work theoretically work with the map that we have. I think they did build their own firmware, but I don't think they changed the eeprom layout. What symptoms are you seeing? Do you get the same message as above? What does the log say? |
Also, the steps/mm is primarily used by GPX itself to translate from gcode to x3g, so when that when you send a gcode command through OctoPrint, it gets translated using that setting. It doesn't use the eeprom setting for that, just the numbers you store in the plugin settings (stored on the Raspberry Pi). |
One would assume, then, that changing those params would affect a print. Yet they don't really... The That is... unless you are caching the generated |
Are you printing x3g from the SD card? Or gcode from the pi? BTW: The place you want to change the steps/mm is in the "Edit Machine Definition..." If that's what you're doing and it isn't working, could you paste in your gpx.ini? ssh into the pi and:
|
Three Questions:
|
|
Kay. |
I'd still like to be able read/write EEPROM, though... ;-) |
Hello,
I'm trying to get my TOM working with OctoPrint. It runs the most recent (for TOM) Sailfish firmware v4.7. I selected
TOM Mk7 - single extruder
. Not having the "Sailfish option" like in ReplicatorG.I can connect and jog the printer. Now I wanted to edit the EEPROM values. When I click on
EEPROM Settings…
I'm getting this message:The octoprint log says:
I'm also seeing this in the
plugin_GPX.log
, not sure if this is connected to anything:Greetings :)
Michael
The text was updated successfully, but these errors were encountered: