web_hvac prevents the creation of a message pool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

web_hvac prevents the creation of a message pool

Jump to solution
553 Views
MWMinor
Contributor V

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;

pastedImage_0.png

Can anyone help please....?

Thanks

Ken

0 Kudos
1 Solution
412 Views
soledad
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
413 Views
soledad
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
412 Views
MWMinor
Contributor V

Hello Sol

Thanks for the reply. Changing the BSP_DEFAULT_MAX_MSGPOOLS to 16L has fixed the problem.

Regards

Ken

0 Kudos