kakou-fr / mmu2s-clone Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Help me. Log files:
Configuring upload protocol...
AVAILABLE: blackmagic, dfu, jlink, serial, stlink
CURRENT: upload_protocol = stlink
Uploading .pio\build\mmu-skrmini\firmware.elf
xPack OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev (2019-07-17-11:28)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
hla_swd
Error: open failed
in procedure 'program'
** OpenOCD init failed **
shutdown command invoked
*** [upload] Error 1
Hi, 1st of all thanks for the code,. I love the project and being able to make your own MMU is so cool.
I have the MMU firmware uploaded to an SKR mini e3 v2. Everything seems to work because it starts and homes the idler.
The printer has an SKR v1.4 pro board, and it's able to reset the MMU, even respond after the MMU starts but then it just sits there and doesn't respond to any commands from the printer's LCD MMU menu.
Here's the serial output:
22:35:46.528 -> waiting for serial port
22:35:46.528 -> 6.0 16/12/21
22:35:46.528 -> Sending START command to mk3 controller board
22:35:46.528 -> Sending START command to mk3 controller board
22:35:46.528 -> Starting new beta v 1.0
22:35:46.528 -> Waiting for message from mk3
22:35:46.528 -> inbound message from Marlin
22:35:46.528 -> finished setting up input and output pins
22:35:46.528 -> Syncing the IdlerIdler homed
22:35:47.775 -> Inialialization Complete, let's multicolor print ....
22:35:47.870 -> MMU Command: 'echo:Unknown command: "start"'
22:35:47.870 -> ERROR: unrecognized command from the MK3 controllerMMU Command: 'ok'
22:35:47.964 -> ERROR: unrecognized command from the MK3 controllerMMU Command: 'echo:Unknown command: "ok"'
22:35:48.056 -> ERROR: unrecognized command from the MK3 controllerMMU Command: 'ok'
and so on...
Any ideas?
On the printer serial i get the error right after resetting the MMU
22:35:42.551 -> MMU <= reset
22:35:42.598 -> MMU not responding - DISABLED
Maybe there's a very short timeout on the printer FW? Like the MMU can't respond fast enough?
I'd appreciate any kind of help, thanks in advance!
Good evening,
I am in the process of building a MMU2S clone. I have the parts printed and almost everything assembled. Now I wanted to take care of the board for the control. I bought a BTT SKR mini E3 V2.0.
Now I wanted to compile the firmware with Visual Studio code, but I get constantly an error.
Attached also a screenshot of the error.
I have tried compiling with Windows but also Mac, but get the same error with both.
i try to compile the firmware before modify the parameter of bowden tube but i got this problem?????? im using vscode and platform...
mmu2-diy\application.cpp:62:9: warning: 'boolean' is deprecated [-Wdeprecated-declarations]
62 | boolean newData = false;
| ^~~~~~~
In file included from C:\Users\GABYJOE.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:34,
from C:\Users\GABYJOE.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
from mmu2-diy\application.cpp:9:
C:\Users\GABYJOE.platformio\packages\framework-arduinoststm32\cores\arduino/wiring_constants.h:110:14: note: declared here
110 | typedef bool boolean attribute((deprecated));
| ^~~~~~~
Compiling .pio\build\mmu-skrmini\lib6df\SoftwareSerialM\HAL_softserial_STM32.cpp.o
Compiling .pio\build\mmu-skrmini\lib6df\SoftwareSerialM\HAL_softserial_STM32F1.cpp.o
Compiling .pio\build\mmu-skrmini\lib6df\SoftwareSerialM\SoftwareSerial.cpp.o
Compiling .pio\build\mmu-skrmini\lib489\SPI\SPI.cpp.o
Compiling .pio\build\mmu-skrmini\lib489\SPI\utility\spi_com.c.o
In file included from piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.cpp:27:
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:37:36: error: variable or field 'SoftSerial_Handler' declared void
37 | extern "C" void SoftSerial_Handler(stimer_t *htim);
| ^~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:37:36: error: 'stimer_t' was not declared in this scope; did you mean 'timer_t'?
37 | extern "C" void SoftSerial_Handler(stimer_t *htim);
| ^~~~~~~~
| timer_t
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:37:46: error: 'htim' was not declared in this scope; did you mean 'tm'?
37 | extern "C" void SoftSerial_Handler(stimer_t *htim);
| ^~~~
| tm
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.cpp:69:1: error: 'stimer_t' does not name a type; did you mean 'timer_t'?
Compiling .pio\build\mmu-skrmini\libff9\Wire\Wire.cpp.o
69 | stimer_t SSTimerHandle;
| ^~~~~~~~
| timer_t
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.cpp: In function 'void HAL_softSerial_init()':
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.cpp:74:3: error: 'SSTimerHandle' was not declared in this scope
74 | SSTimerHandle.timer = SS_TIMER_DEV;
| ^~~~~~~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.cpp:75:29: error: 'SoftSerial_Handler' was not declared in this scope
75 | SSTimerHandle.irqHandle = SoftSerial_Handler;
| ^~~~~~~~~~~~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.cpp:76:3: error: 'TimerHandleInit' was not declared in this scope
76 | TimerHandleInit(&SSTimerHandle, 0, prescaler);
| ^~~~~~~~~~~~~~~
In file included from piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial.h:28,
from piolibdeps\mmu-skrmini\SoftwareSerialM\SoftwareSerial.cpp:40:
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:37:36: error: variable or field 'SoftSerial_Handler' declared void
37 | extern "C" void SoftSerial_Handler(stimer_t *htim);
| ^~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:37:36: error: 'stimer_t' was not declared in this scope; did you mean 'timer_t'?
37 | extern "C" void SoftSerial_Handler(stimer_t *htim);
| ^~~~~~~~
| timer_t
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:37:46: error: 'htim' was not declared in this scope; did you mean 'tm'?
37 | extern "C" void SoftSerial_Handler(stimer_t *htim);
| ^~~~
| tm
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:35:71: error: variable or field 'SoftSerial_Handler' declared void
35 | #define HAL_SOFTSERIAL_TIMER_ISR() extern "C" void SoftSerial_Handler(stimer_t *htim)
| ^~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\SoftwareSerial.cpp:218:1: note: in expansion of macro 'HAL_SOFTSERIAL_TIMER_ISR'
218 | HAL_SOFTSERIAL_TIMER_ISR() {
| ^~~~~~~~~~~~~~~~~~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:35:71: error: 'stimer_t' was not declared in this scope; did you mean 'timer_t'?
35 | #define HAL_SOFTSERIAL_TIMER_ISR() extern "C" void SoftSerial_Handler(stimer_t *htim)
| ^~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\SoftwareSerial.cpp:218:1: note: in expansion of macro 'HAL_SOFTSERIAL_TIMER_ISR'
218 | HAL_SOFTSERIAL_TIMER_ISR() {
| ^~~~~~~~~~~~~~~~~~~~~~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\HAL_softserial_STM32.h:35:81: error: 'htim' was not declared in this scope; did you mean 'tm'?
35 | #define HAL_SOFTSERIAL_TIMER_ISR() extern "C" void SoftSerial_Handler(stimer_t *htim)
| ^~~~
piolibdeps\mmu-skrmini\SoftwareSerialM\SoftwareSerial.cpp:218:1: note: in expansion of macro 'HAL_SOFTSERIAL_TIMER_ISR'
218 | HAL_SOFTSERIAL_TIMER_ISR() {
| ^~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio\build\mmu-skrmini\lib6df\SoftwareSerialM\HAL_softserial_STM32.cpp.o] Error 1
*** [.pio\build\mmu-skrmini\lib6df\SoftwareSerialM\SoftwareSerial.cpp.o] Error 1
========================================================== [FAILED] Took 46.13 seconds ==========================================================
Environment Status Duration
mmu-gt2560 FAILED 00:00:02.378
mmu-skrmini FAILED 00:00:46.130
===================================================== 2 failed, 0 succeeded in 00:00:48.508 =====================================================
Hello,
I am having an issue when trying to make my SKR 1.4 (on printer side) with my mini 1.1 (MMU2+1S side).
I tried with a stock MMU2S from prusa (original one) and the commands are correctly send and exectued (load filament). But when using the mini 1.1, nothing happens...
When powering on, the idler is "homing", extruder does not move. Whatever the command sent from the printer throught the screen, nothing happens on MMU2+1S side.
How to debug this? Thanks for your help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.