 | Discussion Forum |  |
|
|
AGSI: Watching far Memory AreaNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Srinivasa Reddy K Posted 17-Mar-2005 07:23 GMT Toolset None |  AGSI: Watching far Memory Area Srinivasa Reddy K Hi, We want use the AGSI Watch Memory functionality to access a variable in the area between 0xE00000 to 0xE007FF. We have written a sample program for Infineon XC164CS with AGSI memory watch for variables at address 0xC000 and 0xE00702. For the variable at address 0xC000, we are able to get the control to the DLL. For the variable at address 0xE00702, we are NOT able to get the control to the DLL.
Could any of you suggest a method inorder to solve this issue.
Regards Srinivasa Reddy | | Read-Only Author Hans Schneebauer Posted 1-Apr-2005 14:25 GMT Toolset C166 |  RE: AGSI: Watching far Memory Area Hans Schneebauer Before the Agsi.SetWatchOnMemory function can be used to define a callback function for memory accesses, the memory area must be mapped. Your code in the AgsiEntry function may look like:
if (!DefineAllInterrupts()) return(FALSE); // define all interrupts
Agsi.ExecuteCommand("MAP 0xE00000, 0xE007FF READ WRITE EXEC");
if (!DefineAllWatches()) return(FALSE); // define all watches
Hans | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|