i store my program in NV RAMWhere did you store your startup program (In internal ROM or external NV RAM)?
Are you going to clear the entire external (assuming 32KB, from your other post) or just a portion of it?
What is the size of the hex you programmed inside sram?

You can setup the timer after all initial program is finish and active it, when the time up then send a 0.1 second high pulse to I/O port, and the I/O pin connecting to the pin 3 of 555, and take the 555 away.thanks
but the chip already have a timer , can i put a command to erase ram in registers then delay it ?

this command "f" work if bootloader is activated wich is not the case of a runnig normalyI think I just found the datasheet of the DS5000 soft micro Module. See attached.
On page 7 of the PDF. There is a "F" command for "Fill embedded RAM block with constant".
Can't you just use this command to clear the NV RAM. After the timer expires, let the program jump to a place where you place a short program executing the "F" command to clear the block of RAM with "0". That should fullfill your goal.
I guess, the syntax should be something like "F start_addr, end_addr, constant"
And here is a programmer for the DS5000fp.
Allen.
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
| P | looking help on 8051 timer interrupt and switch input | Microcontrollers | 213 | |
| A | 8051 assembly timer program | Microcontrollers | 10 | |
|
|
Timer 0, mode 1 interrupt in 8051 | Microcontrollers | 22 | |
| A | [8051] how to know each mode and timer is selected tmod | Homework Help | 1 | |
|
|
8051 Assembly Language Timer Question (AT89S52) | Microcontrollers | 5 |