Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: v.salaskar on October 16, 2006, 03:57:41 AM

Title: Flash memory is not retaining the program
Post by: v.salaskar on October 16, 2006, 03:57:41 AM
Hi!
Please help me in programming 89v51RD2 using ISP.

I am able to communicate with the 89v51RD2 using ISP and can download the program in the controller, but program works only after sending reset from ISP. Also the flash memory is not retaining the program after power switching.
Can anybody suggest any remedy.

Vinay

Title: Re: Flash memory is not retaining the program
Post by: Andy Ayre on October 16, 2006, 07:15:37 AM
You have to reset the device to get it to execute the code you have programmed. If resetting the device works but power cycling causing the program to not execute then that is very odd. Not sure what the cause would be. Does your program check for different reset types and do different things?

Title: Re: Flash memory is not retaining the program
Post by: erikm on October 16, 2006, 02:29:25 PM
just a guess

what would happen if FM is still connected?

Erik

Title: Re: Flash memory is not retaining the program
Post by: Jan Waclawek on October 17, 2006, 02:12:50 AM
Id' guess this is the classical problem of RC reset...

Jan Waclawek