LPC1769 + emWin + FreeRTOS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1769 + emWin + FreeRTOS

695 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sebastianeferrer on Thu Dec 05 20:19:34 MST 2013
Hello, I'm using emWin with FreeRTOS on an LPC1769 and HardFaul_Handler is executed during GUI_Init rutine or during another part of the program.

I've searching and thinking what can be causing the problem and as far as I could find out it could be a problem of FreeRTOS (different cr_startup file) with dinamically allocation memory implemented by emWin.
EmWin initialize an U32 vector with the size of the memory it whats to take and then during the execution of visual interface it takes the blocks of memory it needs.
Some how freeRTOS executes HardFaul_Handler because maybe it thinks that emWin is traying to manipule a posicion of RAM that does not concern.

I attached the GUIConf.c file and my main.c file

Original Attachment has been moved to: GUIConf.c.zip

Original Attachment has been moved to: main_5.c.zip

标签 (1)
0 项奖励
回复
0 回复数