<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/25284/os_get_first-data-abort-caused-by-os_rdy</link><description> 
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</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/144665?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2009 10:14:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:40206fe5-6907-465c-88e1-73fbbb9408a2</guid><dc:creator>Eric Severson</dc:creator><description>&lt;p&gt;&lt;p&gt;
I am using an LPC2468 Revision B. My clock rates are well below
the maximums listed in the errata and I am not using the MAM
interface.&lt;/p&gt;

&lt;p&gt;
Franc --&lt;/p&gt;

&lt;p&gt;
I left you a response here regarding why I think this may not be a
hardware issue:&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/docs/thread15346.asp"&gt;http://www.keil.com/forum/docs/thread15346.asp&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/147530?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2009 08:50:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:99474c85-4654-4e5f-a274-aee2eb3921cc</guid><dc:creator>Tamir Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
this is a very worrying report, Ryan. Have you tried my test
program, that can be found here &lt;a href="http://www.keil.com/forum/docs/thread15346.asp"&gt;http://www.keil.com/forum/docs/thread15346.asp&lt;/a&gt;
?&lt;br /&gt;
Does it still crash on your hardware? I&amp;#39;m using a LPC2478 and after
re-configuring the PLL errata details of the LPC2468 - I have not
observed any crashes (maybe I didn&amp;#39;t run long enough).&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/146403?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2009 07:40:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f565c749-156a-46e1-a68e-d7f6b5748014</guid><dc:creator>ryan williams</dc:creator><description>&lt;p&gt;&lt;p&gt;
i was wrong about this. it is still crashing, just less often.
about the same effect as using a larger tick time.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/144677?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2009 06:00:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7a433a52-29b2-45ff-8509-65771499047e</guid><dc:creator>ryan williams</dc:creator><description>&lt;p&gt;&lt;p&gt;
yea, i&amp;#39;m using lpc2468. an older version.&lt;/p&gt;

&lt;p&gt;
i had set my clock as the errata says, but didn&amp;#39;t see the mam
setting. my startup file was modified from some example that came
with my EA lpc2468 dev board.&lt;/p&gt;

&lt;p&gt;
so, now i&amp;#39;ve set mam to 1 instead of 2 and its not crashing with
the short tick. i&amp;#39;ll have to let it run for days now and see for
sure.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/142367?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2009 02:48:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d688ab9a-9a0b-47d2-a404-f3ca7950921c</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
Please read:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/docs/thread15346.asp"&gt;http://www.keil.com/forum/docs/thread15346.asp&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/139250?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2009 02:44:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d217a124-6154-4c61-a313-c61ea25df705</guid><dc:creator>Tamir Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
Eric, Ryan,&lt;/p&gt;

&lt;p&gt;
What chips (and their revisions) are you using? I thought you were
using an LPC2468, Eric? but what hardware revision?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/139249?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2009 22:52:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:56b19547-d1cd-452c-b36c-a3516d74e293</guid><dc:creator>Tamir Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
Eric, Ryan,&lt;/p&gt;

&lt;p&gt;
I found that a tick rate of 10 milliseconds yields a much more
stable system. I did not see any crashes so far with this tick rate,
but nevertheless this issue must be fixed and it will - Keil are busy
with it right now as far as I know.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/135848?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2009 16:20:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:066d3773-6b0e-47f9-b9d1-ae92a1314dc3</guid><dc:creator>Eric Severson</dc:creator><description>&lt;p&gt;&lt;p&gt;
This sounds a lot like what Tamir is finding.&lt;/p&gt;

&lt;p&gt;
Is there anyway that you can get this to happen in the simulator
and share a sample project? It would be really interesting to have
Keil take a look at this.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/125581?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2009 15:01:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6211cbd2-9eae-44f7-8693-b2e652988e40</guid><dc:creator>ryan williams</dc:creator><description>&lt;p&gt;&lt;p&gt;
i have removed all isr_xxx functions but the problem wasn&amp;#39;t solved
so i put them back in my code.&lt;/p&gt;

&lt;p&gt;
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.&lt;/p&gt;

&lt;p&gt;
i don&amp;#39;t have a support thread going yet because our support
expired this month. dunno if we are going to renew it yet.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/125586?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2009 10:39:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:85615ffd-3d7a-4aac-a5df-d7513671278c</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
Eric,&lt;/p&gt;

&lt;p&gt;
I have a situation in which the ready list contains entries that
point to themselves! very frustrating and problematic for the
product/client. I am running out of patience and what is infinitely
worse - time...&lt;/p&gt;

&lt;p&gt;
see here:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/docs/thread15337.asp"&gt;http://www.keil.com/forum/docs/thread15337.asp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
I really don&amp;#39;t know if this is the result of data corruption. it
is just too slick - always the same. the problem is easy to reproduce
on the product when the tick rate is 50 micro, but I have written a
separate test program that does not have it...! so - it is either
timing related, so data corruption, etc....&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/115093?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2009 09:14:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:44ea98e7-fe9a-42d2-90eb-143cc3539e6d</guid><dc:creator>Eric Severson</dc:creator><description>&lt;p&gt;&lt;p&gt;
You might try the latest RL-ARM and RVMDK (3.80). I see in the
release notes that they fixed some problems with isr_xxx
functions.&lt;/p&gt;

&lt;p&gt;
Unfortunately, version 3.80 did not fix our problems.&lt;/p&gt;

&lt;p&gt;
What microcontroller are you using?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/84665?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2009 08:56:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c21af0f0-7ecf-44c5-920e-14cf930c2ff5</guid><dc:creator>ryan williams</dc:creator><description>&lt;p&gt;&lt;p&gt;
yes, i am using isr_event_set and other isr_xxx functions often.
completely removing them will take some time but i will try it.&lt;/p&gt;

&lt;p&gt;
i have something like 10-15 tasks depending on user&amp;#39;s actions.&lt;/p&gt;

&lt;p&gt;
i will post if i can verify that something is a cause of this&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/77584?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2009 08:44:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:56e454c9-1c0c-488f-b1d0-75ab366d476d</guid><dc:creator>Eric Severson</dc:creator><description>&lt;p&gt;&lt;p&gt;
Well, yes and no. I don&amp;#39;t know what the direct cause of the
problem is, but I did manage to make it go away by doing one of two
things.&lt;/p&gt;

&lt;p&gt;
Either 1: removing my isr os calls from interrupts (namely
isr_event_set and isr_sem_send). Are you using either of these
functions?&lt;/p&gt;

&lt;p&gt;
OR, 2: consolidating some of our tasks so that we only had eight
running. How many tasks do you have running?&lt;/p&gt;

&lt;p&gt;
Either of these fixes completely removed the problem for us.
Strangely enough, setting all of our vectored interrupts to the same
priority made the problem happen much more frequently.&lt;/p&gt;

&lt;p&gt;
I should note that it is possible our code was corrupting the OS.
However, all of the os structures looked uncorrupted at the instant
of the problem. Keil has not had any luck tracking this down
themselves. But I recommend calling in and starting a case number.
You can have them reference my case: 438460.&lt;/p&gt;

&lt;p&gt;
Please keep me posted as you debug this. I am very interested in
finding the cause of this problem.&lt;/p&gt;

&lt;p&gt;
-Eric&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/56444?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2009 06:31:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0be16c06-db98-4d60-bb13-fc906618cd30</guid><dc:creator>ryan williams</dc:creator><description>&lt;p&gt;&lt;p&gt;
i&amp;#39;m having this exact problem also. have you found the
problem?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: os_get_first data abort (caused by os_rdy)</title><link>https://community.arm.com/thread/56434?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2009 12:21:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4f683155-6973-4f1a-860c-9272f118736c</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
maybe this one helps?&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/docs/thread15085.asp"&gt;http://www.keil.com/forum/docs/thread15085.asp&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>