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

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.

Topics - Maxzillian

Pages: [1]
1
Discussion - EVE / Word wrapping?
« on: January 12, 2024, 11:02:21 PM »
Using a BT816 and I've come across an interesting problem. By and large word wrap works as expected, but that dastardly German language has reared its head and proving that nothing is ever simple. I've got some German words that are just ludicrously long. For instance, "Druckregelungsmagnetschalter". Nearly every other language I can get to fit on our screen, but thanks to the German tendency to turn a short phrase into a single word I've got text scrolling off either end of the visible screen.

Are there any options within the EVE engine to handle automatic hyphenation and word-wrap for situations like this? I've tried adding a hyphen at a good point within that word, but the Fill option doesn't handle or observe it. I hate to make our text even smaller because it's already on the margin of hard to read. Otherwise the only other option I have is to perhaps insert a line return into the string.

2
Discussion - EVE / Graphics engine freezing
« on: November 30, 2023, 06:33:49 PM »
I have a somewhat random problem where the graphics engine appears to be freezing. Before generating and swapping a new display list I'm checking REG_DLSWAP, REG_ID and REG_CMD_READ to monitor for errors and reset as needed. Something I'm getting pretty often at this point is that REG_DLSWAP is getting stuck with a value of 2 on a particular page in my UI. When this happens the display goes black or blank.

This page isn't terribly special with this particular behavior appearing to revolve around a command to draw a string of text of 55 characters with a few line returns. Nothing too crazy, but I have seemingly narrowed the behavior down to this particular string.

Anyway, per the documentation I'm giving the display some time to recover and polling REG_DLSWAP, but after about a half second I've got it programmed to time out and just do a hard reset of the EVE IC (pulling down PD to reset and then running all the same code that is ran at boot). At no time am I getting a Co-Processor fault and I've checked REG_CMD_READ and REG_CMD_WRITE to verify their positions are equal when this occurs.

Unfortunately this is a real bear to replicate as it can go a few minutes between failures and sometimes as much as half an hour. I half wonder if I'm getting some errant data on the SPI bus, but  I would expect to see some co-processor faults if that were the case.

What should I be looking for to delve into this further? Is there a more graceful way to recover from this than resetting the whole EVE IC?

Pages: [1]