bigtreetech / mmu2-dip Goto Github PK
View Code? Open in Web Editor NEWMMU 3-axis stepper control
MMU 3-axis stepper control
I cannot seem to calibrate the bowden length in the service menu of the MMU2. I can get to the menu, and to the calibrate section(selection 4), but when trying to start the calibration process it just blinks a single red LED on the 1 filament spot.
I get several digital pin warnings and then I get a compile failure. Is my board definition correct?
Here is the terminal window result:
Executing task: C:\Users\Megamind.platformio\penv\Scripts\platformio.exe run --environment MMU2_F030C8 <
Processing MMU2_F030C8 (platform: ststm32; board: MMU2_F030C8; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/MMU2_F030C8.html
PLATFORM: ST STM32 (14.1.0) > MMU2_F030C8
HARDWARE: STM32F030C8T6 48MHz, 8KB RAM, 64KB Flash
DEBUG: Current (jlink) On-board (stlink) External (blackmagic, jlink)
PACKAGES:
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing TMCStepper @ >=0.6.2,<1.0.0
Library Manager: TMCStepper @ 0.7.1 has been installed!
Found 8 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 0.7.1
| |-- 1.0
|-- 1.0.0
Building in release mode
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\HardwareSerial.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\HardwareTimer.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\IPAddress.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\Print.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\RingBuffer.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\Stream.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\Tone.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\USBSerial.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\WInterrupts.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\WMath.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\WSerial.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\WString.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\abi.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\avr\dtostrf.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\board.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\hooks.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\itoa.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\main.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\new.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\pins_arduino.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_adc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_adc_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_can.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_cec.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_comp.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_comp_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_cordic.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_cortex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_crc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_crc_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_cryp.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_cryp_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dac.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dac_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dcmi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dcmi_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dfsdm.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dfsdm_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dma.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dma2d.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dma_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_dsi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_eth.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_eth_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_exti.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_fdcan.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_firewall.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_flash.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_flash_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_flash_ramfunc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_fmac.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_fmpi2c.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_fmpi2c_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_gfxmmu.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_gpio.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_gpio_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_hash.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_hash_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_hcd.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_hrtim.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_hsem.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_i2c.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_i2c_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_i2s.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_i2s_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_ipcc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_irda.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_iwdg.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_jpeg.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_lcd.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_lptim.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_ltdc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_ltdc_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_mdios.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_mdma.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_mmc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_mmc_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_msp_template.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_nand.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_nor.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_opamp.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_opamp_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_ospi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_pccard.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_pcd.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_pcd_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_pka.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_pwr.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_pwr_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_qspi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_ramecc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_rcc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_rcc_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_rng.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_rtc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_rtc_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_sai.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_sai_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_sd.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_sd_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_sdadc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_sdram.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_smartcard.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_smartcard_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_smbus.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_spdifrx.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_spi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_spi_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_sram.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_swpmi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_tim.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_tim_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_timebase_rtc_alarm_template.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_timebase_rtc_wakeup_template.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_timebase_tim_template.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_tsc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_uart.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_uart_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_usart.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_usart_ex.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\HAL\stm32yyxx_hal_wwdg.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_adc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_bdma.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_comp.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_cordic.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_crc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_crs.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_dac.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_delayblock.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_dma.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_dma2d.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_exti.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_fmac.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_fmc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_fsmc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_gpio.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_hrtim.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_i2c.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_lptim.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_lpuart.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_mdma.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_opamp.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_pka.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_pwr.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_rcc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_rng.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_rtc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_sdmmc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_spi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_swpmi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_tim.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_ucpd.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_usart.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_usb.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\LL\stm32yyxx_ll_utils.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\PortNames.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\analog.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\bootloader.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\clock.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\core_callback.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\dwt.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\hw_config.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\interrupt.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\low_power.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\pinmap.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\rtc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\spi_com.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\startup_stm32yyxx.S.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\stm32_def.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\stm32_eeprom.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\system_stm32yyxx.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\timer.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\twi.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\uart.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\cdc\cdc_queue.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\cdc\usbd_cdc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\cdc\usbd_cdc_if.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\hid\usbd_hid_composite.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\hid\usbd_hid_composite_if.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\usb_device_core.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\usb_device_ctlreq.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\usb_device_ioreq.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\usbd_conf.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\usbd_desc.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\usbd_ep_conf.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\stm32\usb\usbd_if.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\syscalls.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\wiring_analog.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\wiring_digital.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\wiring_pulse.cpp.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\wiring_shift.c.o
Compiling .pio\build\MMU2_F030C8\FrameworkArduino\wiring_time.c.o
Compiling .pio\build\MMU2_F030C8\src\src\Buttons.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\HAL\SoftwareSerial.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\adc.c.o
Compiling .pio\build\MMU2_F030C8\src\src\main.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\mmctl.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\motion.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\permanent_storage.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\shr16.c.o
Compiling .pio\build\MMU2_F030C8\src\src\stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\trinamic.cpp.o
Compiling .pio\build\MMU2_F030C8\src\src\uart.cpp.o
Compiling .pio\build\MMU2_F030C8\libd35\SPI\SPI.cpp.o
MMU2\src\motion.cpp:87:13: warning: 'void check_idler_drive_error()' defined but not used [-Wunused-function]
87 | static void check_idler_drive_error()
| ^~~~~~~~~~~~~~~~~~~~~~~
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\CHOPCONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\COOLCONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\DRVCONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\DRVCTRL.cpp.o
MMU2\src\trinamic.cpp: In function 'int8_t __sg_thr(AXIS)':
MMU2\src\trinamic.cpp:89:9: warning: enumeration value 'ALL_AX' not handled in switch [-Wswitch]
89 | switch (axis)
| ^
MMU2\src\trinamic.cpp: In function 'uint16_t __tcoolthrs(AXIS)':
MMU2\src\trinamic.cpp:104:9: warning: enumeration value 'ALL_AX' not handled in switch [-Wswitch]
104 | switch (axis)
| ^
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\DRVSTATUS.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\DRV_CONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\DRV_STATUS.cpp.o
Archiving .pio\build\MMU2_F030C8\libd35\libSPI.a
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\ENCMODE.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\GCONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\IHOLD_IRUN.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\PWMCONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\RAMP_STAT.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\SERIAL_SWITCH.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\SGCSCONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\SHORT_CONF.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\SMARTEN.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\SW_MODE.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\SW_SPI.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMC2130Stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMC2160Stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMC2208Stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMC2209Stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMC2660Stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMC5130Stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMC5160Stepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib1f7\TMCStepper\source\TMCStepper.cpp.o
Compiling .pio\build\MMU2_F030C8\lib566\IWatchdog\IWatchdog.cpp.o
Archiving .pio\build\MMU2_F030C8\lib1f7\libTMCStepper.a
Archiving .pio\build\MMU2_F030C8\lib566\libIWatchdog.a
Linking .pio\build\MMU2_F030C8\firmware.elf
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/HardwareSerial.cpp.o: in function HardwareSerial::HardwareSerial(void*)': HardwareSerial.cpp:(.text._ZN14HardwareSerialC2EPv+0x58): undefined reference to
digitalPin'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: HardwareSerial.cpp:(.text._ZN14HardwareSerialC2EPv+0x5c): undefined reference to PinMap_UART_RX' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: HardwareSerial.cpp:(.text._ZN14HardwareSerialC2EPv+0x60): undefined reference to
PinMap_UART_TX'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/stm32/analog.cpp.o: in function HAL_ADC_MspInit': analog.cpp:(.text.HAL_ADC_MspInit+0x3c): undefined reference to
PinMap_ADC'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/stm32/analog.cpp.o: in function pwm_stop': analog.cpp:(.text.pwm_stop+0x54): undefined reference to
PinMap_PWM'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/stm32/hw_config.c.o: in function hw_config_init': hw_config.c:(.text.hw_config_init+0x6): undefined reference to
SystemClock_Config'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/stm32/uart.c.o: in function uart_init.part.0': uart.c:(.text.uart_init.part.0+0xf0): undefined reference to
PinMap_UART_TX'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: uart.c:(.text.uart_init.part.0+0xf4): undefined reference to PinMap_UART_RX' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/stm32/uart.c.o: in function
uart_debug_init':
uart.c:(.text.uart_debug_init+0x48): undefined reference to digitalPin' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: uart.c:(.text.uart_debug_init+0x4c): undefined reference to
PinMap_UART_TX'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: uart.c:(.text.uart_debug_init+0x50): undefined reference to PinMap_UART_RX' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/stm32/uart.c.o: in function
uart_debug_write':
uart.c:(.text.uart_debug_write+0xd8): undefined reference to digitalPin' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: uart.c:(.text.uart_debug_write+0xdc): undefined reference to
PinMap_UART_TX'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/wiring_digital.c.o: in function pinMode': wiring_digital.c:(.text.pinMode+0x80): undefined reference to
digitalPin'
c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: wiring_digital.c:(.text.pinMode+0x88): undefined reference to PinMap_PWM' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/wiring_digital.c.o: in function
digitalWrite':
wiring_digital.c:(.text.digitalWrite+0x38): undefined reference to digitalPin' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/FrameworkArduino/wiring_digital.c.o: in function
digitalRead':
wiring_digital.c:(.text.digitalRead+0x3c): undefined reference to digitalPin' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/src/src/HAL/SoftwareSerial.cpp.o: in function
SoftwareSerial::SoftwareSerial(unsigned short, unsigned short, bool)':
SoftwareSerial.cpp:(.text._ZN14SoftwareSerialC2Ettb+0xe8): undefined reference to digitalPin' c:/users/megamind/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/MMU2_F030C8/libd35/libSPI.a(SPI.cpp.o): in function
SPIClass::SPIClass()':
SPI.cpp:(.text._ZN8SPIClassC2Ev+0x44): undefined reference to `digitalPin'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\MMU2_F030C8\firmware.elf] Error 1
==================================================================== [FAILED] Took 29.78 seconds ====================================================================
The terminal process "C:\Users\Megamind.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'MMU2_F030C8'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
Hi can you provide serial settings for Marlin 2.1.1 for the MMU2-DIP connecting to TFT on SKR Mini E3 v3?
Hi,
I wanted to know if it was possible to increase the number of extruders to 10?
This should be possible by modifying the code and the led codes.
Thanks.
By connecting the two boards and using the Marlin 2.0.8 firmware downloaded precompiled from the Ender_5 configuration I have only one problem, when the MMU2 sensor does not see the filament while the working machine stops everything and restarts the program and Pronterface displays :(Can' t write to printer (disconnected ?):
Traceback (most recent call last):
File "printrun\printcore.py", line 744, in _send
File "serial\serialwin32.py", line 317, in write
serial.serialutil.SerialException: WriteFile failed (PermissionError(13, 'The device does not recognize the command.', None, 22))
How to fix this
Thank you
where can i find firmware.hex?
or do i have to make it my self in platformIO?
Marlin display say "update mmu firmware" or do i somthing wrong? i folow the youtube of Chris Riley
thanks
Hi, i have connected the MMU2 to my SKR 1.4.
I can not communicate with MMU2. Wiring is ok.
when i connect my PC to SKR i get the MMU2 commands and when i connect my PC to MMU2 i can control MMU2.
when i do a reset i can send the X0, S1, S2 command from my PC and have the TX of MMU2 connected to my SKR it works.
so it seems, that SKR commands are not recognized by MMU.
do i need a level shifter or something else?
regards
Christian
I've hook up the power correctly.... But the board is not powering up. Works with USB no problem and uploaded HEX. file
I've tried it with 12v and 24v ....? not really a lot of info on this board ?
Any help thanks!!
I get this error and I can't compile.
Tried another versions of PlatformIO and framework-arduinoststm32 and anything result.
Can anyone help?
Processing MMU2_F030C8 (platform: ststm32; board: MMU2_F030C8; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/MMU2_F030C8.html
PLATFORM: ST STM32 (14.0.1) > MMU2_F030C8
HARDWARE: STM32F030C8T6 48MHz, 8KB RAM, 64KB Flash
DEBUG: Current (jlink) On-board (stlink) External (blackmagic, jlink)
PACKAGES:
- framework-arduinoststm32 4.10700.200103 (1.7.0)
- framework-cmsis 2.50700.210515 (5.7.0)
- toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Error: Missing PlatformIO build script C:\Users\fjpin\.platformio\packages\[email protected]\tools\platformio\platformio-build.py!
========================================================================================================= [FAILED] Took 0.80 seconds =========================================================================================================The terminal process "C:\Users\fjpin\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
Hi. I tried to connect MMU2 to GTR 1.0 Board. I connect it to UART3 (TFT connection)
MMU can reset from LCD menu, but don't load\uload filament and don't homing.
Marlin 2.0.7.4
Configuration
#define SERIAL_PORT -1
#define SERIAL_PORT_2 3
Configuration_adv
#define MMU2_SERIAL_PORT 3
#define MMU2_SERIAL Serial3
What's wrong?
I have a brand new MMU2-DIP
I connected to a FTDI interface to it since I was having issue getting it to communicate to do some diagnosis
FTDI -> P1 on MMU2-DIP
5v -> 5v
RX-TX
TX-RX
GND-GND
It powers on and says "start" @ 115200 baud as it should.
When I press the reset button on the side it resets as expected and the D8 LED lights up RED momentarily and It says start again over serial.
But when I connect the reset pin on P1 to GND momentarily, It does not restart, D8 LED does not light up and I don't get a start message,
The P1 reset line is required for the MMU2 to work. (with hardware reset mode)
Please advise.
I could diagnose this further, if you had uploaded a circuit diagram as requested,
Edit: Circuit diagrams has just been uploaded.
Update. If I use reset pin on ICSP header, it resets as expected,
If I measure voltage on reset pin on ICSP header I get 3.3v pull up as I would expect
But if I measure voltage on reset pin on P1, I get nothing.
Hello,
Is there a way to flash the firmware using an Unix system, maybe via a ST-Link ?
What would the address be ?
Would be nice if there already was some documentation about this part.
Thanks
As a filament detection sensor, the proximity sensor was purchased as an NPN NO type and the filament detection was reversed.
Is there any way to use this sensor now by modifying the firmware?
If so, I'd appreciate it if you could tell me where to fix it.
Hi,
Could you provide the pinout and shematics of this board in order to port the klipper firmware on it.
MMU2-dip board is not port-aware.
Created "firmware.hex" file with Visual Studio Code program
You have currently installed the CH340 driver on Windows 10.
And when I buy the board, I connect it with my computer with the cable, so the device manager recognizes the port well.
Afterwards, the CH340 port is not detected even if you download and run the flyMCU program and press the EnumPort button
I tried to download STM32flash in another way and upload firmware with the command from the CMD window, but I get a "failed to init device." error message.
Install Ubuntu with Windows 10 Hyper-v to install the CH340 driver and try to install STM32flash without USB recognition.
Is the board broken? Or is it the wrong way I install it? I'd appreciate it if you could let me know.
It may sound strange because it's translated into a translator, but please.
Can you add ready marlin for e3 mini (v1.2/v2) and mmu2-dip?
So I can only get the mmu2-dip to connect to the SKR 1.4 via the i2c ports. Which it works.
I have three questions
side note: flymcu only allows communication at 115200 and 256000 (not 250000).
side note: I’m running a raspberry pi on the tft serial port.
I enable TMC_DEBUG and got this:
[2021-06-26 15:58:21] connection...
[2021-06-26 15:58:21] M1:LOW
[2021-06-26 15:58:21] M2:LOW
[2021-06-26 15:58:21] M3:LOW
[2021-06-26 15:58:22] TMC ERROR
It looks like 2209 can't connect... Jumpers set as it need to be set by instructions.
Is someone get it works with TMC2209?
This is a very bad model. Almost nothing lines up.
Considering you make the PCB and have all the dimensions, this is really not acceptable.
With USB on the left and PCB up with component on top for orientation
The two screw mounts on the bottom are ok. Why isn't there a 3rd one ?
Hole for USB is not tall enough.You cannot insert provided USB cable into the port, and if you try you will rip the USB port off of the PCB.
Reset button hole does not line up with reset button, hole is two low.
Indicator LEDs do not align up with the holes for them, To far left and incorrect spacing. Left most hole is out by 3.5 mm!
Button holes are all off center. Two far right and incorrect spacing.
Please try again. Or provide CAD so we can fit it
Good afternoon, I'm trying to get your board to connect with a mk3s and it's impossible, I let the mk3s fully charge and restart the mmu2s-dip board and it still doesn't connect, do you have to change any position wire? Thank you very much.
any manual to how to compile mmu2 firmware???? this manual is not complete, im using vscode to compile my printers firmware without any issues but with mmu2 the check mark to compile doen't apear....big thanx im sorry for my english
I have tried and tried I cannot get the mmu2 dip to communicate with the skr 1.4 turbo any and all help would be appreciated I'm running marlin 2.0.7.2 I've flashed the mmu2 dip to run 3 tmc2209 drivers
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.