Not sure a bootloader will be the way to go. The reason is that the serial connector on the board
only has TX, RX, VCC and GND. They didn't bring out the DTR or RTS signal. This means that autoreset
can't work even if you have a FTDI cable.
They also don't have a reset button/switch on the board, so can't simply press the button as you upload
from the IDE.
Since you were able to burn a bootloader, you have ISP programming capability.
Did you use an ISP programmer or maybe Arduino as ISP with another Arduino?
Regardless, that will be the way you will want to program the backpack with your openGLCD sketches
as that way you won't need a bootloader.
i.e. use [File]->[Upload Using Programmer] rather than the upload button.
To use openGLCD sketches on the backpack you will need to modify the openGLCD config file used
for the m168 processor to match the wiring of the backpack.
I would recommend making a copy of it before you modify it.
The config file is openGLCD/config/ks0108/PinConfig_ks0108-Uno.h
You will need to modify the pin definitions to match the backpack wiring.
The good news is rather than deal with the Arduino pin mappings for the part,
openGLCD will allow you to specify the AVR port/bit numbers directly.
So for example, if you look at the schematic you can see that GLCD data bit 0 is
connected to PB0.
So that means you must chnage the define for glcdPinData0 to PIN_B0
a few more examples:
EN on PC0 so glcdPinEN will be PIN_C0
DI on PC1 so glcdPINDI will be PIN_C1
etc...
You will need also need to uncomment the glcdPinBL line
to allow using the backlight. The backlight (BL_EN in the schematic) is wired to PB2
so glcdPinBL will be PIN_B2
You probably should also define the reset signal as well. You can see that on the schematic
as PC3.
For your display you can ignore the glcdPinCSEL3 & glcdPinCSEL4 in the config file as they are not
needed for your display.
After you update the needed 15 signals in the pin config file, you will also have to modify
the ks0108 panel file since the backlight is turned on when
the signal is low vs high.
To do that you will have to modify the configured panel file.
The default panel file is openGLCD/config/ks0108/AutoConfig_ks0108-128x64_Panel.h
You must change this:
// BLpin on off
#define glcd_BLctl glcdPinBL, HIGH, LOW
to this:
// BLpin on off
#define glcd_BLctl glcdPinBL, LOW, HIGH
After you make those changes the openGLCD diag sketch or other examples should be able to run on the backpack.
If you have any issues with getting pins assigned just ask, and I'll help you.
--- bill