why rtems_message_queue_create hang up the system?
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Fri Sep 17 13:11:57 UTC 2004
Yanjun Luo wrote:
> On Fri, 17 Sep 2004 11:25:17 +0800, Yanjun Luo wrote
>>I just use message queue in my 9200 board, find that if I call
>>rtems_message_queue_create, it doesn't return, and I can't see
>>any error. What's wrong with it?
20 * 100 is ~20K. I suspect your confdefs.h is not accounting
for the memory OR you are linking against the Message Manager
If you can step into the create, you will know for sure.
> Addition information, I can run sp13 on my board, but I still
> can't run same code in my task.
> I also check the sp13's system.h, use same config with sp13,
> but still failed.
> Any hints are welcome.
> Yanjun Luo.
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users