LPC1769 + emWin + FreeRTOS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1769 + emWin + FreeRTOS

690件の閲覧回数
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 返答(返信)