Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: jess on February 08, 2007, 09:28:13 AM

Title: Problem for programming P89V51RD2
Post by: jess on February 08, 2007, 09:28:13 AM
Hello everyone,

I've got a problem. I'm working on a new board (with P89V51RD2) based on a older validated board (with P89C51RD2).
To program the old board, I used Flash Magic directly (I did not have to reset the P89C51RD2).
Now I want to program the P89V51RD2 on my new board. When I try to read the device signature, I've got a message : "Reset the device into ISP mode now". What is the way to follow ?

Another question (I'm just beginning in programming such micros) : I've got a code working on P89C51RD2 ; what must I do (excepting choosing the rigth device to get the .hex file) to obtain a .hex file working on P89V51RD2 ?

Thank you !

Jess
Title: Re: Problem for programming P89V51RD2
Post by: Andy Ayre on February 08, 2007, 02:56:10 PM
The ISP entry method is different on these devices than on the 89C51RD2. See the datasheet for details. If you wern't resetting your 89C51RD2 to program it, how were you placing it in ISP mode?
Title: Re: Problem for programming P89V51RD2
Post by: jess on February 14, 2007, 03:42:29 AM
Thank you for your answer but now it's ok !
Title: Re: Problem for programming P89V51RD2
Post by: Andy Ayre on February 14, 2007, 07:46:55 AM
Can you please post the solution for the benefit of future readers? Thanks. ;D

Andy