<?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>AGSI software timers</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14898/agsi-software-timers</link><description> We have wrote an AGSI DLL to extend the IDE debugger for our custom hardware. 
 
The problem we have is get using AgsiCreateTimer amd AgsiSetTimer (with a small positive integer); is that our callback code _never_ gets called. 
 
Are we missing something</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: AGSI software timers</title><link>https://community.arm.com/thread/84292?ContentTypeID=1</link><pubDate>Sat, 20 Jul 2002 07:06:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:31c93530-c2c6-49cd-a02a-716d989cc388</guid><dc:creator>Gary Partis</dc:creator><description>&lt;p&gt;Ahhhh.........&lt;br /&gt;
&lt;br /&gt;
Calling AgsiSetTimer in the init section does not work! Calling the set timer function in &amp;#39;reset&amp;#39; does.....&lt;br /&gt;
&lt;br /&gt;
Ambiguous documentation......&lt;br /&gt;
&lt;br /&gt;
But it is working now! ;-)&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AGSI software timers</title><link>https://community.arm.com/thread/54546?ContentTypeID=1</link><pubDate>Sat, 20 Jul 2002 07:03:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5366450a-072d-4eed-9d8f-f2a8d97d9b7f</guid><dc:creator>Gary Partis</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
We already have the DLL working happily with XDATA and CODE memory capture (allowing for dynamic memory mapping and IO control).&lt;br /&gt;
&lt;br /&gt;
But we also have a specialist watchdog system which is to be emulated via a callback after x clock cycles to decrement it&amp;#39;s counter. We need precise timimgs due to the fact that 8051 test code needs written to aid in fault coverage (it is destined for an ASIC).&lt;br /&gt;
&lt;br /&gt;
The AgsiCreateTimer is called in the &amp;#39;init&amp;#39; section along with all memory watches, and then the AgsiSetTimer is called. Neither of these return error conditions (the handle from AgsiCreateTimer is a fairly large value and AgsiSetTimer returns TRUE).&lt;br /&gt;
&lt;br /&gt;
The callback code is never called.&lt;br /&gt;
&lt;br /&gt;
We have also installed the latest uV2 code from the Keil website - but this made no difference :-(&lt;br /&gt;
&lt;br /&gt;
We have had a good look thru&amp;#39; the examples supplied from Keil&amp;#39;s website and everything we do seems in order.&lt;br /&gt;
&lt;br /&gt;
Any help would be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance,&lt;br /&gt;
&lt;br /&gt;
Gary Partis&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AGSI software timers</title><link>https://community.arm.com/thread/38974?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2002 15:41:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:00aa1e45-c800-49b2-b085-c0fbd388d0aa</guid><dc:creator>Hans Schneebauer</dc:creator><description>&lt;p&gt;Please be sure to call AgsiCreateTimer only during the initialization of your AGSI DLL. The function AgsiSetTimer can then be used later on.&lt;br /&gt;
&lt;br /&gt;
With a simulated chip RESET, all software timers are disabled and must be set with another call to AgsiSetTimer.&lt;br /&gt;
&lt;br /&gt;
Also check the return values of these functions to see if the parameters are accepted.&lt;br /&gt;
&lt;br /&gt;
There are currently no known problems regarding these software timers.&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>