cancel
Showing results for 
Search instead for 
Did you mean: 

Adding STemWin to existing project

rbs3rd
Associate II
Posted on March 31, 2014 at 17:47

I have a project, developed by Segger, for the STM32F429i-Disco board. I have the project working, and wanted to replace the trial emWin files that Segger uses with the STemWin files ST provides. When I swap out the Segger binary library with the STemWin binary library, the micro goes into the GUI_Init function, and never comes out. Anyone out there run into this? Any recommendations on how to understand what it is that's creating this situation? All insight appreciated. 

#stemwin #stm32f429i-discovery
3 REPLIES 3
Posted on March 31, 2014 at 19:09

Add

  /* Enable CRC clock */

  RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_CRC, ENABLE);

Prior to calling the function.

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STemWin%20GUI_Init%28%29%20crashed&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=762]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FSTemWin%20GUI_Init%28%29%20crashed&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=762
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
rbs3rd
Associate II
Posted on March 31, 2014 at 19:56

That was it! I''m assuming that call was in the Segger version of GUI_Init?

Posted on March 31, 2014 at 20:08

No, rather there is a test in the ST licensed release that ties it to STM32 hardware.

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