reality-boy / miniMover

Code to control an XYZ miniMaker or Jr line of 3D printer
68 stars 23 forks source link

miniMoverConsole fails to print anything with DaVinci miniMaker on Ubuntu Disco #11

Open roboknight opened 5 years ago

roboknight commented 5 years ago

Expected Behavior

Something starts printing

Actual Behavior

Print always fails with: starting print file uploading file to printer ....... monitoring print

Serial::clear leftover data: 'ok ok 'S: print end process done, temp: 28 C / 0 C Error: (0x0000020d)Unsuported file version print file succeeded

Steps to reproduce

Running Linux, Ubuntu Disco. miniMover -d /dev/ttyACM0 -p file to print

Machine model

DaVinci miniMaker dv1MX0A000

Here's an example file. Maybe I'm doing something wrong here, but I didn't think so. cura-output.zip

At any rate, I was using Firmware version 1.0.5. Your Windows UI couldn't ever find it on COM3, so I switched back to Linux to see if my updated 1.2.0 (I did an update in case this was a problem) would succeed in printing anything. No joy on either 1.0.5 or 1.2.0. Same error. Not exactly sure why I'm getting Unsupported file version (I assume that's a printer error?)...

roboknight commented 5 years ago

Just a note: I took a look at the code, and since you skip all the ttyXXX things, you will never autodetect anything in Linux on USB because it is likely to either show up as ttyUSB0 or ttyACM0 (which is what the DaVinci miniMaker actually does). It shows up that way because its USB enumeration basically looks like a modem (it isn't of course, but I've built a couple of embedded things that enumerate USB and its a quick and dirty way to get USB serial). None of this is related to the issue above, and I don't know if you are actually working on this much anymore, since I noted you have an Ender3 running around.

trumpton commented 4 years ago

I see exactly the same message with a Davinci Pro 1.0 (latest firmware) The program correctly connects to ttyACM0, but on submitting a gcode file created in cura, I get the 0x20d error message, and the print does not start.

roboknight commented 4 years ago

I don't know if the error follows errno.h, but it appears that "buffer or request is too small" is 0x20d. So maybe something in the message isn't correctly formatted? Its hard to tell. Again, I don't know if anyone is still working on this. If this software had worked, I probably would have kept the Davinci Pro... :( -- | --