This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using mailboxes or semaphores causes crash

Hi, if I make any calls to mailboxes or semaphores, my application crashes. I can't even debug what happenned, all I get is "Could not stop ARM device!".

If I comment out the calls to mailboxes (e.g. os_mbx_send) and semaphores (e.g. os_sem_wait) everything works fine.

And yes, I am calling the init functions for the mailboxes and semaphores, so that's not the problem.

Any ideas? I can post some of the code if need be. Thanks.

-Mike

Parents
  • well, I trust Keil to get it done. My product should run for possibly YEARS without a reset - now it dies after 3 days at most. Our client is going frigging haywire (also in the US) to get Keil to do it even faster, but we better let them do it and do it right! If you have the source code (RL-ARM license) you can try to do it yourself, but I would not recommend it. On the other hand, my test program destroys the kernel in 5 seconds of operation at 50 microseconds tick rate. Hmm, I need it to run for years and it is actually urgent. All this is a little disappointing, especially when RTX is part of a larger commercial product that you pay a lot of money for.

Reply
  • well, I trust Keil to get it done. My product should run for possibly YEARS without a reset - now it dies after 3 days at most. Our client is going frigging haywire (also in the US) to get Keil to do it even faster, but we better let them do it and do it right! If you have the source code (RL-ARM license) you can try to do it yourself, but I would not recommend it. On the other hand, my test program destroys the kernel in 5 seconds of operation at 50 microseconds tick rate. Hmm, I need it to run for years and it is actually urgent. All this is a little disappointing, especially when RTX is part of a larger commercial product that you pay a lot of money for.

Children