httpd server, Task Error Code Unknown error: 0x00000041, State Unhandled Interrupt

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

httpd server, Task Error Code Unknown error: 0x00000041, State Unhandled Interrupt

1,276 次查看
MQXuser
Contributor III

Hi to everyone,

 

I am currently working with M52259EVB, I have added several tasks to the WEB_HVAC demo and I am getting the error showed above when I plug usb memory into the evaluation board. 

External memory pools are enabled for usb and ethernet as the example indicates to do. What could be wrong with the example?

 

This is my MQX_template list, feel free to share ideas. Regards.

 Networking is initialize in Starting_Task and    ipcfg_task_poll (); is called every 200 ms into Analyze task. Web server works just fine until the USB memory stick is attached(I am using the memory provided with the evaluation board)      .

 

 

const TASK_TEMPLATE_STRUCT MQX_template_list[] ={   // Task number, Entry point,   Stack, Pri, String,    Auto?    { SHELL_TASK,      Shell_Task,       2900,  12,  "Shell",   MQX_AUTO_START_TASK},   { STARTING_TASK,   Starting_Task,    1000,  9,  "Starting",   MQX_AUTO_START_TASK},   { ANALYZE_TASK,    Analyze_Task,     1000,  10,  "Analyze",       0},   { QUADSPI_TASK,    QSPI_task,        1000,  8,  "QSPI",       MQX_AUTO_START_TASK},   { CAN_TX_TASK,     CAN_Tx_Task,      1000,  7,  "CAN Tx",       0},   { CAN_RX_TASK,     CAN_Rx_Task,      1000,  7,  "CAN Rx",       0},   { INTERNAL_FLASH_TASK,   InternalFlash_Task,      1000,  4,  "Internal Flash",       MQX_AUTO_START_TASK},   { USB_TASK,        USB_task,      2200L,  8L, "USB",     MQX_AUTO_START_TASK},#if DEMOCFG_ENABLE_AUTO_LOGGING //  { LOGGING_TASK, Logging_task,  2500,  11,  "Logging", 0},#endif //  { ALIVE_TASK,   HeartBeat_Task,    1500,  10, "HeartBeat",    0}, Puede servir para el ADC    { 0,            0,             0,      0,  0,         0}};

 

 

 

0 项奖励
回复
1 回复

505 次查看
LordMark
Contributor IV

I'm actually encountering the same problem on M52259DEMOKIT.

 

I have a simple web server and a web page that every 20 seconds receives data from it. After some minutes of execution that error occurs and the web server is no longer available while other tasks continue working.

 

I also increased the httpd_task stack size in the code to 5000.

0 项奖励
回复