-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTIONS] [bugfix-2.0.x] Trying to use Marlin with GTM32 PRO VB #12622
Comments
Now I have written a small program that controls the motors individually and also there goes only the X motor. |
Now it's a little clearer. X and Z motor worked but Y does not make a step. If I push the Y limit switch by hand, then the homing runs through. |
The solution can be found hear. |
@AluOne submit an PR to bugfix 2.0 |
@thinkyhead i think we can close this one |
I think there have been no changes yet and we shouldn't close the call. start |
Nope, I can't get a fully working build on my Rostock 301 either. |
Today I took a new test: First after download the new version I copied the configuration header,
If I delete the directory HAL_STM32 I can compile to the next error.
I can fix it in HAL.h with #define MYSERIAL0 MSerial1 in line 81 17:59:54.203 -> start It's a pity that no developer has the board or the printer. |
Using this set of configs and the tip above about removing the HAL_STM32 folder, I was able to get SD reading working, but SD writing is failing silently also causing SD EEPROM to fail (pretty sure that's the fallback option when EEPROM is enabled, but no EEPROM type is setup (SPI, I2C, SRAM)). Most other things appear to be working, LCD, SD detect, SD read, axis steppers, endstops, thermistors work (but readings are wrong), and heaters work. Fans don't appear to work either. |
I tested writing to the SD via another method (octopi instead of Simplify3D) and SD writing appears to work. I don't know why EEPROM on SD isn't working any more, I've tried explicitly defining it, I've tried letting it be the thing that gets enabled because nothing else is. But apparently the SD can be read from and written to. |
Further testing, the eeprom.dat file is being written to the SD card, it isn't being read when the machine starts. Always:
|
Have a PR submitted to get EEPROM working from SD reliably. Thanks to some help from Pinchies. Two small hurdles left: fans and temps. |
Nice to read about the next steps. I have tested your version (PR) and I can read and write to the SD card. I think it would be nice if we could access directly to the EEPROM. |
I tested my own temperature table(thermistor_1.h) with the values from Geeetech Repository. The values are displayed correctly up to 70 degrees. But I need a correction factor and get negative values. How can I avoid this?
|
Something in your circuit seems to be seriously wrong - if it produces voltages below GND level. The ADCs will not measure that but will be destroyed. |
Thank you for the note. The circuit is I think quite ok. The correction value was only for testing to display the values (I have no debugger). I have a version from December that shows the temperatures correctly, but since then a lot has happened in temperature.cpp. |
Hi, |
I have the bootloader for the pro VB board, and a method to get my Rostock 301 back to stock. I'm sure with the bootloader and method I have and the firmware you have, we should be able to get you back to a stock state. |
If I want to use the firmware from Geeetech, I use the tool "STM32 ST-Link Utility" from ST with a simple ST-Link dongle. First I write the bootloader from Geeetech and then I'll take Hyperterm to upload the firmware (described in Geeetechs forum). With the bootloader from @Phr3d13 I think you can save some work. |
Where can I get the bootloader? And am I correct, if I assume you both talk about different bootloaders? |
@AluOne is this one solved? |
Unfortunately Marlin is not running with the GTM32 PRO Board yet. But we have made great progress. One of the last things is temperature control. |
i have no idea, i'm not a coder but just a concerned 3rd party thought things looked solved and was just curious |
Maybe @AnHardt can give us a hint in which direction we should search? |
Correct? Obviously not - else you'd get the right temperatures. If that still shows wrong temperatures, check if the pullup resistor on the used ADC pin is really 4.7KOhm. But everything else would be a surprise. How to make a custom table is common knowledge. Just search for that. |
Now I have created 2 new temperature tables for the sensors. At the bed I measured directly next to the sensor. On the aluminum plate the temperature does not arrive. At the hotend I measured at the top.
Changes in thermistors.h: |
will close this one as it mostly seems to be about creating a custom table if its about adding suport for a new board a [FR] should be created instead we can alway reopen if i got it wrong and this is a bug |
This improved thermistor readings a lot!, , I'm checking with a multimeter and values are very close in my 301. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello,
after some small compiler errors I can build Marlin.
( SINGLENOZZLE_SWAP_LENGTH is now TOOLCHANGE_FIL_SWAP_LENGTH
, IWatchdog.h: No such file or directory
,SERIAL_PORT_2 is not supported for your MOTHERBOARD)
Marlin started with EEPROM version mismatch.
< 17:34:50: start
Than homing G28 only the motor X and Z are working. Y does not work.
Sometimes only the X motor is working.
The home procedure breaks by „Error:Printer halted. kill() called!“.
After that I reinstalled the Geeetech firmware to see if all motors are working
and the homing works with three motors.
Any ideas what to do?
config.zip
The text was updated successfully, but these errors were encountered: