2020-04-21 06:46 AM
Hey there,
I have a strange problem with my custom keyboard.
In the simulator everything looks and works fine. See image:
But when I download it to my target, following screen is presented:
The touch events and the active rectangle are correct and the correct values are shown in the text area. See following image:
When touching e.g number 2, the overlapping numbers disappear. See:
There seems to be a problem with displaying the numbers, the overall functionality seems to work.
Any ideas what's happening here?
Thanks a lot.
/jimmii
2020-04-27 09:47 PM
Thanks Martin.
That would be great.
Cheers,
/jimmii
2020-04-28 04:17 AM
Hey @Martin KJELDSEN
I did some tests with different compiler optimization levels.
When changing the levels, I get different "error patterns".
E.g changing to -O2 with Link-time Optimization, the digits are at the correct position, but the button touch areas are all over the place.
In short, compiler settings have impact on how the screen is presented.
Ever experienced something similar?
Maybe this hint could help to reproduce the error.
To make sure what I'm using:
Keil uVision with ARM Compiler V6.13.1 and the touchgfx_core_clang.lib which you provided.
Regards,
/jimmii
2020-04-30 07:00 AM
Hey @Martin KJELDSEN ,
Any news / luck on this?
Thanks a lot!
/jimmii
2020-04-30 07:22 AM
Hi Jimmii,
Not yet. Scrambling to find a few minnutes to take a deeper look at it : ) I have the project on disk, though!
2020-04-30 10:26 AM
Just a quick update - i tried the project (simulator in designer) but it's giving me a lot of include-path issues. Seems you're including headerfiles from the root of the application instead of relative to the TouchGFX application. You're not having issues with this? e.g.
#include <TouchGFX\gui\include\gui\containers\KeyboardNumeric.hpp>
instead of the following (because "gui\include\" relative to the root of the application is on the include path for the gcc simulator makefile)
#include <gui\containers\KeyboardNumeric.hpp>
/Martin
2020-04-30 10:38 AM
hi @Martin KJELDSEN
no, never had an issue.
/jimmii
2020-05-05 09:59 PM
Hi @Martin KJELDSEN
Did you find some time to have a look at it?
Thanks.
/jimmii
2020-05-06 01:27 AM
After having trouble with your simulator project i haven't looked at it further. Regardless, i'm sure i won't seen an issue there like you don't. And i don't have your custom board. Maybe it's something to do with initialization. - The configuration is something in the global namespace, or static, i think? Try playing around with not using this kind of configuration but do something else just to test that you can place your texts correctly.
/Martin
2020-05-06 01:34 AM
Thanks @Martin KJELDSEN
Ok. I'll play around. What do you mean by "configuration"?
2020-05-06 03:59 AM
The "Keyboard layout"-configuration