Jeremy Sanchez

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

Discussion created by Jeremy Sanchez on Sep 7, 2009
Latest reply on Jan 10, 2011 by Marco Fratini

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}};

 

 

 

Outcomes