Re: (Question)Keil51 and ke*il-MON51
Picstudent said:
Hello
One question !
Can we use MON51 and the other tool you have just mentioned (ISD51 with ke*il) can be used for single chip applications without XDATA?
Can we use it with a single 89C51 with no external RAM?
thanks
PIcstudent
The default configuration inside ISD51.H is suitable for classic 8051 devices with 256 bytes of on-chip DATA/IDATA and a standard 8051-compatible on-chip UART.
The requirements for ISD51 are:
500-700 bytes of program code—depending on the number of SFRs.
6 bytes stack space.
1 byte IDATA RAM.
2 bytes IDATA RAM for each software breakpoint defined.
Thus you ca use ISD51 without XRAM.
As a restriction you can see that even PDATA variables cannot be reviewed.
Added after 15 minutes:
SISWANTO said:
And now I wanna try ISD51, I have read the ISD
guidence, but it mention that our program and the
debugger must programmed in non-volatile memory
like as EPROM, FLASPROM and varian. Is it true??
Thanks Hock.
Siswanto
https://www.keil.com/support/man/docs/isd51/isd51_sw_config.htm
As Hock mentioned isd51 has very small debugger overhead (in 100 of bytes
only). That means your program burned inside microcontroller flash will contains additional 100 bytes. According with software configuration of ISD51 you must copy ISD51.A51 and ISD51.H from the \C51\ISD51 folder into your project folder.
If your program is located in external flash or Eprom for a micro with ROMLESS configuration, well the ISD51 must reside in that external memory.
But you must check the configuration settings in ISD51.H and modify them, if necessary, to match your target hardware.
Just stick ISDInit and ISDwait to your program and don't forget to call ISDcheck periodically which you may do in the main loop of your program.
Check projects that are available in the \KEIL\C51\ISD51\EXAMPLES\ folder. These include modified IDS51.H files for use with the different targets.
Oh don not forget, ISD51 is available starting with C51 Version 6.23. It is available only in the PK51 Professional Developer's Kit. Hope you have that one !