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

Pages: 1 [2]
16
Discussion - EVE / Re: EVE Asset Builder
« on: March 11, 2021, 06:12:37 PM »
Hi Rudolph,
Thank you so much for your reply.
I just went to your github link and I found you already success to use the ESP32 native IO with DMA. 
I couldn't find your example code when I am doing searching last couple weeks so I used STM32 example from Matrix Orbital github, run to understand and port the code to ESP32 native IO using ESP32 SPI example and your Eve2_81x library.  I am successfully get the SPI talking to my EVE3x-43G and get the interrupt back from the touch actions.
I am about to post to in the share folder for anyone who need the ESP32 nature but today I found you already done with DMA method.  I would like to give it a try. 
Could you please help me to point it out for me the set up for your ESP32 environment? 
I got the error as soon as I try to compile the code because my CMAKE version is older than your code.  And once I successfully update the CMAKE to newer version.  I compiled and fail for the undefined rererence to 'app_main'

-- Build files have been written to: C:/Projects/esp/EVE_Test_ESP32_PlatformIO/build/bootloader
[927/931] Linking CXX executable EVE_Test_ESP32_PlatformIO.elf
FAILED: EVE_Test_ESP32_PlatformIO.elf
cmd.exe /C "cd . && C:\Users\Admin\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe  -mlongcalls -Wno-frame-address   @CMakeFiles\EVE_Test_ESP32_PlatformIO.elf.rsp  -o EVE_Test_ESP32_PlatformIO.elf  && cd ."
c:/users/admin/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj):(.literal.main_task+0x10): undefined reference to `app_main'
c:/users/admin/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj): in function `main_task':
C:/Users/Admin/Desktop/esp-idf-2/components/esp32/cpu_start.c:589: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status

Again thank you so much for your helps.

17
Discussion - EVE / Re: EVE Asset Builder
« on: March 10, 2021, 08:19:20 PM »
Hi BRT Community,
Thank you so much for your reply.  The intention for my test is the evaluation of the product and development process to make the decision of the mass productions purchase for the new LCD.
I already successfully integrate the said module with my MCU talking SPI and is able to checkout all signal like SPI and interrupt INT_N already.

It is time for interface preparations like images, buttons, animations on the display. Contact Matrix Orbital, they didn't know anything to support and point to me to use the EAB and there is no support from Matrix Orbital since EAB belong to Bridgetek.

So now I am stuck with the couple LCDs without any progress.

To eliminate some unknow hardware obstacles, I tried to use the EAB and connect directly with USB2SPI break board, EVE2-USB2SPI-KIT-A, that I bought from Matrix Orbital as well at this link https://www.matrixorbital.com/eve2-usb2spi-kit-a?search=usb2spi

If you see this adapter board is not working for my testing, please point me to the right direction to help me to evaluation the EAB and the LCD correctly.

So here are the hardware set up:
LCD: EVE3x-43G-IPS-BLH-TPC-F128-HAP
Interface with EAB v2.10 using USB2SPI break board, EVE2-USB2SPI-KIT-A

Goal: symbol png image preparation and flash to LCD module

Running EAB v2.10

Step 1 Conversion png image

Log:
C:/Images/page1livetext.png conversion is in progress...
Image Conversion completed!
Filename              : page1livetext_480x272_RGB565.raw (261120B)
Format                : RGB565
Width                 : 480
Height                : 272
Compressed            : no
C:/Images/page1livetext.png conversion is done!

Step 2 connect the LCD and detected the LCD

Log:
Detecting flash...
Flash size: 16 MB

Blob is present.

Flash can switch to full speed.
END

BEGIN
Calculate reading speed...

Reading speed: 10.42 MB/s
Reading 10 MB in 0.96 seconds
END

Step 3 Prepare the flash
Flash's Map:
unified.blob                               : 0    : 4096
page1livetext_480x272_RGB565_Converted.png : 4096 : 22912

Log:
Input files are ready!
C:/Flash is selected as output folder.
Generating flash.bin ...
Generate flash image flash.bin successfully
Flash Map file         :  flash.map
Flash Description file :  flash.ed

Step 4 flashing the .bin file using Updates and Verify
Log:
Updating C:/Flash/flash.bin to flash, erasing if necessary ...
 Information on channel number 0:
 Flags=0x2
 Type=0x8
 ID=0x1b3d0200
 LocId=0x1c3
 SerialNumber=0k5RJ57L
 Description=USB 2 SPI
 ftHandle=0x0

handle=0x1ee8ca90 status=0x0
VC1 register ID after wake up 7c

 reg_touch_rz =0x7fff
 reg_touch_rzthresh =0xffff
 reg_touch_tag_xy=0x80008000
 reg_touch_tag=0x0

Switch flash status to FULL. Result: ERROR
No header detected in sector 0 - Is flash blank?
Flash status BASIC.
Install blob to flash
Switch flash status to FULL. Result: SUCCESS
Installing blob is successful.
Updating Flash file "C:/Flash/flash.bin" to BT81X Flash Storage.
Switch flash status to BASIC. Result: SUCCESS
Switch flash status to FULL. Result: SUCCESS
Switch flash status to BASIC. Result: SUCCESS
Switch flash status to FULL. Result: SUCCESS
Update Flash file "C:/Flash/flash.bin" to BT81X Flash Storage successfully
Switch flash status to BASIC. Result: SUCCESS
Switch flash status to FULL. Result: SUCCESS
Verifying Flash...
Verify flash successfully!
DONE!

18
Test and Review Area / Re: EVE Asset Builder 1.6.0
« on: March 10, 2021, 07:05:29 PM »
Hi BRT team,
I am using EAB version 2.10 with
Matrix Orbital EVE3x-43G-IPS-BLH-TPC-F128-HAP
interface with PC with EVE2-USB2SPI-KIT-A

The intention is to use this LCD to replace the current product in production but I found it is very difficult for the evaluation to make the decision.
I am trying to do simple project like drop in the PNG image, converted, and build and flash the image file to the EVE3 module, but all I got is just the little distorted corner pixels.

I am following the  EVE Asset Builder 2.1.0 User Guide version 1.6 issued date 17-12-2020 very closely, but the document is not very details.

For example
Once the image conversion is completed what will be the next step to prepare for the flashing?
I am playing with adding converted png file and other files but no success.
Once the image conversion is completed there are 4 files .json, .raw, .rawh, _converted.png file.  And the guide didn't show the steps of build the flash and flashing the asset to the module.

Can my .bin file only contain 1 png file is ok?
Is the location of the png file need to be in the specific sector?
Do I need the map file to specific the location of the png file?

unified.blob                               : 0    : 4096
page1livetext_480x272_RGB565_Converted.png : 4096 : 22912


Please help to send or to point me to the right direction for the usage of the Asset Builder.
I think in order for the user to switch to new products, we need lots of help to make the transition as easy as possible and the details of the documentations are very important.
Thank you so much for your helps.

19
Discussion - EVE / EVE Screen Editor V4.0.0 not smooth image conveter
« on: March 10, 2021, 12:54:40 AM »
Hi all,
I hope you guys are well. 

I am  with EVE Screen Editor and EVE Asset builder, there are part number I can’t associate with and couldn’t find in the data sheet or the app note.

For example:
I am using EVE3x-43G-IPS-BLH-TPC-F128-HAP
And using the EVE2-USB2SPI-KIT-A board to work with ESE or EAB.

In the screen editor in the export EVE_HAL2
there are two items:
VM816C50A_LIBFT4222
VM816C50A_MPSSE

And I don't think these 2 associate with my module.

In the Project section, I set BT815, WQVGA(480x272) and one field is filled it with MX25L128(16MiB).
The problem is during I view the image using BTXX Emulator(BT8XXEMU_1), the image is great, but when I connected and Upload RAM and Coprocessor, the image is seems losing data so the image is not smooth and showed all the grid lines.

1. Where can I find all the related information of

VM816C50A_LIBFT4222
VM816C50A_MPSSE
MX25L128(16MiB)

2. What do I do to improve the image so it is the same as emulator?

20
Discussion - EVE / Re: Re: EVE Asset Builder
« on: March 09, 2021, 07:55:54 PM »
Hi Rudolph,
If I have 4.3" 480x272 HVGA - Oversized Mountable Capacitive Touch TFT, which output format should I select?  And do I need compress of the data?  All of these details information would be very helpful for the developer if there is a details documents separately for it.
Thank you so much for your helps.

21
Discussion - EVE / Re: EVE Asset Builder
« on: March 09, 2021, 06:51:58 PM »
Hi BRT Community or Rudolph,
I found only you 2 are active on this thread so may I address both of you?
I am trying EAB version 2.10 and follow the document release on 12/17/2020.  The information on the steps are very generic.  I am looking for the simple examples of select images and load in my module using USB2SPI adapter board, but when I follow the document, my image is just the distorted in one corner image.
I tested the module is working perfectly fine with the source image when I am using EVEBitmapViewer tool.
I am using EVE3-43G module together with USB2SPI board.
Anything you can point to me to get the example how to use EAB for the image conversion and flashing to the module is very appriciated.

Pages: 1 [2]