Jump to content

Arvind

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I am trying to interface my LB060X01-RD01 eink display with an STM32L152 processor and was successfully able to use the existing driver for ED060SC4 to display content on the display. Here, I am able to successfully displays strings and other graphics on the display, however I am facing issues on using the function: gdispFillArea(); This function works for smaller values of cx and cy, however when large values are used like cx=100 and cy=100, the program resets. For example: gdispFillArea(6, 64, 50 , 100, 1); will successfully fill the area of the eink display with white. But, gdispFillArea(6, 64, 60 , 100, 1); will result in the program resetting itself. In brief, whenever the values of cx and cy are higher than a particular limit, the program resets. What maybe causing this, or how can I find a solution? Thank you.
  2. Hi Joel, thank you so much for your help. I was able to find the action for postinit() in _gdispPostInitDriver() in gdisp_driver.h. I was able to sort out why the program halted after: if (vmt->postinit)vmt->postinit(pd);//Stops here It was due to a dual definition of: GDISP_STARTUP_LOGO_TIMEOUT in gdisp.c and gfxconf.h However, now after changing the resolution the new problem is that the program halts after these lines in function: fillarea(GDisplay *g) in gdisp.c: for(; g->p.y < y1; g->p.y++, g->p.x = x0) for(; g->p.x < x1; g->p.x++) gdisp_lld_draw_pixel(g);//Stops after this g->p.y = y0; The program halts whenever the function: gdispFillArea() is called. The function: gdisp_lld_draw_pixel(g); itself doesn't halt, the program halts just after the main for loop.
  3. Hello, thanks for supporting. However, I could not find that routine: gdisp_lld_postinit() anywhere in my driver files or even workspace, I could only see: gdisp_lld_init(). In which file is that routine declared?
  4. Hello, I am trying to interface my LB060X01-RD01 eink display with an STM32L152 processor and was successfully able to use the existing driver for ED060SC4 to display content on the display. However, the ED060SC4 driver is for 800*600 resolution but my LB060X01-RD01 eink screen has a resolution of 1024*768. As of now, only 800*600 portion of the display can be utilised, but when I try to change the resolution for the display in the file gdisp_lld_ED060SC4.c in the foll lines: #ifndef GDISP_SCREEN_HEIGHT #define GDISP_SCREEN_HEIGHT 760 #endif #ifndef GDISP_SCREEN_WIDTH #define GDISP_SCREEN_WIDTH 1020 #endif The program stops working. It resumes working when I change the resolution back to 800*600, the interesting thing is that other combinations of resolution works, for example 1020*600 is a resolution that works as well as 760*840 and 640*920. I was also able to learn that the program stops responding precisely in gdriver.c after this line: if (vmt->postinit) vmt->postinit(pd);//Stops here This is called through the function _gdispInit() in gdisp.c, which in turn is called from gfxInit(). Can you please tell me how I can increase the resolution in this driver to 1020*760 and what the function: vmt->postinit(pd); does and where its action is defined. Thank you.
×
×
  • Create New...