I am trying to simulate a PWM block using uVision2. I have my .cpp file(VC++ environment- in which I have the behaviour of PWM) and all the header files defined. When I compile it to get a DLL project - I get no errors. But when I test the same with a test code using uVision2 and the target as my DLL - I cannot see the output on debugging or any variables defined in my cpp files. When I try to see them in my watch window - i get "??????" what could be the solution to this? Thanks Regards, Ashish R. Dak
Can you not see your SFRs or VTREGs? Did you make sure you defined these using the AGSI API? FYI, I always define everything and build the DLL to make sure that my VTREGs and SFRs are visible in uVision2. Jon
It has happened to me. I set some breakpoint on every entry point to get the error.
"It has happened to me. I set some breakpoint on every entry point to get the error." What??
use VC6 to debug agsi dll
"use VC6 to debug agsi dll" I seem to remember having said that already - way back in 2001. If he hasn't got it working by now, I think it's probably a bit late to repeat that advice... ;-)
Oh,my god! The form of keil has kept this very old question for a long time. ~_~ I have make a C++ class to hold the agsi interface,and now every is easy!