Replies: 5 comments 11 replies
-
Ok, as a baseline I just went thru the necessary steps and modified the minimal Arduino example I uploaded yesterday. This is the updated example code: The EVE code is this:
// EVE_execute_cmd(); /* wait for EVE to be no longer busy */ And it displays the image from flash.
You need to use .raw as the .bin files are zlib compressed after the conversion to ASTC.
This is correct and due to that CMD_SETBITMAP is using a block address for the flash: Going over your source you are missing a call to EVE_init_flash() to put the flash in state full: Add that to TFT_init() and fix the address issue and it should work. |
Beta Was this translation helpful? Give feedback.
-
Thank you for such a quick and detailed reply. Unfortunately it is not finish of my problems, I have one more with touch. Code now looks like:
I tried using touch on both graphics (giving them tags:1, 2, 3, 4) and adding a separate button (tag=20), but none of them work.
Are never met.
Have you encountered it more often that someone has hardware issues with displays from riverdi? Do you recommend trying to change the configure registers? I ride in DS that my display RVT50HQBNWC00-B : I tried it changing TFT_touch() to:
And it still does not work: Have you got any idea what I am doing wrong? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I accidentally closed the discussion and I can't change it without adding another post. |
Beta Was this translation helpful? Give feedback.
-
Yes, it was a hardware problem. I ordered a second display and now it works fine. But it probably shouldn't work without fixing the errors with your help. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Thank you for letting me know, at least this is a solution. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm using STM32F407 and RVT50HQBNWC00-B from riverdi.
I tried to use your library in my project and examples work fine. Moreover, I can load own image to RAM_G and print them from RAM_G, but I can not print image from external flash which is in display. I don't know if the problem is with my using EVEAB or with my using your library.
I read #36 and make printing from flash almost the same, but it doesn't work.
On the screen doesn't show anything from flash. I was trying to read an image from flash to RAM_G and print them on screen from RAM_G but only about 10% of picture are loading. I was trying to do it in "normal" mode and burst one.
Not only that, but I have some questions:
-Should I use compressed .bin files or .raw to upload on FLASH?
-Why user pink-fr3ud in discussion #36 use dividing by 32 the flash address:
EVE_cmd_setbitmap_burst(0x800000 | (gauge.addressFlash / 32), gauge.format, gauge.w, gauge.h);
Let me present my action and code, maybe you or someone else will find a mistake in it:
In EVEAB I'm uploading two images .jpg 304x304 and 200x120, once without compression and once with compression, using format COMPRESSED_RGBA_ASTC_8x8_KHR:
In EVAB I'm generating flash image:
.edf file:
In EVAB I'm programming flash using button "UPDATE&VERIFY"
And now I'm trying to display it on screen using this code:
There are a lot of attempts to display images in the code, because I tried many ways, but none of them work. Could you please tell me what I am doing wrong?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions