Author Topic: 89V51RD2  (Read 93461 times)

jackyC

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
89V51RD2
« on: May 26, 2004, 02:40:15 PM »
I have no problem to program with flashmagic in ISP mode a P89C51RC2BDD on my target application but if I want program
a 89V51RD2 (with the good choice of

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 89V51RD2
« Reply #1 on: May 26, 2004, 03:49:40 PM »
I don't recognize the message "the uC is not in mode ISP, you must reset the ISP mode" because it doesn't make sense, so I doubt that is the exact message you are getting from Flash Magic.

Have you selected the 89V51RD2 in Flash Magic? If so then when you click on Start a small window will pop up telling you to reset the device now. When you reset the device that small window will automatically dissappear. Are you going through this process? If not then you have the wrong device selected.

Note that you should ensure you are using the latest version of Flash Magic as recently there were some improvements made for the 89V51RD2 and 89LV51RD2.

Embedded Systems Academy, Inc.
support at esacademy dot com

hilario

  • Guest
Re: 89V51RD2
« Reply #2 on: May 28, 2004, 03:17:06 AM »
I had the same probleme with a P89LV51RD2, and the probleme was thas this serie of microcontrolleurs didn't have the bootcode inside.
With an other serie, more recent i didn't have this probleme no more

Jeff Liu

  • Guest
Re: 89V51RD2
« Reply #3 on: June 14, 2004, 02:33:48 AM »
pls go below web-site to download the HEX code into your P89V51RD2 via parallel programmer.


http://www.semiconductors.philips.com/files/products/standard/microcontrollers/flash/philips_ice_block_1.hex

manish

  • Guest
Re: 89V51RD2
« Reply #4 on: July 01, 2004, 01:58:56 AM »
regarding to 89v51rd2,i have one problem that how to use SOFTICE mode feature of this uC. Also how start-up configuration bits means,how it is done?
if any available please send me so that i can have clear idea & if u know explain me in detailJeff Liu wrote:

> pls go below web-site to download the HEX code into your
> P89V51RD2 via parallel programmer.
>
>
> http://www.semiconductors.philips.com/files/products/standard/microcontrollers/flash/philips_ice_block_1.hex

manish

  • Guest
Re: 89V51RD2
« Reply #5 on: July 01, 2004, 01:59:55 AM »
regarding to 89v51rd2,i have one problem that how to use SOFTICE mode feature of this uC. Also how start-up configuration bits means,how it is done?
if any available please send me so that i can have clear idea & if u know explain me in detailJeff Liu wrote:

> pls go below web-site to download the HEX code into your
> P89V51RD2 via parallel programmer.
>
>
> http://www.semiconductors.philips.com/files/products/standard/microcontrollers/flash/philips_ice_block_1.hex

ketan

  • Guest
Re: 89V51RD2
« Reply #6 on: July 03, 2004, 03:34:52 AM »
i m having same problem with

89V51RD2


when i start downloading flashmagic shows "reset device in isp mode now"
but I can't make this .
 
 and i cant download program in flash manish wrote:

JB Hsia

  • Guest
Re: 89V51RD2
« Reply #7 on: July 15, 2004, 09:45:26 AM »
i counted very much on my luck when flash magic prompted a red message "reset the device into isp mode now"!!

When the red messsage prompted, i reset my V51RD2 (by pressing a reset button connected to the RST pin of my V51RD2) not everytime will my V51RD2 goes into isp.

When i failed i will retry several times, eventually isp will be engaged.

i also noticed that it is easier to engage isp with certain baud rate settings ie:57600 and 19200. By the way i am using 11.0592Mhz crystal running in 6clock.


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 89V51RD2
« Reply #8 on: July 15, 2004, 09:50:17 AM »
I'm not suprised it can sometimes fail, due to the way ISP entry works. After reset the device has to receive a 'U' within the watchdog timeout period - which is a function of the crystal frequency. So if you vary your crystal frequency, you will not only make the autobaud result at specific baud rates change, you will also change the reliability of the connection.

Embedded Systems Academy, Inc.
support at esacademy dot com

JB Hsia

  • Guest
Re: 89V51RD2
« Reply #9 on: July 15, 2004, 10:22:02 AM »
Thanks Andrew, perhaps u could help me with this:-

1) I am confused with the FST register. In page 59 of the datasheet,
there it mentioned reset value for FST is xxxxx0xxB but, the SB is bit 6,
and EDC is bit 3 how could the reset value gives me an unknown?

2) Couldn't i just set these two bits by writing 01001000B to FST register within my code? i tried but it is not working. if i could do this then i could allow my production operators to conveniently forget about the two check boxes in flash magic both the Set security bit 1 and the 6 clks/cycles.

3) Could you suggest me an example code to engage IAP within my code?
Lets say i want to set the security bit and set 6 clocks

Appreciate very much for your kind assistance, Andrew.

erikm

  • Guest
Re: 89V51RD2
« Reply #10 on: July 15, 2004, 10:59:28 AM »
from the datsheet: "Clock double mode can be enabled either by an external programmer or using IAP. When set, the EDC bit in FST register will indicate 6 clock mode."

So, the 'default' is what the clock mode is profgrammed to.

from the datrasheet: "Supports 12-clock (default)"
 so the bit in a unprogrammed chip will indicate 12clock mode.

It i amazing what you can find out if you STUDY the datasheet.  This was forund on a simple acrobat search on FST and then default.


Erik

JB Hsia

  • Guest
Re: 89V51RD2
« Reply #11 on: July 15, 2004, 11:13:25 AM »
Hi Erik, thanks for clearing up my brain blockage.

JB Hsia

  • Guest
Re: 89V51RD2
« Reply #12 on: July 15, 2004, 11:48:12 AM »
Hi Erik, Its me again, hope in the next Flash Magic release, i could have a check box in step 4 allowing me to automate the programming of serial number as i press Start in step 5.

Flash Magic is great and you guys are greatest!

Lambros sirivlis

  • Guest
Re: 89V51RD2
« Reply #13 on: July 15, 2004, 02:14:04 PM »
jackyc wrote:
"but if I want program
a 89V51RD2 (with the good choice of

Bineet Kumar

  • Guest
Re: 89V51RD2
« Reply #14 on: August 12, 2004, 03:22:13 AM »
Dear Sir,

1. What is this softICE mode in above stated IC and where to find literature on this.

2. I have enabled SoftICE mode using FlashMagic. How I can bring back my controller in ISP Mode without using forced ISP Mode booting via hardware at reset.

Kindly reply back to help me. Urgent.

Regards.


Bineet Kumar
bineetkumar@rediffmail.com