Author Topic: Lastest GM328A  (Read 885 times)

0 Members and 2 Guests are viewing this topic.

Offline carl1961Topic starter

  • Contributor
  • Posts: 31
  • Country: us
Lastest GM328A
« on: February 10, 2024, 10:21:51 pm »
I got a GM328A a week ago, searched everywhere about GM328A. I learned what I could from pictures and data sheets. the Mega328P chip is not removable and seems firmware is locked so I fail to get a backup. I will post what I found. I won't try to update the old  1.12 firmware until I figure out the display type. I was hoping to get a dump of the firmware and hopefully find some info about the display. beats me why theses or made with open source firmware and they lock them. they never learn that if they or open and people (like me and others ) improve them, they could sell tons more than they would locked up.

Got Display showing with Version 1.13 is Karl Heinz Kuebbler's MEGA328_COLOR_KIT

Display fixed Github with files  https://github.com/carl1961/New-GM328A
« Last Edit: February 13, 2024, 09:40:38 pm by carl1961 »
 

Offline carl1961Topic starter

  • Contributor
  • Posts: 31
  • Country: us
Re: Lastest GM328A
« Reply #1 on: February 10, 2024, 10:53:46 pm »
SinaProg  pictures found SinaProg here on this forum by indman
 

Offline carl1961Topic starter

  • Contributor
  • Posts: 31
  • Country: us
Re: Lastest GM328A
« Reply #2 on: February 10, 2024, 11:31:43 pm »
AVRDUDESS 2.4  You can see the eeprom backed up, but the flash is not complete

« Last Edit: February 10, 2024, 11:35:05 pm by carl1961 »
 

Offline carl1961Topic starter

  • Contributor
  • Posts: 31
  • Country: us
Re: Lastest GM328A
« Reply #3 on: February 11, 2024, 01:17:45 am »
Changed Crystal to 16 Hz ..  messed up screen  :o
 

Online coromonadalix

  • Super Contributor
  • ***
  • Posts: 5876
  • Country: ca
Re: Lastest GM328A
« Reply #4 on: February 11, 2024, 02:07:07 am »
there is a thread about 20$  component tester     i would have been better to post there


and i had some problems with the lates avr dudess 2.4   i reverted on the older 2.3 ...

for some 328  you must have the good selection,  thre is a 328p    and now a 328b  who causes some headackes


so far in the images i see your eeprom and flash reads,  but i dont see the write settings

and did you read the fuses  before any read or write ???   

normally it is the 1st thing to do  ...  you note them,  because on some occasion   the fuses may have a lock bite setup, and the read will be messed up,     

you will need to have the good fuses settings to write or override the read protection ?? 

« Last Edit: February 11, 2024, 02:11:13 am by coromonadalix »
 

Offline carl1961Topic starter

  • Contributor
  • Posts: 31
  • Country: us
Re: Lastest GM328A
« Reply #5 on: February 11, 2024, 02:36:07 am »
Thanks for you post. I have not written to the atmega328p chip, only read what i could, the fuse in pictures is what i read from the chip.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1010
  • Country: by
 

Offline carl1961Topic starter

  • Contributor
  • Posts: 31
  • Country: us
Re: Lastest GM328A
« Reply #7 on: February 11, 2024, 11:13:33 am »
Got My screen back but not right yet, ST7735  TheHWcave settings  New version 1.51m from Markus

EDIT: It was the 16 hz crystal I put in that messed the screen up along with  needing to use SEMI in the config_328.h

#if 1
//#define LCD_ST7735                      /* display controller ST7735 */
#define LCD_SEMI_ST7735                /* display controller SEMI ST7735 */

and putting the 8 hz crystal back




Code: [Select]
#if 1
#define LCD_ST7735                      /* display controller ST7735 */
#define LCD_GRAPHIC                     /* graphic display */
#define LCD_COLOR                       /* color display */
#define LCD_SPI                         /* SPI interface */
/* control and data lines */
#define LCD_PORT         PORTD          /* port data register */
#define LCD_DDR          DDRD           /* port data direction register */
#define LCD_RES          PD0            /* was PD4 <<<TheHWcave port pin used for /RESX (optional) */
#define LCD_CS           PD5            /* port pin used for /CSX (optional) */
#define LCD_DC           PD1            /* was PD3 <<<TheHWcave port pin used for D/CX */
#define LCD_SCL          PD2            /* port pin used for SCL */
#define LCD_SDA          PD3            /* was PD1 <<<TheHWcave port pin used for SDA */
/* display settings */
#define LCD_DOTS_X       128            /* number of horizontal dots */
#define LCD_DOTS_Y       160            /* number of vertical dots */
//#define LCD_OFFSET_X     4               /* enable x offset of 2 or 4 dots */
//#define LCD_OFFSET_Y     2               /* enable y offset of 1 or 2 dots */
//#define LCD_FLIP_X                      /* enable horizontal flip */
#define LCD_FLIP_Y                      /* enable vertical flip */
#define LCD_ROTATE                      /* switch X and Y (rotate by 90°) */
//#define LCD_BGR                         /* reverse red and blue color channels */
//#define LCD_LATE_ON                     /* turn on LCD after clearing it */
/* font and symbols: horizontally aligned & flipped */
#define FONT_10X16_HF                   /* 10x16 font */
//#define FONT_6X8_ISO8859_2_HF           /* 6x8 Central European font */
//#define FONT_8X8_ISO8859_2_HF           /* 8x8 Central European font */
//#define FONT_8X12T_ISO8859_2_HF         /* thin 8x12 Central European font */
//#define FONT_8X16_ISO8859_2_HF          /* 8x16 Central European font */
//#define FONT_10X16_ISO8859_2_HF         /* 10x16 Central European font */
//#define FONT_8X16_WIN1251_HF            /* 8x16 cyrillic font */
//#define FONT_8X16ALT_WIN1251_HF         /* 8x16 alternative cyrillic font */
#define SYMBOLS_30X32_HF                /* 30x32 symbols */
//#define SYMBOLS_30X32_ALT1_HF           /* 30x32 alternative symbols #1 */
//#define SYMBOLS_30X32_ALT2_HF           /* 30x32 alternative symbols #2 */
//#define SYMBOLS_32X32_HF                /* 32x32 symbols */
//#define SYMBOLS_32X32_ALT1_HF           /* 32x32 alternative symbols #1 */
//#define SYMBOLS_32X32_ALT2_HF           /* 32x32 alternative symbols #2 */
/* SPI bus */
#define SPI_BITBANG                     /* bit-bang SPI */
#define SPI_PORT         LCD_PORT       /* SPI port data register */
#define SPI_DDR          LCD_DDR        /* SPI port data direction register */
#define SPI_SCK          LCD_SCL        /* port pin used for SCK */
#define SPI_MOSI         LCD_SDA        /* port pin used for MOSI */
#endif
« Last Edit: February 15, 2024, 03:54:51 am by carl1961 »
 

Offline carl1961Topic starter

  • Contributor
  • Posts: 31
  • Country: us
Re: Lastest GM328A
« Reply #8 on: February 11, 2024, 11:56:13 am »
 Thanks indman
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf