Skip to content

Commit

Permalink
Version 1.0.2
Browse files Browse the repository at this point in the history
- fixed controller buffer partial overwrite issue with GDE060F3 or GDEW080T5 (higher buffer base address)
  • Loading branch information
ZinggJM committed Jul 9, 2020
1 parent d36b1d2 commit 5406ec3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ E-Paper display library for Arduino for HD parallel interface displays from Dali
- CPU Speed(MHz): "72MHz (Normal)"
- Upload method: "STLink"

### Version 1.0.1
### Version 1.0.2
- fixed controller buffer partial overwrite issue with GDE060F3 or GDEW080T5 (higher buffer base address)
#### Version 1.0.1
- added GxGDE060F3 for panel GDE060F3 6" 1024x758
- uses my Adafruit_GFX clone GFX from my library GFX_Root, available by Library Manager
- search for GFX_Root in Library Manager to install GFX_Root
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=GxEPD_HD
version=1.0.1
version=1.0.2
author=Jean-Marc Zingg
maintainer=Jean-Marc Zingg
sentence=Display Library for HD e-paper panels and boards from Dalian Good Display.
Expand Down
4 changes: 3 additions & 1 deletion src/GxDESP32T/AVT6203A.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
#include "MCP23S17.h"

#define EPD_WF_ADDR (0x3000)
#define EPD_IMG_ADDR (0x200000)
//#define EPD_IMG_ADDR (0x200000) // original, @2MB, midlle of RAM, gets partly overwritten for GxGDE060F3, GxGDEW080T5
//#define EPD_IMG_ADDR (0x240000) // @2.25MB, minimum for GxGDE060F3, GxGDEW080T5
#define EPD_IMG_ADDR (0x280000) // @2.5MB, ok for GxGDE060F3, GxGDEW080T5

#define EPD_MODE_INIT 0
#define EPD_MODE_DU 1
Expand Down
4 changes: 3 additions & 1 deletion src/GxDESP32T_BP/AVT6203A_BP.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
#include "STM32F103C8T6_IO.h"

#define EPD_WF_ADDR (0x3000)
#define EPD_IMG_ADDR (0x200000)
//#define EPD_IMG_ADDR (0x200000) // original, @2MB, midlle of RAM, gets partly overwritten for GxGDE060F3, GxGDEW080T5
//#define EPD_IMG_ADDR (0x240000) // @2.25MB, minimum for GxGDE060F3, GxGDEW080T5
#define EPD_IMG_ADDR (0x280000) // @2.5MB, ok for GxGDE060F3, GxGDEW080T5

#define EPD_MODE_INIT 0
#define EPD_MODE_DU 1
Expand Down
5 changes: 5 additions & 0 deletions src/GxDESTM32T/AVT6203A.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,11 @@ void AVT6203A::avt_init()
avt_info_str("\r\nCheck Register MA[31:16] updated by UPD_SET_SETADR: addr 0x0312, value ");
avt_info_hex(avt_rd_reg(0x0312));

avt_info_str("\r\nCheck Register MA[15:0] addr 0x0314, value ");
avt_info_hex(avt_rd_reg(0x0314));
avt_info_str("\r\nCheck Register MA[31:16] addr 0x0316, value ");
avt_info_hex(avt_rd_reg(0x0316));

avt_ld_img(EPD_DATA_8BPP);
avt_info_str("\r\nLD_IMG is sent!");
avt_info_str("\r\nCheck Register ARG[15:0] updated by LD_IMG: addr 0x0140, value ");
Expand Down
4 changes: 3 additions & 1 deletion src/GxDESTM32T/AVT6203A.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
//#define GDE060F3 // GDE060F3 6.0" 1024*758

#define EPD_WF_ADDR (0x3000) //����ֽģ�����������ļ���SPI_FLASH����ʼ��ַ
#define EPD_IMG_ADDR (0x200000) //����ͼƬ������RAM����ʼ��ַ
//#define EPD_IMG_ADDR (0x200000) // original, @2MB, midlle of RAM, gets partly overwritten for GxGDE060F3, GxGDEW080T5
//#define EPD_IMG_ADDR (0x240000) // @2.25MB, minimum for GxGDE060F3, GxGDEW080T5
#define EPD_IMG_ADDR (0x280000) // @2.5MB, ok for GxGDE060F3, GxGDEW080T5

#define EPD_MODE_INIT 0
#define EPD_MODE_DU 1
Expand Down

0 comments on commit 5406ec3

Please sign in to comment.