cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to link emWin - missing LCD_IO_WriteReg

ken239955_st
Associate II
Posted on April 07, 2016 at 13:15

I'm trying to build a first graphical LCD project with Visual GDB (which lets you use Visual Studio for embedded development using the ARM GCC toolchain).

I can't find any sign of any of the LCD_IO_ routines in the HAL firmware (I've got the F1 stuff).  Perhaps its missing and Segger's stuff wasn't used for the demo on the 3210C, but from the presence of the STemWin_HelloWorld

in the

F1Cube firmware

in

Projects\STM3210C_EVAL\Applications\STemWin

I have built this with IAR's EWARM, but I don't have the mapfile anymore to see where it got the functions from.

I've got the ili9320 & 9325.c's added into the project, so there must be an SPI layer between these 2 files and the LCD.

Segger defer to ST for first line support of emWin.  

#segger-emwin-lcd-driver
5 REPLIES 5
Amel NASRI
ST Employee
Posted on April 07, 2016 at 13:35

Hi macfarlane.ken,

1- GPIO configuration is done in the file STM32Cube_FW_F1_V1.3.0\Drivers\BSP\STM3210C_EVAL

2- Please refer to the 

http://www2.st.com/content/ccc/resource/technical/document/application_note/54/c9/95/42/8c/0b/43/69/DM00089670.pdf/files/DM00089670.pdf/jcr:content/translations/en.DM00089670.pdf

: it should help you to identify needed updates in order to use STemWin with HAL drivers.

3- Please note that you may use 

http://www2.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/sw4stm32.html

 as toolchain based on GCC. There is already a preconfigured project for this IDE: STM32Cube_FW_F1_V1.3.0\Projects\STM3210C_EVAL\Applications\STemWin\STemWin_HelloWorld\SW4STM32.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

ken239955_st
Associate II
Posted on April 14, 2016 at 11:01

just checking that I can post a reply....

ken239955_st
Associate II
Posted on April 14, 2016 at 11:01

Thanks for your reply. I have  AN4323, but I don't think that the info that I needed was in there. I've got Helloworld to go on the F7 Disco board's LCD now, so I shan't bother any further with the F1.

ken239955_st
Associate II
Posted on April 14, 2016 at 11:03

However, I have more questions, but these are really on emWin, rather than the HAL or GPIO. Segger say that first line emWin support on STM32 is from ST, as the emWin trial version is FOC on the STM32. There doesn't appear to be an emWin support forum per se, so can I go off topic here & get answers?

Posted on April 14, 2016 at 22:24

There doesn't appear to be an emWin support forum per se, so can I go off topic here & get answers?

Like most things here, it will be dependent on other users participating. The STM32 forum is the most trafficked.

In a business sense, the from line support would be via your FAE.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..