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.

Messages - b2mishra

Pages: [1]
1
I am using the 128 MBit one (16MB).

The idea is to allow a user to update the content from a USB drive. I will give CMD_FLASHUPDATE a try.
But based the numbers you provided, it might take a lot longer to update if it actually has to erase the existing sector.

2
I timed it, and it is actually taking 102secs every time to erase.
I am calling the following function to erase the flash:

Code: [Select]
/* Erase entire flash */
void Gpu_CoCmd_FlashHelper_Erase(Gpu_Hal_Context_t *phost)
{
  Gpu_CoCmd_FlashErase(phost);
  App_Flush_Co_Buffer(phost);
  Gpu_Hal_WaitCmdfifo_empty(phost);
}

3
Discussion - EVE / Updating basic text on screen while Erasing Flash
« on: June 03, 2020, 02:41:03 PM »
Display: Matrix Orbital EVE3

I am trying to update the Flash on the display from my MCU.
Erasing and Writing seem to work fine.

My problem is, it is a 16MB flash, and takes more than 1 minute to erase.
While erasing, I can not update anything on the screen to show that Erasing is in progress.
Is there a way to speed up this process, or do erases in smaller blocks instead of a full flash erase, so that I can update basic text on the display?


4
Discussion - EVE / Displays with EVE3
« on: January 13, 2020, 09:38:51 PM »
I am looking for a list of display manufacturers using BT815/6. I found Riverdi, and Matrix Orbital.
Are there any other manufacturers?

5
Discussion - EVE / Displaying Video
« on: November 04, 2019, 04:27:16 PM »
HI,

I am trying to display a small video as part of my splash screen. I used EVE Asset Builder to convert my video, and loaded it in to flash.
The sample C code generated looks a little confusing.
Do I need anything other than the following code to display the video?
I think I am missing some initialization.

 
Code: [Select]
/* Switch Flash to FULL Mode */
Gpu_CoCmd_FlashHelper_SwitchFullMode(&host);
Gpu_Hal_Wr32(phost, REG_PLAY_CONTROL, 1);
Gpu_CoCmd_Dlstart(phost);
App_WrCoCmd_Buffer(phost, CLEAR(1, 1, 1));
App_WrCoCmd_Buffer(phost, COLOR_RGB(255, 255, 255));

Gpu_CoCmd_FlashSource(phost, ADDR_VIDEO);
App_WrCoCmd_Buffer(phost, CMD_PLAYVIDEO);
App_WrCoCmd_Buffer(phost, OPT_FLASH | OPT_SOUND | OPT_NOTEAR);
App_Flush_Co_Buffer(phost);
Gpu_Hal_WaitCmdfifo_empty(phost);

6
Discussion - EVE / Re: BT815 and custom fonts in SPI flash
« on: October 07, 2019, 04:34:09 PM »
Hello,

Is there a sample file for the "Characters to be converted" for Generating Font?
I am not sure how exactly that works, and I have not been able to get it to work yet. 

Thanks

7
Discussion - EVE / Re: implementing support for formated strings
« on: October 04, 2019, 03:59:01 PM »
The library function Gpu_CoCmd_Text() takes care of the va args. It sends one parameter at a time.
Code: [Select]
void Gpu_CoCmd_Text(Gpu_Hal_Context_t *phost, int16_t x, int16_t y, int16_t font, uint16_t options, const char8_t* s, ...)
{
  va_list args;
  uint8_t i, num=0;
  uint8_t len = strlen(s);

  va_start(args, s);

#ifdef BT81X_ENABLE
  num = (options & OPT_FORMAT) ? (COUNT_ARGS(s)) : (0);
#endif

  Gpu_CoCmd_StartFunc(phost, CMD_SIZE * (3+ num) + ((len + 1 + 3) & ~3));
  Gpu_Copro_SendCmd(phost, CMD_TEXT);
  Gpu_Copro_SendCmd(phost, (((uint32_t)y << 16) | (x & 0xffff)));
  Gpu_Copro_SendCmd(phost, (((uint32_t)options << 16) | (font & 0xffff)));
  Gpu_CoCmd_SendStr(phost, s);

  for (i = 0; i < num; i++)
    Gpu_Copro_SendCmd(phost, (uint32_t)va_arg(args, uint32_t));

  Gpu_CoCmd_EndFunc(phost, CMD_SIZE * (3+ num) + ((len + 1 + 3) & ~3));
  va_end(args);
}

8
Discussion - EVE / EVE Asset Builder Image Converter Sample Code
« on: September 18, 2019, 01:58:36 PM »
The sample code generated by EVE Asset Builder after converting an image, works only for ASTC format. It does not work with other formats.
As per the programming guide (Section 4.12):
Quote
However, only bitmap data of ASTC specific format can be rendered directly from flash memory. For the bitmap data of any non-ASTC specific format in flash memory, CMD_FLASHREAD is required to copy the data from flash into RAM_G so that EVE can render it correctly.

Code: [Select]
Gpu_CoCmd_FlashHelper_SwitchFullMode(phost);
Gpu_CoCmd_SetBitmap(phost, (0x800000 | BITMAP_ADDRESS_ON_FLASH / 32), format, iw, ih);

Is this a bug in the tool?

Pages: [1]