This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to Moniter top 32 bytes of SRAM

Dear Sir,
I am devloping application using keil tool chain on
MCB 2130 [LPC2138 processor]. I am using phlips flash utility (using COM port) to load application prog. to the target device. I dont have JTAG debugger and JTAG device.

How can I moniter content of onchip SRAM [32 k]. I want to moniter SRAM because I need to check weather top 32 bytes of SRAM are reserved or not?

Please reply how can i moniter top 32 bytes of RAM, is there any provision in Keil IDE, I am using Eval version of Keil tool chain.

Best regards, and thanks in advance
TIM

Parents
  • Keil has the ISD51 and MON51 in-system monitors. These are about 5K of monitor code that you add to your application which talk to the debugger over one of the 8051 UARTs.

    Or you could write your own code. You don't describe what sort of interface your system has. A command-line interface over the UART is often useful for debugging -- or even just printf().

    The easiest way to be sure the RAM stays unused is to use the RESERVE directive in the linker so that nothing will be located to that address range.

Reply
  • Keil has the ISD51 and MON51 in-system monitors. These are about 5K of monitor code that you add to your application which talk to the debugger over one of the 8051 UARTs.

    Or you could write your own code. You don't describe what sort of interface your system has. A command-line interface over the UART is often useful for debugging -- or even just printf().

    The easiest way to be sure the RAM stays unused is to use the RESERVE directive in the linker so that nothing will be located to that address range.

Children
No data