Skip to main content
NS.16
Associate III
January 28, 2019
Solved

Compilation Error while running the target

  • January 28, 2019
  • 35 replies
  • 7889 views

i have making a project which i can simulate the project but i can't run the same on my target.0690X000006DFkpQAG.png

This topic has been closed for replies.
Best answer by Martin KJELDSEN

I did an example for a webinar on integrating hardware with your UI that does exactly that - react to push button on an STM32F769-DISCO board and turns on/off a LED from the UI.

Article: https://touchgfx.zendesk.com/hc/en-us/articles/205074561-Connecting-the-UI-to-your-system

Video: https://www.touchgfx.com/resources/demo-videos/webinar-videos/

Best regards,

Martin

35 replies

Martin KJELDSEN
Principal III
January 28, 2019

Hi @NS.16​,

Looks like you have too many graphical assets in your application. The linker is telling you that you've overflowed the allowed limit. This problem won't happen on your windows machine, naturally.

Do you have a lot of full screen images?

Best regards,

Martin

NS.16
NS.16Author
Associate III
January 28, 2019

yes i have..

Actually i have try to make a video using pictures..

about 103 slides..with 240 x 320 resolution images

NS.16
NS.16Author
Associate III
January 28, 2019

is there any alternative solution to do that.. i need to contact you sir ..can we have a chat session on your earlier convinience.@Martin KJELDSEN​ 

NS.16
NS.16Author
Associate III
January 28, 2019

i have to finish this project by this week itself so i'm waiting for your reply sir.

regards,

Nagaraj

Martin KJELDSEN
Principal III
January 28, 2019

Hi @NS.16​,

TouchGFX supports dynamic bitmaps. You can use something like libJPEG to decode jpeg images into dynamic bitmaps that are then updated on screen. We have this in several demos. If you use something like STM32F769 you then also have the option to hardware decode these jpeg images rather than using software (ligJPEG).

NS.16
NS.16Author
Associate III
January 28, 2019

Thank you sir..but how to convert PNG file to BMP file..how to add the bmp file in touch gfx?

is there any demo video are available sir. or else is any possible to run a video in touchgfx.

NS.16
NS.16Author
Associate III
January 28, 2019

if any video resource available means please share to me sir ..i will be definitely useful for understand?

regards

Nagaraj

Martin KJELDSEN
Principal III
January 28, 2019

Hi,

No tutorials or guides on this but here's the demo source code for an F769-disco project that uses both software and hardware decoding of a motion JPEG movie (you have to create this movie). Take a look at the code and see if it makes sense. There's an entire screen dedicated for this.

http://ftp.draupnergraphics.com/TouchGFX/demos/Demo2016-source-769-Discovery.zip

NS.16
NS.16Author
Associate III
January 29, 2019

Thank you sir. I will go through this link and i will update sir.

NS.16
NS.16Author
Associate III
January 29, 2019

Hi,

I have a doubt , is there possible to bypass the error by increasing memory using external one.@Martin KJELDSEN​ 

Martin KJELDSEN
Principal III
January 30, 2019

Hi @NS.16​,

I think the demo only works on IAR and for the STM32F769-DISCO board.

There is a more simple project of how to do video here - Try checking that out:

http://ftp.draupnergraphics.com/TouchGFX/demos/simple_video769eval.zip

NS.16
NS.16Author
Associate III
January 30, 2019

Thank you sir ,

But the above link sample video is not flashing in my board.

@Martin KJELDSEN​ 

I have some doubts,

1.how to load our png images to bmp file in keil .If possible please provide step by step coding.the gfx bmp file article only shows the program and there not mentioned where to insert our customized code and how to?.So that i asked sir.

2.Noramlly images are stored in external flash.is there possible to increase the external flash size into GB.Because our project need high graphics.?

3.Is there any possibility to load video in touchgfx without images slides

4.after succesfully uploading my project in stm32f429I , i can upload the same in visual studio.I can't even build i shows lot of files are not in the folder.but the same file is flashed through toughgfx?

Please concern all of above doubts.

i think now you can understand my problem.Could you give me brief explanation and clarification sir.

Regards,

Nagaraj S

Martin KJELDSEN
Principal III
January 31, 2019

Which board are you programming? You cannot increase the size of the QSPI. You can, however, have your graphics on an external file system like an SD card, but then these must be decoded and loaded into dynamic bitmaps - You need to consider the performance of this, depending on your application.