BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Pages: 1 ... 4 5 [6] 7 8 ... 10
 51 
 on: March 21, 2024, 01:31:30 PM 
Started by Craggan - Last post by Rudolph
Ok, I went back and converted Ubuntu-Light.ttf with exactly your settings.
The output is the same, only my "Font Preview" is showing the font at perhaps half the size than in your screen shot.
My .map file has the .xfont at 113536.

I almost copied your code:

Code: [Select]
    if (E_OK == EVE_init_flash())
    {
        EVE_cmd_flashread(MEM_FONT1, 113536, (309|3)+1); /* copy .xfont from FLASH to RAM_G, offset and length are from the .map file */
    }

    EVE_cmd_dl( CMD_DLSTART );
    EVE_cmd_dl(CLEAR_COLOR_RGB(51,51,51));
    EVE_cmd_dl( CLEAR( 1, 1, 1 ) );
    EVE_cmd_dl( VERTEX_FORMAT(0) );
    EVE_cmd_setfont2( 12, MEM_FONT1,       0 );
    EVE_cmd_dl( DL_END ); // does not do anything here
    EVE_cmd_dl( DL_DISPLAY );
    EVE_cmd_dl( CMD_SWAP );
    EVE_execute_cmd();

Code: [Select]
    EVE_cmd_dl( CMD_DLSTART );
    EVE_cmd_dl(CLEAR_COLOR_RGB(0,0,18));
    EVE_cmd_dl( CLEAR( 1, 1, 1 ) );
    EVE_cmd_text( 10,  10, 12, 0, "Quick fox at 120°C ");
    EVE_cmd_dl( DL_END ); // does not do anything here
    EVE_cmd_dl( DL_DISPLAY );
    EVE_cmd_dl( CMD_SWAP );
    EVE_execute_cmd();

And it still works, I get the line displayed at the top of the screen.

I am re-installing EAB now, I may have changed something before.
I redid it all, looks like I either modified EAB or previously did not install from scratch, or both.
The new .glyph file is different for some reason.
But the result is still the same, the line is printed just fine.

 52 
 on: March 21, 2024, 12:03:25 PM 
Started by linuxfan - Last post by BRT Community
Hello,

Unfortunately the development team are unable to share the methodology used to produce the .raw file form the ASTC file at this moment in time.

However it is possible to view .raw files within our EVE Screen Editor utility directly, by adding the .raw file as content, after whihc you can click and drag this onto the screen to generate preview.

Please see the attached screen shot of a .raw file from an 4x4 ASTC conversion being previewed in EVE Screen Editor.

Best Regards,
BRT Community

 53 
 on: March 21, 2024, 07:56:19 AM 
Started by Craggan - Last post by BRT Community
Hi,
Thanks for your update, we are doing some testing and are discussing with our R&D team to understand this issue, and will update very soon,

Thanks Rudolph, we have also passed those to our R&D team, they seem like some good suggestions:

In regards of EAB 2.10.2 I found a couple of things a bit odd.
- why is "Reserve Space" not set as default?
- why is "L8" selected by default for "Extended Format"?
- why is the ASTC set to 4x4 by default instead of a more reasonable 8x8?
- why is this SampleApp generated every single time? can we please have a switch for that which defaults to off?

Best Regards, BRT Community

 54 
 on: March 21, 2024, 06:40:53 AM 
Started by BRT Marketing - Last post by BRT Marketing
🌟 Elevate Your Elevator Experience 🌟
🔍 Got questions about upgrading your elevator design with a Graphical Touch Display?

We've got answers! Get ready to explore FAQs that'll shake up your approach to elevator interfaces:
1️⃣ "Do I need to upgrade the Microcontroller (MCU) in my elevator design to add a color touch-enabled user interface?"
Answers here: https://bit.ly/Bridgetek-FAQ1-Upgrade-MCU-in-Elevator-Design

2️⃣ "How do I use larger fonts for the floor description and number indication on my elevator control panel?"
Answers here: https://bit.ly/Bridgetek-FAQ2-Fonts-for-Elevator-Panel-Floor-Description-Number-Indication

3️⃣ "How can I use full-screen color background images for each floor on my elevator control panel if my MCU has limited Flash available?"
Answers here: https://bit.ly/Bridgetek-FAQ3-Full-Screen-Colour-Background-MCU-with-Limited-Flash

Explore more FAQs like this on our website: https://brtchip.com/faqs

 55 
 on: March 21, 2024, 05:46:16 AM 
Started by linuxfan - Last post by linuxfan
Thank you for your interest.

In fact, my customers already use eab_tools in batch mode, controlled by a custom program written by me.

Problem is, when they send me a converted file to check, I can not see it; and I don't want to ask my customers to send me the source files.

 56 
 on: March 20, 2024, 03:24:00 PM 
Started by Craggan - Last post by Craggan
Meanwhile i changed also to the same fontnumber 12 and string, as you did.



    while( EVE_init() != E_OK );

    EVE_init_flash();

    EVE_cmd_flashread( EVE_RAM_G,  113536, 312 ) ; // Ubuntu 19, multiple of 4
   
    EVE_cmd_dl( CMD_DLSTART );
    EVE_cmd_dl(CLEAR_COLOR_RGB(51,51,51));
    EVE_cmd_dl( CLEAR( 1, 1, 1 ) );
    EVE_cmd_dl( VERTEX_FORMAT(0) );
    EVE_cmd_setfont2( 12, EVE_RAM_G,       0 );
    EVE_cmd_dl( END() );
    EVE_cmd_dl( DISPLAY() );
    EVE_cmd_dl( CMD_SWAP );
    EVE_execute_cmd();
   
   
    EVE_cmd_dl( CMD_DLSTART );
    EVE_cmd_dl(CLEAR_COLOR_RGB(0,0,18));
    EVE_cmd_dl( CLEAR( 1, 1, 1 ) );

    EVE_cmd_text( 10,  10, 12, 0, "Quick fox at 120°C ");

    EVE_cmd_dl( END() );
    EVE_cmd_dl( DISPLAY() );
    EVE_cmd_dl( CMD_SWAP );
    EVE_execute_cmd();   
   
    //trap here
    while(1) {}



I'm using a Riverdi 7" 1024x600 display.

The display starts, Flash is loaded, taken address also from map-file, don't know what going on?


 57 
 on: March 19, 2024, 05:37:42 PM 
Started by TreeOone - Last post by Rudolph
I am trying to reproduce your output but I am not getting up to your number.
I am not using an UTF-8 code to not extra complicate things.

With this:

Code: [Select]
{
    static uint32_t alive = 0;
   
    if(tft_active != 0U)
    {
        EVE_cmd_dl(CMD_DLSTART);
        EVE_cmd_dl(DL_CLEAR_COLOR_RGB | WHITE);
        EVE_cmd_dl(DL_CLEAR | CLR_COL | CLR_STN | CLR_TAG);

        EVE_color_rgb(BLACK);
        for(uint8_t lines = 0; lines < 15; lines++)
        {
            EVE_cmd_text(10, 10 + lines * 30, 28, 0, "123456789!123456789!123456789!");
            EVE_cmd_text(400, 10 + lines * 30, 28, 0, "123456789!123456789!123456789!");
        }

        EVE_cmd_number(150, 570, 28, 0, alive++);

        EVE_color_rgb(BLACK);
        EVE_cmd_number(100, EVE_VSIZE - 30, 26, EVE_OPT_RIGHTX, display_list_size); /* number of bytes written to the display-list by the command co-pro */

        EVE_cmd_dl(DL_DISPLAY);
        EVE_cmd_dl(CMD_SWAP);
       
        EVE_execute_cmd();
    }
}

I do get 15 lines of text just fine, no problem.
But I "only" get 5284 printed for the size of the display list.
Increasing the lines to 19 this passes 7000 depending on the value of the alive counter.
And yes, still no issue.

Modifying the loop to this:
Code: [Select]
    for(uint8_t lines = 0; lines < 16; lines++)
    {
        EVE_cmd_text(10, 10 + lines * 30, 28, 0, "123456789!123456789!123456789!123456789!");
        EVE_cmd_text(490, 10 + lines * 30, 28, 0, "123456789!123456789!123456789!123456789!");
    }

It gets up to 8052 - no issue.

Modifying the alive counter to run from 1000 to 9999 to avoid extra digits and adding one extra line:
EVE_cmd_text(10, 540, 28, 0, "123456789!123");
Results in a display list of 8184 bytes.

So well yes, I need more text to get there, but like this I can really use the full display list.
No flickering, just works this way.

 58 
 on: March 19, 2024, 04:56:59 PM 
Started by linuxfan - Last post by BRT Community
Hello,

Thank you for your question, I have queried the development team on the relationship between the .astc and .raw outputs when performing an ASTC image conversion.

You can find the astcec.exe utility and eab_tools.exe utility within the installation folder for EAB, generally this is in the following location:

C:\Users\Public\Documents\EVE Asset Builder\tools

Best Regards,
BRT Community

 59 
 on: March 19, 2024, 03:48:55 PM 
Started by TreeOone - Last post by BRT Community
Hi Rudolph,
We checked with a 7" 1024x600 and also with a 10.1" 1280x800 screen.
Here is an example on the 10.1" screen

Best Regards, BRT Community

 

 60 
 on: March 19, 2024, 12:24:27 PM 
Started by Craggan - Last post by Rudolph
As I just got a new company style guide to comply with I went thru a number of different fonts and font-sizes today using EAB 2.10.2.
I am using the fourth flash image now with only Roboto font in sizes 12/14/16/18/20/22/24/26/28.
I also tried Ubunto-Light, a couple of other fonts and using odd sizes 19/21/23/25/27.

And well, it just works in all sizes.
My input character file is this:
" !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~©«°±²³´µ¹»¼½¾ÄÖ×Üßäëö÷øü"
So only "Basic Latin" and a selection from "Latin-1 Supplement".


I encountered three "issues".
First one was that EAB 2.10.2 is using the correct size for the .xfont files now and adds a meta-file .pad in between the entries.
And at first I just copied the size for the .xfont file from the .map and used it with CMD_FLASHREAD - but the number of bytes read must be a multiple of 4.
In earlier versions of EAB there was no .pad and the .xfont ended up beeing shown with a size of 320 bytes.

My second issue was that I tried to use bitmap handle 15 for one of the fonts, just counting up from 12, which does not work by default as this is the scratch bitmap handle.

And my third issue was that the bandwith of the external flash is of course limited, even more so with random access, so I can not use the six fonts I set up for display from the external flash at the same time.
Well, I could use the font-cache for at least the largest font and copy all 9 fonts to RAM_G as the flash image is only 275kiB (copying the .glyph to RAM-G also requires to adapt the .xfont file to use the new memory location).
But this is not a real project anyways.

Edit: I tried a couple of things including over-clocking (looked stable at 96MHz but I went back to 72MHz)
I set REG_AH_HCYCLE_MAX to 4000 and now I have the line "Quick fox at 120°C" printed out in six different sizes: 18/20/22/24/26/28 and reading REG_FRAMES once per second and calculating the delta to the previous value shows rather stable 58 to 59.
So that really makes the last point a non-issue as well, even without copying any of the .glyph files to RAM_G.



In regards of EAB 2.10.2 I found a couple of things a bit odd.
- why is "Reserve Space" not set as default?
- why is "L8" selected by default for "Extended Format"?
- why is the ASTC set to 4x4 by default instead of a more reasonable 8x8?
- why is this SampleApp generated every single time? can we please have a switch for that which defaults to off?

Pages: 1 ... 4 5 [6] 7 8 ... 10