makerbase-mks / MKS-RUMBA32

MKS RUMBA32 is modified in Aus3D RUMBA32 version and a powerful 32-bit 3D printer control board with STM32F446VET6 , The main frequency is 180MHZ. Support Marlin2.0 , support MKS LCD12864B/MINI12864/2004/12864, support MKS TFT24/28/32/35/70 Screens. The motherboard integrates 6 AXIS interface, integrates SPI / UART interface…
16 stars 15 forks source link

Rumba32 TMC2209 #3

Closed dennis0212 closed 4 years ago

dennis0212 commented 4 years ago

Hello, when i select TMC2209 then compile error in Arduino!

SanityCheck.h:2071:4: error: #error "TMC2208 Software Serial is supported only on AVR, LPC1768, STM32F1 and STM32F4 platforms."

I have TMC2209!!!!!

dennis0212 commented 4 years ago

Hello, why config and jumpering for UART on RUMBA32_MKS??? Thanks

makerbase-mks commented 4 years ago

Hi! At present, RUMBA32 does not support TMC2209 UART mode function, which is mainly Marlin firmware. But the UART mode is set as follows: image

dennis0212 commented 4 years ago

Hello, I got the TMC2209 with Rumba32 running today with the dev version 2.1.0 of Marlin and the drivers are recognized by M122 and displayed as a test ok! It is important to have 12V on the board, only USB outputs TMC errors 22:12:22.118 : Testing X connection... OK 22:12:22.122 : Testing Y connection... OK 22:12:22.126 : Testing Z connection... OK 22:12:22.130 : Testing E connection... OK 22:12:22.134 : Testing E1 connection... OK

Hallo, habe heute mit der dev Version 2.1.0 von Marlin die TMC2209 mit Rumba32 zum laufen bekommen und die Treiber werden bei M122 erkannt und als Test ok angezeigt! Wichtig ist 12V müssen am Board anliegen nur USB gibt TMC fehler aus

22:12:22.118 : Testing X connection... OK 22:12:22.122 : Testing Y connection... OK 22:12:22.126 : Testing Z connection... OK 22:12:22.130 : Testing E connection... OK 22:12:22.134 : Testing E1 connection... OK

20200331_221304

makerbase-mks commented 4 years ago

Can the motor run normally? Is everything normal?

dennis0212 commented 4 years ago

Yes Motor run

dennis0212 commented 4 years ago

Compile with Visual Studio Code

dennis0212 commented 4 years ago

One Problem found. When i set eeprom on this no function no eeprom fround on display.

Can help me?

makerbase-mks commented 4 years ago

Hi! @dennis0212 STM32 series MCUs do not have EEPROM, but when the Marlin program handles this part of the function, it should be written to the flash memory using analog mode. You can see this part of the function

dennis0212 commented 4 years ago

On Version 2.0.5.3 function eprom on 2.1 no eprom. Can you this fixed ?

fjriosp commented 4 years ago

I'm unable to get it working.

If I set any Stepper to TMC2209 (UART mode) on Marlin it stucks on boot Marlin logo.

Any help?

dennis0212 commented 4 years ago

Hello, Marlin 1.2-dev compile with Visual Studio Code with full graphik display is working on rumba32 with uart.

dennis0212 commented 4 years ago

Marlin-dev-2.1.x.zip

fjriosp commented 4 years ago

I can't get it working.

Could you send me your sources?

fjriosp commented 4 years ago

I got the full graphics working, but the steppers don't work.

Without uart the don't step. The step pin is always low.

With uart hangs on marlin logo.

dennis0212 commented 4 years ago

Configuration.txt Configuration_adv.txt

Here my config this is for RUMBA_MKS32

fjriosp commented 4 years ago

Ok, now it works.

There is a problem in the STM32 arduino core 1.8.0 and breaks the STM32 timers so the watchdog kills the mcu in a boot loop.

Now I'm using a previous version of STM32 platform on platformio and works with serial.

Thanks!

dennis0212 commented 4 years ago

yes, you must compile with visual code on this is no problem with stm32cores