1.5k views
in Embedded Wizard Studio by

Hello,

i want to wrtie some characters on the Display STM32F469 and I used this as referance https://ask.embedded-wizard.de/433/how-to-send-string-from-usart-and-show-it-textviewer-in-the-gui

But it do not work. I use the example DeviceIntegration. I follow the guide from https://ask.embedded-wizard.de/433/how-to-send-string-from-usart-and-show-it-textviewer-in-the-gui after building in embedde wizard, the uvision do not have the function 

ApplicationDeviceClass__UpdateTerminalString  
 
I thin it could be about the onTerminalEvent ,,TerminalLabel.String = Application::Device.TerminalString;,,.


 

Best Regards,

 

DDMW

1 Answer

0 votes
by

Hi,

as in the the article How to send a String from USART and show it in a TextViewer in the GUI? described, did you follow the instructions in Step 2? There you create a method named UpdateTerminalString().

Best regards

Paul Banach

by

Hi,

 

yes like that: 

 

Best Regards,

 

DDMW

by

O.k. Then the function should be available in the generated code. I assume you call the function Application__UpdateTerminalString() from one of your C modules. Did this module include to the header Application.h?

by

What ist the exact compiler error message?

Can you verify whether the generated code you use in uVision does contain the Application__UpdateTerminalString()?

Are you compiling C or C++ code?

by
In emedded wizard or in uvision is no error enclosed my Application.c from uvision:

In Dropbox

https://www.dropbox.com/s/cqrcswunjkbrg4c/Application.c?dl=0

and here the Embedded Wizard Projekt:https://www.dropbox.com/s/ykf1qn1o5exjq1j/DeviceIntegration.rar?dl=0
by

o.k. I previously understood: 'the uvision do not have the function'.

Evidently, the generated code doesn't contain the function AplicationDeviceClass__UpdateTerminalString(). The question is thus why it is the case? Following possibilities exist:

Reason 1: In Embedded Wizard select the affected method UpdateTerminalString and in Inspector verify its attribute Generator. The attribute should be set true. This forces that the method is generated regardless of whether it is really used or not in the Embedded Wizard project. Is this the case?

Possibility 2: You are working with wrong version of generated files. In other words, the generated files are stored in another folder as you expect. The destination folder is controlled by the attributes OutputDirector, and eventually OutputSrcDirectory and OutputIncDirectory. For this purpose switch to the main Composer page (in the Navigation Bar the first tab on the left (with red EmWi logo)). Within the page locate the Profile member you are using for code generation. Select the member and in Inspector verify the above mentioned atributes OutputDirectory and evtl. OutputSrcDirectory and OutputIncDirectory. Are the attributes configured with folder names where you expect the generated files?

Possibility 3: You have several Profile members in your project and you are using the wrong one when generating code. Verify in the combo-box Profile Selection whether your expected Profile is selected.

by
It was reason 1.

I have the funktion and I use it but I do not work.
by
Hi!

Can you please send us a quick snapshot of your current development? Thanks!

Best regards,
Manuel
by

Hi,

 

Best Regards,

DDMW

 

by
Sorry for being unprecise: Is it possible to send the entire project (i.e. your sources) as ZIP file?
by

Embedded Wizard Website | Privacy Policy | Imprint

...