Flashing GT2560 v3 Bootloader

macfreak84
Posts: 12
Joined: Thu Nov 08, 2018 12:47 am

Flashing GT2560 v3 Bootloader

Post by macfreak84 » Thu Nov 08, 2018 1:22 am

I can't find any documentation about how to flash a bootloader onto gt2560 v3 board. I have an arduino uno that I am going to use an arduino isp programmer to flash a new bootloader onto my gt2560 v3 board, but I can't find documentation on how to connect the programmer to the card. Could you please help me flash new bootloader onto my gt2560 v3 board?

Thank you for your help,
Eliot

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Flashing GT2560 v3 Bootloader

Post by _kaktus_ » Fri Nov 09, 2018 5:30 am

Hello.
:mrgreen:

The ISP data transfer protocol is the best boon in the world. ;)
In order to perform the planned operations you need to learn some knowledge. Then you will surely do it correctly. ;)

The best guide will be the data sheet µC.
You don't have to read the whole document, just get to know the right part of it :!:
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

macfreak84
Posts: 12
Joined: Thu Nov 08, 2018 12:47 am

Re: Flashing GT2560 v3 Bootloader

Post by macfreak84 » Sun Nov 11, 2018 4:02 am

I have read and understand the article at https://www.instructables.com/id/ATMEGA ... duino-UNO/
I have looked at the pinout for the atmega2560 chip available at http://ww1.microchip.com/downloads/en/D ... asheet.pdf
I have viewed the GT2560 v3 Schematic that I found on these forums. I can't find it now --- very hard to find.

So the solution boils down to the following board connections:

UNO pins -> ATMEGA2560 pins
10 -> 30 (RESET)
11 -> 21 (MOSI)
12 -> 22 (MISO)
13 -> 20 (SCK)
5v -> VCC
GND -> GND

The problem, as I should have described it better, is that i can't find any place on the motherboard (even with the diagram) to probe MOSI, MISO, and SCK --- except for on the LCD & SD CARD FFC40 strip. I guess I was just hoping there was another terminal on the board I could probe for this. Or even a terminal on the LCD board that could be probed. I don't think it exists. I cannot find a diagram for the LCD board.

I bought a FFC 40 pin fanout board so I can connect to pins 18, 31, 33, 32, 1, and 40 of the LCD & SD CARD FFC40 strip (RESET, MOSI, MISO, SCK, VCC, and GND respectively).

If you see any issue with this setup let me know. The fanout board will arrive on Tuesday, so I guess then we'll know.

Thanks for your time,
Eliot

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Flashing GT2560 v3 Bootloader

Post by _kaktus_ » Mon Nov 12, 2018 3:35 am

Hello.
:mrgreen:

Pinout looks correct.
pinout-ATMega2560.png
pinout-ATMega2560.png (126.83 KiB) Viewed 19721 times
I watched the diagram and actually there was no direct programming interface on it. This is not good, because such a connector should always be in every system where µC is used. :roll:

If you want, take a good quality photo and present it here.

Maybe the PCB has some soldering points to which you can solder wires for programming time.

You will also have to buy a programmer. I suggest USBASP, it is the most popular. And what is important is inexpensive. ;)

For the time of programming I suggest to remove the controller board and disconnect everything possible. There should be only power supply and cables to the programmer.
You must also pay attention not to connect two power sources while preparing for programming.
It would also be good to know the configuration of µC to program the bootloader code.

I keep my fingers crossed so that everything can be done correctly the first time.
:D
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Flashing GT2560 v3 Bootloader

Post by William » Tue Nov 13, 2018 9:53 am

How is your board going?
Did it solve?
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Flashing GT2560 v3 Bootloader

Post by _kaktus_ » Sun Nov 25, 2018 10:46 pm

Hi.
:mrgreen:

I have prepared a FFC <-> ISP adapter project.
Thanks to this small board such operations will be easy and not much work to carry out. :D
In place of the LCD module, just plug in an adapter with an ISP programmer interface. I have prepared two popular variants of the programmer connector - ISP KANDA 10 pin, ISP 6pin.
;)

The issue of production order remains open ... Maybe GT team will take up the challenge :?:
.
adapter_ISP_FFC_top.png
widok od góry
adapter_ISP_FFC_top.png (94.44 KiB) Viewed 19551 times
adapter_ISP_FFC_bottom.png
widok od dołu
adapter_ISP_FFC_bottom.png (65.25 KiB) Viewed 19551 times
.
adapter_FFC-ISP.png
schemat
adapter_FFC-ISP.png (40.78 KiB) Viewed 19550 times
The PCB is a square shape with a side length of 35mm.
If someone had any suggestions, it is a good moment to consult them now. :lol:
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Flashing GT2560 v3 Bootloader

Post by _kaktus_ » Mon Nov 26, 2018 12:29 am

:mrgreen:
Don't be so modest anymore. If it wasn't for you, this project would never have been created. :roll:
:P
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Flashing GT2560 v3 Bootloader

Post by William » Mon Nov 26, 2018 10:10 am

Will this be helpful?
1.The Vid:
https://www.youtube.com/watch?v=2N1zgX8Gv54
Attached wires;
2.The pic:
GT2560V3 bootloader1.jpg
GT2560V3 bootloader1.jpg (26.29 KiB) Viewed 17700 times
The Gnd and +5V:
GT2560V3 bootloader2.jpg
GT2560V3 bootloader2.jpg (341.83 KiB) Viewed 17700 times
The 3(Reset):
GT2560V3 bootloader3.jpg
GT2560V3 bootloader3.jpg (259.41 KiB) Viewed 17700 times
The 5(MOSI)+9(SCK)+10(MISO):
GT2560V3 bootloader4.jpg
GT2560V3 bootloader4.jpg (662.9 KiB) Viewed 17700 times
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Flashing GT2560 v3 Bootloader

Post by William » Thu Nov 29, 2018 1:40 pm

vert wrote:
Thu Nov 29, 2018 3:44 am
William wrote:
Mon Nov 26, 2018 10:10 am
Will this be helpful?
1.The Vid:
https://www.youtube.com/watch?v=2N1zgX8Gv54
Attached wires;
2.The pic:
GT2560V3 bootloader1.jpg

The Gnd and +5V:
GT2560V3 bootloader2.jpg

The 3(Reset):
GT2560V3 bootloader3.jpg

The 5(MOSI)+9(SCK)+10(MISO):
GT2560V3 bootloader4.jpg
so i tried this and it does not work tested on 1.8.5 and windows version.
Arduino: 1.8.7 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

avrdude: Expected signature for ATmega2560 is 1E 98 01
Double check chip, or use -F to override this check.
Error while burning bootloader.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Could you attach the error details?
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Flashing GT2560 v3 Bootloader

Post by William » Fri Nov 30, 2018 10:28 am

Thanks for your detail.I am checking it! :)
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

Post Reply