Search Results

Search results 1-20 of 28.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi, I am working on displaying images from external memory. I am having problems displaying the complete picture. I can display image up until 170*240, after which when I try to expand x value I see white background and nothing else on the LCD. Please see the below code and image attached with this thread. Could someone tell me what I could be doing wrong? P.S: I have tried displaying images on buttons using the same functions and it works. C Source Code (229 lines)Thanks and regards, BMD

  • ICONVIEW and External memory nOS

    bio_med - - emWin related

    Post

    Florian/Sven, Could you please help me understand how to display different images assigned to different icons from external memory?? So far, I can only see same image on all the icons. I couldn't find anything on the forum regarding this as well. Any hint will be greatly appreciated. Thanks and regards, BMD

  • ICONVIEW and External memory nOS

    bio_med - - emWin related

    Post

    Hi, I was able to make the modifications but I am not able to set the index to display different icons. Could you please see the code and tell me how to do that so I am able to display all the Icons as required? C Source Code (276 lines)Appreciate all the help! Thanks and regards, BMD

  • ICONVIEW and External memory nOS

    bio_med - - emWin related

    Post

    Florian, What I meant to say was the referred link has usage of code that are used for windows. Since I am not using any OS, I am not able to use some features so I modified it to fit my needs but it still doesn't seem to work. I have attached the code I am working on, could you please take a look at it and let me know what I am doing wrong? Best regards, BMD C Source Code (220 lines)

  • ICONVIEW and External memory nOS

    bio_med - - emWin related

    Post

    Hi, forum.segger.com/index.php/Thr…hlight=Iconview#post16659 I found this link and that is exactly what I am trying to do but for a system with no OS. Could you please help me find a sample code for nonOS system. Best regards, BMD

  • Reading from SD card

    bio_med - - emWin related

    Post

    Florian, I converted images to bitmap using bitmap converter. Is there a requirement for the file size/IS there a certain way to do it? I am using M565 so I open files through bitmap converter and convert it to 16 bit color 565 and save as *.bmp. I followed same steps for converting all the images. I converted two images and be able to display the image that is 8kB but can't display the image with 80kB. Is this something regarding how memory is set up? Should I make any changes in the configurat…

  • Reading from SD card

    bio_med - - emWin related

    Post

    Florian, I am trying to implement the examples you gave me, images seem to overlap. Is there a way to set things somewhere that helps display picture without overlap. Please see attached overlap image and the image that shows how it is supposed to look like. I look forward to hearing your thoughts on this. Best regards, BMD

  • Reading from SD card

    bio_med - - emWin related

    Post

    Florian, Thank you so much for the response. I will try these examples. Best regards, BMD

  • Reading from SD card

    bio_med - - emWin related

    Post

    Hi, I am trying to display images from SD card using SPI. I saw several example code but none of them seem to work. I have included emFile and emWin paths under build settings. Also, when I was trying to use sample codes that are available on this forum, some declaration were not possible such as DWORD, HANDLE. Am I missing to include some header files? I have been using FS.h. If someone who has worked on it can share their sample code to display images without OS and using emfile that would be …

  • emWin and emFile

    bio_med - - emFile related

    Post

    Hi, I am working on a project that uses 320X240 TFT LCD. I am using emWin to design graphics. Recently I found emFile can be used to access file system on SD card. I already have paths set for emWin library in build settings. My question is: Can I add both emWin and emFile to the build settings? Is this the right way to do it? Note: I am using emFile for the first time and it's a little confusing to be using both emWin and emFile and I am still reading up on it. Any help is appreciated. Thanks a…

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Florian, Thank you so much for confirming that for me. Best regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Quote from bio_med: “I thought the same, that images could cause this memory issue. But when I took out the images and all the I had in the code was just GUI_Init() and GUI_Delay(), the memory consumption was 16% i.e 47 KB of ROM. Is this how much it usually takes or does this seem unusual? ” Can anybody confirm this for me please? Thank you, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Quote from SEGGER - Schoenen: “Unfortunately, I don't have access to Cypress Semiconductors evalboard. so I can't reproduce it. ” Actually you don't really need an eval board. You could just reproduce it on PSoC creator software to see how much ROM is being used during compile. Best regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Thank you for your response. I thought the same, that images could cause this memory issue. But when I took out the images and all the I had in the code was just GUI_Init() and GUI_Delay(), the memory consumption was 16% i.e 47 KB of ROM. Is this how much it usually takes or does this seem unusual? Regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Hi Sven, Just trying to see if you were able to work on those files. Did you find something on those files that would help us reduce the memory consumption? Thanks and regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Thank you for your response. Quote from SEGGER - Schoenen: “Where do you get the emWin library from (ST, NXP, Reneses, etc.) ” Cypress Semiconductor. Quote from SEGGER - Schoenen: “Can you send me your configuration files (GUIConf.c/.h and LCDConf.c/.h)? ” Sure. Please see attached. Thanks and regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Hi, I am using emWin library for Graphic interface. Currently I have designed a screen with an image, 8 Icons and few numbers on the screen. I have a processor with 256KBytes of memory. When I compile the code, I see that my code occupies 90% of the program memory. I have checked the resource usage and the icons with screen should not be taking up so much memory. I commented the screen with just GUI_Init() and GUI_Delay() in the code and it occupies 16% of the memory. 1. Can someone explain what…

  • Multiple Buffering

    bio_med - - emWin related

    Post

    Hi Florian, Thank you for your response. I understand. But how do you switch between the buffers? Best regards, BMD

  • Multiple Buffering

    bio_med - - emWin related

    Post

    Hi, I am currently working on Multiple Buffering. I am trying to write to a buffer in the background and display another buffer that's already being written. Is there an example code which I can refer to? I really appreciate all your help. Thanks and regards, BMD

  • Window

    bio_med - - emWin related

    Post

    Thank you. But what if I have more than one button on the display, do I need to write separate functions for each button created? . For example, I have touch calibration and O2 cell. The code above is for touch. Do I need to write a different code for O2 cell in another c file? I am jus t trying to understand how emWin works and it's so different from the rest of the tools. Also, what if you want to call a function inside another function? Much appreciate all the help. Best regards, BMD