Hi
I'm trying to run the web_hvac demo on my TWR-K60D100M tower board, and when the board is booting, I get an error message on the serial port;
"Could not create message pool"
I'm running CW10.6 and MQX4.1
The hvac.h file reads;
Can anyone help please....?
Thanks
Ken
Solved! Go to Solution.
Hello Ken,
The "BSP_DEFAULT_MAX_MSGPOOLS" has to be set to 3 or higher to ensure the example is working properly. Could you please double check this in the twrk60d100m.h?
Could you please use the below definitions in the twrk60d100m.h?
#ifndef BSP_DEFAULT_MQX_HARDWARE_INTERRUPT_LEVEL_MAX
#define BSP_DEFAULT_MQX_HARDWARE_INTERRUPT_LEVEL_MAX (6L)
#endif
#ifndef BSP_DEFAULT_MAX_MSGPOOLS
#define BSP_DEFAULT_MAX_MSGPOOLS (16L)
#endif
#ifndef BSP_DEFAULT_MAX_MSGQS
#define BSP_DEFAULT_MAX_MSGQS (16L)
#endif
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Ken,
The "BSP_DEFAULT_MAX_MSGPOOLS" has to be set to 3 or higher to ensure the example is working properly. Could you please double check this in the twrk60d100m.h?
Could you please use the below definitions in the twrk60d100m.h?
#ifndef BSP_DEFAULT_MQX_HARDWARE_INTERRUPT_LEVEL_MAX
#define BSP_DEFAULT_MQX_HARDWARE_INTERRUPT_LEVEL_MAX (6L)
#endif
#ifndef BSP_DEFAULT_MAX_MSGPOOLS
#define BSP_DEFAULT_MAX_MSGPOOLS (16L)
#endif
#ifndef BSP_DEFAULT_MAX_MSGQS
#define BSP_DEFAULT_MAX_MSGQS (16L)
#endif
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Sol
Thanks for the reply. Changing the BSP_DEFAULT_MAX_MSGPOOLS to 16L has fixed the problem.
Regards
Ken