BusFault when using lwip HTTP server

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

BusFault when using lwip HTTP server

1,865 次查看
mateuszkiełbasa
Contributor III

I created my project using lwip_httpsrv_freertos example. I added some own api calls. But sometimes the program reaches BusFault exception and the program hangs. It happens while making api request only and it is totally random. Sometimes the program works for longer, sometimes exception is reached faster and always program counter shows xPortStartScheduler. I attached all information in photo. Sorry for bad photo quality :/

Is it the problem with lwip or FreeRTOS or is it problem with my code?

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

1,818 次查看
Sabina_Bruce
NXP Employee
NXP Employee

Hello,

Could you please confirm the microcontroller that you are using? Also do you experience the same behavior with the example as is?

If not, could you also provide the description of the APIs you have added.

Generally the error that you have shown in your image, is easily identifiable. Being that the precise bit is on and the bfar bit is on, means that the address located in the BFAR register holds the information of when the exception ocurred. I suggest to check the instruction prior to.

Best Regards,

Sabina

0 项奖励
回复