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

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

Hi @Martin KJELDSEN​ the sample projects are not flashing in my board and it can't launch in simulator.Now i am blank how should i move into the project is there any ways?

I have got error while building the libJPEG bmp image file in visual studio.

could you help me?

Martin KJELDSEN
Principal III
January 31, 2019

Hi @NS.16​,

The examples were created some time ago. I'm not quite sure about the state of them, but i'm planning on doing a screencast to explain these things (jpeg, mjpeg) and also provide some up to date examples.

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

Thankyou sir. Please finish and share with me sir , it will definetely help me.

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

Hi @Martin KJELDSEN​ ,

I need some support regarding toughgfx of following doubts,

1.I can't add more images in toughgfx , it shows compilation error because of high graphics.So how to add the images as bitmap files in visual studio or keil micro vision.

Is it possible to add a high end graphics through bmp file coding? if possible means how to do?

I have troubling to open the libJPEG file in visual studio.It shows lot error.

Is there any other ways to implement lot images and animation in stm32f429I board using touchgfx.

Regards,

Nagaraj S

Martin KJELDSEN
Principal III
January 31, 2019

Hi @NS.16​,

You're always restricted by the hardware you're trying to run on. TouchGFX has no native support for decoding image formats runtime, only at source code generation time/compile time. But as you know there are examples of how to use libJPEG to do jpeg decoding and you could do the same for PNG and BMP.

So it is a manual effort if you want to dynamically decode BMP files (No transparency supported) at runtime from an SD card. Also consider that this has a performance penalty because data cannot simply be read from memory mapped flash.

How many images are we talking about? In the gigabytes?

NS.16
NS.16Author
Associate III
February 1, 2019

Hi @Martin KJELDSEN​ 

Ok sir.The one image is 70kb i need to to insert atleast 25 images.So 25*70=1.7MB right.

By default the images are stored in External Flash. I think external flash is SDRAM .so the SDRAM size is 64Mbits known as 8MB.We have about 6.5 MB balance ,then why the graphics error is came?

Is SDRAM used for external flash? if not means where the stuffs are going to in flash or SRAM or SDRAM?

Why the graphics problem can you brief in detail?

Sorry for my poor english.

NS.16
NS.16Author
Associate III
February 26, 2019

Hi @Martin KJELDSEN​ 

I have a doubt in my project.Actually i want to increament 7 segment display number so that i include every number as a picture.Actually i have already watched the gpio task webinar.By reference i do the same by increment the every picture using setBitmap function.But i can only increament the only one picture that was shown 0 to 1 in below .But it simulator it increaments 0 to 3 again 3 to 0 as my per program that value is not shown in my display.Why i can't increament this picture in my display.

 0690X000006DpcfQAC.png

This above image shown increament 0 to 1.But i want to increment 0 to 3 but i can't it stays on 1 after 0 to 1.

 0690X000006DpckQAC.png

drive link for the regarding folder you can download the file:

https://drive.google.com/open?id=11t-JvaUDJ9laTdj3gIV_HgT_EHS7ina8

warm regards,

Nagaraj S

Martin KJELDSEN
Principal III
March 7, 2019

Hi @NS.16​,

I think i will have to check out your project to see what you mean - I will try to do that asap!

Best regards,

Martin

NS.16
NS.16Author
Associate III
March 7, 2019

HI @Martin KJELDSEN​ ,

Actually i found a another way for that above issue and i succeeded on that one.Now i want to run two different task.i'll explain what is My aim.

My aim is first we should increament the display number 1 to 9 by push button.

when i interrupt the every number after increament ,the display should make animation like circle progress bar .When the circle Progress Bar is finished one circle movement i want to display some sentence in the middle of the circle.This my aim could you help me for doing that.

How to do the project, 1.should i create a new task or use a same GUITASK.

if i want to create a task means how to do that?

actually i have tried and have to parts one is increament part when i press the button the number increases in display .and another one is circle progress bar which load and finish the full circle.so far i have finished this level ,could help me to finish the project?waiting for your reply sir

warm regards,

NAGARAJ S