Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

emwin with freeRTOS

Posted by jimmjimm on October 20, 2014

Hi, guys i try to use emwin and freeRTOS on my stm32f4 board, but i found something really wired

I found the task include emwin function(like WMExec(),GUITOUCHExec() or GUIDispStringAt()) can not work with any another tasks even its empty task but when i only run emwin task the system works fine.

i make macro GUIOS is 1 GUIMAXTASKis 5 emwin memory to 64k bytes freeRTOS heap size from 90k bytes system heap and stack size to 8k bytes

this is maximum ram i can provide but the system still not works

some one can help me?


emwin with freeRTOS

Posted by jimmjimm on October 22, 2014

anyone?


emwin with freeRTOS

Posted by rtel on October 22, 2014

I'm afraid I'm not familiar with emWin so don't know what resources it is using.

I can only suggest the normal things. Ensuring you are using a recent version of FreeRTOS with configASSERT() defined may help detect something amiss. Otherwise I can only assume that the task running emWin is consuming all the CPU time and not letting anything else run. Have you tried running the emWin task at the lowest priority, or using the trace tool to see what is going on?

Regards.


emwin with freeRTOS

Posted by jimmjimm on October 27, 2014

I try to run emwin task at lowest priority but not work, all i got is system get hardfault at last step of vtaskdelay


emwin with freeRTOS

Posted by jimmjimm on October 27, 2014

i found the problem!!! i did not replace three handlers in startup file just replace handlers like this: void PendSV_Handler(void) { xPortPendSVHandler(); } its too stupid that i thought its same.


emwin with freeRTOS

Posted by vijitron on April 11, 2016

Hi Jimmy I do have this same problem ,i couldnt find the PendSV_Handler(); What is this for? Anyone help me


emwin with freeRTOS

Posted by davedoors on April 11, 2016

have a look in FreeRTOSConfig.h. PendSV_Handler() might be defined to xPortPendSVHandler() as mentioned here http://www.freertos.org/FAQHelp.html


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists