cancel
Showing results for 
Search instead for 
Did you mean: 

STM32, Embedded UI Resource Editor and Keil

antonius
Senior
Posted on March 14, 2012 at 12:06

Friends,

Do you know how to connect from Embedded UI Resource Editor and Keil in developing code for STM32 ?

I have used

Embedded UI Resource Editor from ST, but how can I connect it with my code in Keil ?

How can I make like this one :

http://www.youtube.com/watch?v=PL3enedXTs4

thanks

#resource-editor #ulink #keil #stm32
8 REPLIES 8
emalund
Associate III
Posted on March 14, 2012 at 16:00

Do you know how to connect from Embedded UI Resource Editor and Keil in developing code for STM32

 

RTFM: After finishing the layout, the user is able to generate the source code (header and c file) which can be integrated into the firmware application. Erik

antonius
Senior
Posted on March 14, 2012 at 23:11

Do you have an example on how to integrate it ?

How to integrate this files (output from Embedded UI Resourse Editor ) into Keil, see pictures below :

0690X00000602k5QAA.jpg

0690X00000602kAQAQ.jpg

0690X00000602gTQAQ.jpg

emalund
Associate III
Posted on March 15, 2012 at 16:35

but how can I connect it with my code in Keil ?

 

I am at a loss, does ''the source code (header and c file) which can be integrated into the firmware application.'' not answer your question?

Erik

antonius
Senior
Posted on March 15, 2012 at 23:12

Erik,

Thanks, for your answer,

I understand with your answer, but which files should I use to include  into and which files are being included, I saw hundred of files in ''uCOSII2.91+UCGUI3.90A'' and some files ''output'' of Embedded Resource UI editor....

Or if you have an example, how can I include the output file into a main project ?

for example, I have a very simple project

only :

main()

{

}

I include only like this :

#include --->output files from Embedded Resource UI editor

main()

{

   (which function should I call from the ''output file'')

}

================

 

I am at a loss, does ''the source code (header and c file) which can be integrated into the firmware application.'' not answer your question?

 

 

Erik

================

antonius
Senior
Posted on March 21, 2012 at 10:29

I use these :

The code :

http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32_gui_lib.zip

The link :

http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelectorPage&doctype=FIRMWARE&ClassID=1734

I read this one from :

 

Embedded GUI resource editor application AN3128

In the resource editor GUI, the user can set the output path of the files. When the output is

 

generated, it is dumped in the specified folders.

 

For the first time the user needs to change the main.c of his project.

 

The files are formatted and commented to enable the Doxygen tool to generate

 

documentation for the files. To work with the output files generated by the GUI, the

 

developer must make a few changes:

? The user must include all three header files in the main.c file

 

? The user must call Show_HomeScreen() after all the initialization has taken place on

 

the hardware

 

? The user needs to compile the updated source code and burn it on the firmware.

 

 

I do like this  in main.c :

 /* Infinite main loop ------------------------------------------------------*/

 

  while (1)

 

  {                            

 

    Show_HomeScreen();        //show my UI form

 

#if defined(USE_STM3210C_EVAL) || defined(USE_STM32100E_EVAL)

 

    /* Catching touch events */

 

    if ( calibration_done )

 

    {

 

      ProcessInputData();

 

    }

 

 

#else

 

    ProcessInputData();

 

#endif

 

.

 

.

 

.

 

.

 

.}

 

There's no problem when I compile it, but I'm not sure if I'm doing the right thing or not

 

Can I upload the *.hex file directly to the board using JLink ?

 

0690X00000602kKQAQ.jpg

 

0690X00000602kPQAQ.jpg

 

Andrew Neil
Evangelist III
Posted on March 22, 2012 at 08:34

Cross-post:

http://www.keil.com/forum/20568/

antonius
Senior
Posted on March 23, 2012 at 00:30

So I have done a right procedure, but I must use hardware to test it ?

There's no error when I built it

himanshusharma
Associate II
Posted on June 23, 2014 at 08:39

hi rick,

from where i can download 

Embedded UI Resourse Editor? can you send link