Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

os_get_first data abort (caused by os_rdy)

Hello,

I am having an issue with RL-ARM RTX where I get a data abort in the os_get_first function.

The reason that I get the data abort is that my os_rdy table has had its p_lnk pointer loaded with an invalid address--it appears that somehow a non-existent task has worked its way on to my os_rdy table (that is to say that at one point os_rdy.p_lnk = 0, and then the kernel did this: os_rdy.p_lnk = os_rdy.p_link->p_lnk).

I have found forum posts of other people having this problem -- unfortunately no solutions were offered and I am unable to reply to their threads:
http://www.keil.com/forum/docs/thread12032.asp
http://www.keil.com/forum/docs/thread12671.asp
http://www.keil.com/forum/docs/thread7618.asp

This condition occurs very rarely -- on the order of once every 24 hours. It always seems to occur shortly after an interrupt that makes use of the isr_mbx_send and isr_evt_set functions -- but this might be coincidence.

I am running RV MDK V3.70 and RL-ARM V3.70. My MCU is the LPC2468.

Any advice would be greatly appreciated!

Thanks,
Eric

Parents
  • i have removed all isr_xxx functions but the problem wasn't solved so i put them back in my code.

    i was using a 1ms tick time. it would normally crash within 1-5 days. i reduced tick time to 50us and it crashes within 1-10 seconds. always at the same place in os_get_first.

    i don't have a support thread going yet because our support expired this month. dunno if we are going to renew it yet.

Reply
  • i have removed all isr_xxx functions but the problem wasn't solved so i put them back in my code.

    i was using a 1ms tick time. it would normally crash within 1-5 days. i reduced tick time to 50us and it crashes within 1-10 seconds. always at the same place in os_get_first.

    i don't have a support thread going yet because our support expired this month. dunno if we are going to renew it yet.

Children