seemecnc / Firmware

One Repetier firmware for all SeeMeCNC RAMBo controll 3D printers.
28 stars 43 forks source link

Random Tool Change (2 into 1 add-on) #16

Open HippoDan opened 7 years ago

HippoDan commented 7 years ago

Printing from Octoprint frequently finds an extruder switch at random, uncommanded. The forum also reports this problem on any USB connection, not just Octoprint. I'm currently testing this from the SD card, which does not seem to have the same problem.

Firmware downloaded and flashed 10/25/17 using Arduino IDE 1.6.1.

PartDaddy commented 4 years ago

Hi Guys,

I've followed along somewhat. I see the messages all messages related to github.com/seemecnc and can look at pull requests when time comes.

While I'm a great mechanical engineer, I'm afraid I'm not too much help on the programming side.

Thanks for continuing the interest in making things work better.

Thank you, Steve Wygant (aka PartDaddy) SeeMeCNC

On Mon, Feb 10, 2020 at 3:53 PM Eli White notifications@github.com wrote:

@Baenwort https://github.com/Baenwort Hey there! :)

So yes. You have the process down ... with the exception (and last point I got to) of needing to just straight up remove SD Card support. Which fixed the issue. (You can see more info here: repetier/Repetier-Firmware#903 https://github.com/repetier/Repetier-Firmware/issues/903)

Happy to share the firmware however:

1.

I honestly have no idea how to flash the firmware without the compiler (and previous discussions seemed to imply that was the only way). 2.

I'll have to commit my own changes that I'm running up to my Github to give you the code. But I'm super busy right now and that code is on an old windows box I have shut down now. So it will take me a few days to get around to it.

However:

I think @teejaydub https://github.com/teejaydub might still have a branch of the code up with the 'no SD card' fix in place ... if he can link you to that quicker than I can get my code up.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seemecnc/Firmware/issues/16?email_source=notifications&email_token=AAXOBSF4ORY3LP67OR5PQVLRCG5CZA5CNFSM4EA6GQDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELKHGBQ#issuecomment-584348422, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXOBSEFLJGTESRPMTYVYTLRCG5CZANCNFSM4EA6GQDA .

Baenwort commented 4 years ago

@teejaydub and @EliW

From looking at https://seemecnc.dozuki.com/Guide/RAMBo+Control+Firmware/50 I think I can follow along. I just need directions to somewhere other then the SeeMeCNC repo? I'm happy to take which ever of you link their repo first. ;)

It does sound like PartDaddy would accept your pull request if it is made universal. Browsing around EliW's repos I see that at one point he had a 'if two extrudera turn off SD card's version but I'm not confident enough to just grab that or to try to build my own.

My level of coding skills ends at game mods and AV stuff. Nothing can physically break or burn down when I fail. ;) this is a level of stakes I'd rather follow another down.

teejaydub commented 4 years ago

@Baenwort , you should be able to get your source from the branch I mentioned way up above:

I've made a branch at https://github.com/teejaydub/Firmware/tree/dual-extrusion that includes my changes, dejaybe87's buffer-related fixes, and a NUM_EXTRUDER = 2 in Configuration.h - just to make it easier to pull and go.

That branch also has SD card support removed.

It does seem like a good idea to integrate this back into the mainline for the dual-extruder case. I'd be happy to make that change - so that dual-extruder implies no SD support. I won't have time to make it and test it in the next couple of weeks at least, though.

Baenwort commented 4 years ago

@Baenwort , you should be able to get your source from the branch I mentioned way up above:

I've made a branch at https://github.com/teejaydub/Firmware/tree/dual-extrusion that includes my changes, dejaybe87's buffer-related fixes, and a NUM_EXTRUDER = 2 in Configuration.h - just to make it easier to pull and go.

That branch also has SD card support removed.

It does seem like a good idea to integrate this back into the mainline for the dual-extruder case. I'd be happy to make that change - so that dual-extruder implies no SD support. I won't have time to make it and test it in the next couple of weeks at least, though.

The branch you linked, does it include that resending code that was tried for a while up above?

I've tried the dual-extrusion one you linked and I'm getting messages in my serial terminal I'm not used to seeing about resending lines very frequently.

Baenwort commented 4 years ago

And now the first two prints I tried failed with this error in Octoprint:: "Your printer's firmware reported an error. Due to that the ongoing print job will be cancelled. Reported error: Wrong chN21046"

serial0307fail.log octoprint0307fail.log clip4ABSgcode.txt

Video: https://youtu.be/AMVrcJu1wf4

@EliW @teejaydub Do either of you have a version that has removed the SD card support and doesn't include the buffer checking code?