We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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 simple? TIA
Hi, We already have the DLL working happily with XDATA and CODE memory capture (allowing for dynamic memory mapping and IO control). But we also have a specialist watchdog system which is to be emulated via a callback after x clock cycles to decrement it'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). The AgsiCreateTimer is called in the 'init' 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). The callback code is never called. We have also installed the latest uV2 code from the Keil website - but this made no difference :-( We have had a good look thru' the examples supplied from Keil's website and everything we do seems in order. Any help would be greatly appreciated. Thanks in advance, Gary Partis
Ahhhh......... Calling AgsiSetTimer in the init section does not work! Calling the set timer function in 'reset' does..... Ambiguous documentation...... But it is working now! ;-)