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

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Elmryn

#1
Hi,

is it anyhow possible that CMD_FILLWIDTH can handle '\n' in a way, that it starts the line-break-stuff new?

Example:

std::string my_string = "Please do some stuff here and there.\n\nAnd now do print something with a blank line above.";


With the \n\n I want a blank line between the two sentences.
But when I use CMD_FILLWIDTH, the bt815 seems not to start its calculations new after a \n. This leads to a result like this:

Please do some
stuff here and
there.

          And now
do print ...


What I want is this:

Please do some
stuff here and
there.

And now do print
...

Is this anyhow possible with CMD_FILLWIDTH?
#2
Hello,

I want to know, if it is in any way possible to put a custom defined variable into the flash-image, so that when BT815 starts, it can detect, which version of flash image is running and thus can decide if it will update the flash or not?

Example:
1. MCU-Firmware has the bt815-flash image included version 01.
2. We make an OTA update with a new bt815-flash image -> version 02.
3. on startup bt815 reads out version-number of bt815-flash image. If version == 01 -> updates the flash-image. If version == 02 -> nothing to do here.

Can we put the version-number or some other custom information with the EAB into the flash-image?

Best
#3
Hello,

I am new to working with an BT815 and consitently experience display artifacts when trying to display text in a custom font in a specific way. The font works properly as long as I only use a single font. As soon as multiple fonts are overlapping it starts flickering and displaying the artifacts.

I load the fonts from flash(glyphs in flash, xfont in ram_g) and set them with the EVE_CMD_SETFONT2 command.
All of the fonts are ~800KB in total right now(might be even more in the future), but still working on and finding new ways to make this less.

Since the code I use in the actual application is quite complex, I produced a minimal version of this, where this issue is still coming up:

    EVE_LIB_BeginCoProList();
    EVE_CMD_DLSTART();
    EVE_CLEAR_COLOR_RGB(0, 0, 0);
    EVE_CLEAR(1, 1, 1);
    EVE_VERTEX_FORMAT(0);

    EVE_CMD_TEXT(0, 0, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
    EVE_CMD_TEXT(0, 0, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
    EVE_CMD_TEXT(0, 0, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
    EVE_CMD_TEXT(0, 0, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");

    EVE_DISPLAY();
    EVE_CMD_SWAP();
    EVE_LIB_EndCoProList();
    EVE_LIB_AwaitCoProEmpty();


But this is working

    EVE_LIB_BeginCoProList();
    EVE_CMD_DLSTART();
    EVE_CLEAR_COLOR_RGB(0, 0, 0);
    EVE_CLEAR(1, 1, 1);
    EVE_VERTEX_FORMAT(0);

    EVE_CMD_TEXT(0, 0, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
    EVE_CMD_TEXT(0, 100, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
    EVE_CMD_TEXT(0, 200, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
    EVE_CMD_TEXT(0, 300, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");

    EVE_DISPLAY();
    EVE_CMD_SWAP();
    EVE_LIB_EndCoProList();
    EVE_LIB_AwaitCoProEmpty();


I found a Problem in the forum, which sounds like the problem I have, so the bandwidth could be the issue here(but the font loaded in that topic is way bigger, only a single font and the topic seemed stale - with a warning to post there):
http://www.brtcommunity.com/index.php?topic=298.0

The solutions over there did not work for me or are not feasible, more details to me trying out the solutions:
- turning on adaptive frame rate did not do anything, the display does not support it
- adaptive HSync is sadly not available on BT815
- loading the font from RAM_G -> I would like to avoid it, because I need to load a couple of fonts, which will use up too much space, because I also need a broad spectrum of characters for different languages and there are already icons in RAM_G to avoid this problem when loading icons/image.
- flash IC is already in FULL state
- switching to BT817 is not possible right now, too many devices to replace

I am very thankfull for ideas on how to handle this issue and maybe someone can verify this problem for me, just in case I was not smart enough to load the font properly or the issue lies somwhere else entirely.

Im still hoping I dont have to work around the issue, but we will see.

Best
Elmryn