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

Pages: [1]
1
Discussion - EVE / FT800 Bitmap Handles
« on: July 13, 2020, 11:02:24 AM »
Hello,

I am using the FT800 chip and am trying to load different icons to be displayed on the screen.  I have several different icons which all fit into one of 3 size categories.  Consequently, my plan was to use three different bitmap handles to display the different sized icons.

However, whenever I set the bitmap handle to anything other than 0, it does not seem to work and the icons appear to be loaded to bitmap handle 0 anyway.  This of course causes a problem because the different sized icons are all in the same bitmap handle and therefore do not all display properly.

I am using CMD_INFLATE to load the icons on to the chip and it all appears to work fine apart from the bitmap handle issue.  My code is written as follows:

1. Perform all required chip initialisation.
2. Set the required bitmap handle (e.g. to 1).
3. Send CMD_INFLATE followed by required RAM_G address where image will be stored.
4. Send all the bytes of data from compressed icon file (with padding if required).
5. Get the end address of decompressed data using CMD_GETPTR to know the next RAM_G address to use.
6. Repeat steps 2-5 until all icons are loaded.
7. Use BITMAP_SOURCE, BITMAP_LAYOUT and BITMAP_SIZE to configure all the appropriate settings.
8. Send BEGIN(BITMAPS) and then use VERTEX2II to try and display an icon at the required location.

As stated above, when using bitmap handle 0 with VERTEX2II the icons appear but using any other handle, it does not appear to work.  Is there something else I need to do to set the bitmap handle before writing the icon data, etc?

Thanks in advance!

Amy

2
Discussion - EVE / FTDI Hardware Abstraction Layer (HAL) Library
« on: June 26, 2020, 03:06:57 PM »
Hello,

I'm currently developing using an FT800 chip and am trying to get icons to appear on my lcd.  I have read several application notes as well the programmer's guide and keep seeing mentions of the FTDI Hardware Abstraction Layer (HAL) code.  However, I cannot seem to find it anywhere!

I am sure I must just be missing it so could someone please point me to where I can find the HAL code?

Thanks in advance!

Amy

Pages: [1]