Keil Logo Arm Logo

Discussion Forum

AGSI: Watching far Memory Area

Next 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
New! AGSI: Watching far Memory Area
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
New! RE: AGSI: Watching far Memory Area
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

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.