Discussion Forum

How to clear RAM Memory in Debugging Mode

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
pak pp
Posted
6-Feb-2007 12:22 GMT
Toolset
C51
New! How to clear RAM Memory in Debugging Mode

Hi, I used C8051F005 development kit and Keil IDE. I tried to test assembly code in debugging mode and had some problem with memory window. Does anyone know about how to clear RAM content of Memory windows (from View Menu)? Can I clear all content of RAM by one command? Please help me.

Thanks,
pak

Read-Only
Author
Andy Neil
Posted
6-Feb-2007 13:00 GMT
Toolset
C51
New! RE: How to clear RAM Memory in Debugging Mode

IF it is important to your application, then your application should do it!

Otherwise, how about a Debug Function?

http://www.keil.com/support/man/docs/uv3/uv3_debug_functions.htm

Read-Only
Author
pak pp
Posted
6-Feb-2007 15:05 GMT
Toolset
C51
New! RE: How to clear RAM Memory in Debugging Mode

Hi, Thank for info, Actuall I used Keil IDE and Silicon Laboratories IDE as well. I prefer to use Keil IDE because of more features. The problem is that I cannot clear content of RAM in memory window while hardware-debugging. If I used Sil Lab IDE, I can clear content of RAM by "Memory Fill" from Tools menu. Does anyone know how to fill the content of RAM with FF in Keil?

ps: I can change each contect of RAM by double clicking it but not so easy for whole contents.

Thanks,
pak

Read-Only
Author
Andy Neil
Posted
6-Feb-2007 16:01 GMT
Toolset
C51
New! RE: How to clear RAM Memory in Debugging Mode

As previously suggested, use a Debug Function

Or SAVE and LOAD:
http://www.keil.com/support/man/docs/uv3/uv3_cm_save.htm

Read-Only
Author
pak pp
Posted
7-Feb-2007 08:41 GMT
Toolset
C51
New! RE: How to clear RAM Memory in Debugging Mode

Thank you, Andy. That commands are really helpful. It is more helpful if you use the following command: DEFINE BUTTON "Save RAM", "SAVE C:\RAM.HEX I:0x00,0x7f" . It will save time too.

Thanks,
pak

Next Thread | Thread List | Previous Thread Start a Thread | Settings