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
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
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.
As previously suggested, use a Debug Function
Or SAVE and LOAD: http://www.keil.com/support/man/docs/uv3/uv3_cm_save.htm
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.