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 - Kaetemi

Pages: 1 [2]
16
The error
Code: [Select]
Failed to load flash library means that mx25lemu.dll is missing.

17
Discussion - EVE / Re: ESD with rtos threadx
« on: March 24, 2021, 01:39:47 AM »
The screen update loop needs to run at least once per 16ms (that is, once per frame) to have smooth 60Hz UI updates.

Animations that run on the coprocessor (fullscreen video and progress spinners) don't require updates from the update loop, and remain smooth even if the update loop is blocked. (So you can use AVI video playback or the builtin progress spinners to entertain the user while doing heavy tasks on the mcu.)

18
Discussion - EVE / Re: Eve Screen Designer Language support
« on: March 10, 2021, 07:27:56 PM »
There's currently no built-in support for language switching, but you can expose a set of global const char * in a C source file, along with some functions to assign them. Then connect those variables to the text inputs in the logic editor. The EVChargePoint example implements it this way.

19
Discussion - EVE / Re: ESD with rtos threadx
« on: March 10, 2021, 07:20:36 PM »
In App.main, create an event slot named either "Idle" or "Update", and connect it to a C function that processes your message queue.

"Idle" will be called repeatedly when the ESD thread is waiting for EVE (frame swap, loading, etc.)
"Update" will be called once inbetween frames.

Depends on your requirements. "Update" is safest.

20
Discussion - EVE / Re: Bug: invalid options in commands are handled badly
« on: September 09, 2020, 01:26:28 PM »
any other options makes EVE fail.

Actually, the coprocessor will flag a fault.
"ERROR: illegal option in cmd_toggle()"
It's rather strict on invalid commands since BT815.

Maybe a register option to make it more lenient could be handy in future versions?

21
Discussion - EVE / Re: ESD 4.8 - STM32 - Image
« on: September 05, 2020, 09:13:50 PM »
FlashAddress loading is for loading from the flash that's connected to the BT815 GPU directly, not for CPU flash.

I'm not familiar with STM32. Is the flash directly memory-addressable, or does it go through a specific interface? There's a loading mechanism for loading from memory in Esd_ResourceInfo, but it's not been carried over to Esd_BitmapInfo yet.

22
Discussion - EVE / Re: Eve Screen Designer - 480 x 272 resolution
« on: September 05, 2020, 09:04:08 PM »
Which version of ESD is this? This should be listed as WQVGA.

23
Discussion - EVE / Re: CoProcessor faults and REG_CMDB_SPACE
« on: September 05, 2020, 09:02:52 PM »
REG_CMDB_SPACE is always set to (REG_CMD_READ - REG_CMD_WRITE) & 0xfff.

(REG_CMD_READ - REG_CMD_WRITE - 4) & 0xfff

24
Discussion - EVE / Re: EVE Asset Builder
« on: March 18, 2019, 01:42:27 AM »
'The "notempty.bin" and "output.bin" are exactly the same for the length of "output.bin".'

Yes, of course, this does include the first 4k.
To clarify, are the first 4k bytes identical in all three of (1) the flash image, (2) the firmware blob, and (3) the read out data?

25
Discussion - EVE / Re: EVE Asset Builder
« on: March 12, 2019, 10:45:47 AM »
You can supply the newblob command alongside the update command, to write a specific blob, as follows:
Code: [Select]
progflash newblob "unified.blob" update "flash.bin"
Can you verify if the blob in your flash binary (first 4096 bytes) is identical to the stock blob that you're writing?

26
Discussion - EVE / Re: BT81x and VERTEX2F
« on: February 18, 2019, 01:33:23 PM »
So imagine a VERTEX_FORMAT(1, 0) that would individually set the precision of your X and Y coordinates. You'd be able to align both your coordinates to the byte boundary, and just mask away the stray precision bit. That may be simpler than having a special purpose vertex format.

Is bit shifting an expensive operation on your target platform?

27
Discussion - EVE / Re: ASTC viewer?
« on: February 18, 2019, 01:23:31 PM »
If the flash is blank, the coprocessor can attach it, but will not be able to enter fast mode. You'll be able to read and write to it through the coprocessor, but it will be limited to single channel mode, and will not work from the graphics pipeline. You may need to consult the datasheet of your flash to double check whether the basic commands follow the same de facto standard.

Once you write the firmware blob onto the flash, switching to fast mode should just work. If the unified blob doesn't work, you may want to check with support if they can provide one specific for your model.

28
Discussion - EVE / Re: BT81x and VERTEX2F
« on: February 13, 2019, 06:08:03 PM »
Your goal is to align the coordinates of the vertex instruction on the 16bit boundary, correct?

Something like this may give you some mileage:
Code: [Select]
short x, y;
short xc = (1 << 14) | (x & 0x3FFF);
short yc = (y << 1) & 0x7FFF;
dl32(VERTEX_FORMAT(1));
dl16(yc);
dl16(xc);

Shift one coordinate, and mask the stray bit of the other one.

A more ideal solution then, instead, could be to have a vertex format instruction that sets the precision of each coordinate individually.

29
Discussion - EVE / Re: ASTC viewer?
« on: February 13, 2019, 05:38:42 PM »
You can get a preview of your images using EVE Screen Editor. Load the converted asset using Raw type, and set up and draw the bitmap as you would on hardware. It has a zoom function. :)

The blob in the flash contains a series of opcodes that control the SPI master when operating in fast reading mode. It also has some verification checksum in it, iirc. It does not seem to be documented, however. The unified blob should work with a large range of flash.

30
Hi,

If you're compiling using VS with FT4222 target, and running the built executable manually, then you will need to deploy your content in the same folder as the built executable.

Alternatively, if you're running from VS directly, you may modify the Properties of your VS project, and change Working Directory under Debugging to the folder containing your graphics content. Ensure the option is set for All Configurations. This will allow you to use the graphics content without copying.

Pages: 1 [2]