On 07/02/2014, 9:12 AM, Bryon Miller wrote:
> That must be the problem, I just recently upgraded the firmware from 7.2 to
> 7.5. I'm not using Salifish firmware yet, I just need to get repg again
> and I'll update the firmware.
The underlying issue could be one of several things.
1. The gcode produced by s3d puts the annoyingly critical "M73 P0"
command after other commands of consequence. RepG and GPX do not
generate the s3g "build start notification" (BSN) command until
they see that "M73 P0". That could be problematic: the BSN
command causes the bot to set up some "start of printing" state.
It may be that MBI's firmware does something unwanted if the
BSN shows up after other significant commands. Presently,
it's not an issue with Sailfish.
Note that in MakerWare-style gcode, the M136 command triggers
generation of the s3g BSN command. That is a nice change: overloading
M73 P0 to do it was a hack MBI did when they introduced the s3g BSN
command.
Note also that MakerWare puts the M136 at the very start of the gcode
which ensures that the s3g BSN occurs before any other significant
s3g commands. RepG does likewise with the M73 P0 which results in the
s3g BSN. S3D should follow suit.
2. S3D is making use of m-codes to display informational text on the
LCD display. MBI's firmware has some known bugs in this area which
Sailfish does not (because we fixed them). It's possible that somehow
GPX is triggering those bugs when converting the gcode to s3g but
MakerWare is not. Seems unlikely, but it's been a long time since
I looked at those bugs in MBI's firmware: I don't recall what all
might trigger them.
3. MBI's code for processing "tool" commands, which includes M126 & M127
commands, is somewhat weak. The s3g tool commands include a byte
providing the length of the commands "sub payload". MBI's firmware
ignores that length and just assumes that it knows what the length
should be. If it is wrong, then the print will probably just stop
as the firmware then gets confused and cannot parse the rest of the
SD card file. Sailfish actually goes by the length -- it doesn't
assume that it knows everything. Sooo, it's conceivable that GPX
might generate a valid s3g "tool" command but MBI's firmware fumbles
it since it ignores the length field. However, the tool commands
I looked at -- namely the M126 commands -- all looked fine and
acceptable to even MBI's firmware.
Anyhow, I don't know what it might be that GPX is generating which
MBI's firmware dislikes.
Dan