Page 1 of 2

How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Dec 10, 2019 1:14 am
by obarbari
I recently received the new printers A10 / A10M with the GT2560 V4.0 board.
I need to modify the firmware to install the TMC2208 drivers, install the auto level touch, correct the limits and the size of the bed and other parameters.
The problem is that the marlin does not have the library for the new GT2560 V4.0 and there is no documentation of this board.
I hope that someone can give me some information to correct the firmware.
Thanks

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Dec 10, 2019 9:16 am
by William
Hi, no source code currently available,

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Dec 31, 2019 9:49 am
by ggppdk
Any news about this ?

I also have GT2560 V4.0 (i own an A10T)

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Dec 31, 2019 9:52 am
by William
Hi,You can download the hex firmware on the official website and upload it using the firmware toolkit or cura.

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Dec 31, 2019 3:27 pm
by ggppdk
Hello
thanks for your answer,
just the question was if i can compile it (i have a A10T)
e.g. correct minor issues (and in future make some upgrades)
minor issues
- correct x,y offsets (discovered by clicking auto-home are -15, -8),
- correct the Z-axis maximum height is wrongly set to 260mm, but i only have 247mm (A10T) (i have made it 251 after moving the bed and end-stop switch a little further down)

But regardless of compiling , i can not upload a new firmware

I have tried 4 programs to upload new firmware
- Firmware toolkit (hex file from website)
- Cura (Customized compiled hex file and tried hex file from website)
- Arduino IDE (with a customized compiled Marlin firmware)
- VScode with PlatformIO (with a customized compiled Marlin firmware)


None is able to communicate with bootloader of the controller
So i have also tried uploading the both
- with the pre-compiled hex firmware on the official website
- with a custom-compiled firmware,

it is not possible to upload either of them

The Serial port is properly configured as USB-SERIAL CH340,
and i am able to communicate with the printer and control it / print with it with any software i tried.

But bootloader does seem to respond at all,
I have tried to press and hold RESET switch before clicking upload of a hex file, no difference either

M115 gives
FIRMWARE_NAME:Marlin 1.1.8 (Github) SOURCE_CODE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Printer EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Cap:SERIAL_XON_XOFF:0
Cap:EEPROM:1
Cap:VOLUMETRIC:1
Cap:AUTOREPORT_TEMP:1
Cap:PROGRESS:0
Cap:PRINT_JOB:1
Cap:AUTOLEVEL:0
Cap:Z_PROBE:0
Cap:LEVELING_DATA:0
Cap:BUILD_PERCENT:0
Cap:SOFTWARE_POWER:0
Cap:TOGGLE_LIGHTS:1
Cap:CASE_LIGHT_BRIGHTNESS:1
Cap:EMERGENCY_PARSER:0
ok

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Dec 31, 2019 3:28 pm
by ggppdk
And also made sure i have 250000 baud rate

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Dec 31, 2019 3:56 pm
by William
:D Hi, If you tried the above: viewtopic.php?f=20&t=69705
But if you still ca n’t upload the firmware,
The bootloader may be missing from the motherboard.

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Wed Jan 01, 2020 5:18 am
by ggppdk
Thanks for you answer

Then I will wait a few months , like until summer
and then get a 2nd board, (maybe it will be an improved version by then)

Then i ll try to program the old one with an ISP programmer with some peace of mind that i have a spare board
Also i ll try to program new board via serial-usb connection

Not that i will buy a board today,
but i do not see a board for A10T sold in Geeetech store !!??
https://www.geeetech.com/mother-board-c-115.html

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Wed Jan 01, 2020 5:52 pm
by William
:D Hi,thanks for your feedback. I will feedback.

Re: How do I update the firmware of the new board GT2560 V4.0?

Posted: Tue Jan 07, 2020 5:00 am
by ggppdk
@vert
Thanks
your suggestion (video youtube) for pressing + holding the reset button
and releasing the
worked !

So I uploaded 3 times a firmware without a failure to upload !!


The reset before uploading firmware is needed to make the bootloader start executing,
- but it should happen automatically (because the uploading software will use (RS232) DTR line to trigger a reset)

Here is a (probable) explanation of why the auto-reset does not work (wrong capacitance at XTAL2, XTAL1 pins).

https://forum.arduino.cc/index.php?topic=158174.0
https://www.arduino.cc/en/uploads/Main/ ... ematic.pdf

Normally setting (RS232) DTR line just before upload (our connection is virtual serial port over USB),
would trigger the auto-reset making the bootloader run and listen for a short period.

But triggering DTR has no effect (or inconsistent effects) in GT2560 V4.0
probably because of wrong value of capacitors on lines XTAL2, XTAL1 pins of mega 2560 on gt2560v4 board (see the schematic link).

In future (i do not need or care to do this now), i may open the box of my A10T to examine the mainboard to find / examine the capacitors that are used XTAL2, XTAL1 pins and maybe change them .
(I had opened it when i received the printer to check everything , heatsinks, etc was in place and secure)