Page 1 of 3
Flashing GT2560 v3 Bootloader
Posted: Thu Nov 08, 2018 1:22 am
by macfreak84
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
Re: Flashing GT2560 v3 Bootloader
Posted: Fri Nov 09, 2018 5:30 am
by _kaktus_
Hello.
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
Re: Flashing GT2560 v3 Bootloader
Posted: Sun Nov 11, 2018 4:02 am
by macfreak84
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
Re: Flashing GT2560 v3 Bootloader
Posted: Mon Nov 12, 2018 3:35 am
by _kaktus_
Hello.
Pinout looks correct.
- pinout-ATMega2560.png (126.83 KiB) Viewed 19724 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.
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.
Re: Flashing GT2560 v3 Bootloader
Posted: Tue Nov 13, 2018 9:53 am
by William
How is your board going?
Did it solve?
Re: Flashing GT2560 v3 Bootloader
Posted: Sun Nov 25, 2018 10:46 pm
by _kaktus_
Hi.
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.
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
.
- widok od góry
- adapter_ISP_FFC_top.png (94.44 KiB) Viewed 19554 times
- widok od dołu
- adapter_ISP_FFC_bottom.png (65.25 KiB) Viewed 19554 times
.
- schemat
- adapter_FFC-ISP.png (40.78 KiB) Viewed 19553 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.
Re: Flashing GT2560 v3 Bootloader
Posted: Mon Nov 26, 2018 12:29 am
by _kaktus_
Re: Flashing GT2560 v3 Bootloader
Posted: Mon Nov 26, 2018 10:10 am
by William
Will this be helpful?
1.The Vid:
https://www.youtube.com/watch?v=2N1zgX8Gv54
Attached wires;
2.The pic:
- GT2560V3 bootloader1.jpg (26.29 KiB) Viewed 17703 times
The Gnd and +5V:
- GT2560V3 bootloader2.jpg (341.83 KiB) Viewed 17703 times
The 3(Reset):
- GT2560V3 bootloader3.jpg (259.41 KiB) Viewed 17703 times
The 5(MOSI)+9(SCK)+10(MISO):
- GT2560V3 bootloader4.jpg (662.9 KiB) Viewed 17703 times
Re: Flashing GT2560 v3 Bootloader
Posted: Thu Nov 29, 2018 1:40 pm
by William
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?
Re: Flashing GT2560 v3 Bootloader
Posted: Fri Nov 30, 2018 10:28 am
by William
Thanks for your detail.I am checking it!