Downloading procedure for p89v51rd2

Started by RAJANI, January 02, 2006, 03:16:02 AM

Previous topic - Next topic

RAJANI

I got recently p89v51rd2 mcu but i but unable to download thourgh isp mode.
observed in testing

1.oscillator is running  ok.
2. echoing on the terminal's screen letter is 'U'.
3. when erase the flash it gives flash is erase  complete.
4. I configure the baudrate 9600 using flashmagic.
4.when download the program its giving error message.
         Error message -unable to communicate (transmit/receive).
5.Is it require any bootloader?
6.Is there  any procedure to download the program?
7.what is need of serial number?


regards
rajani


Jan Waclawek

Dear Rajani (& Naga),

What is the value of crystal you are using? With certain values of clock it is better to use a lower baudrate (although 9600 should work pretty well with most of the common crystal values...)

Also, you should rule out the usual sources for programming errors, such as faulty/insufficient power supply, insufficient decoupling of supply pins, faulty reset etc.

Jan Waclawek

PS.: Alternatively, you can try downloading the P89V51RD2 from a suitable terminal emulator (hyperterm, tera term) by simply sending out the hexfile to it. Set a small delay after line (e.g. 100ms) and don't forget to erase beforehand (:0100000301FB).
For Tera Term, I have written a macro which enables to use it as a command line tool for downloading P89V51RD2 ( http://www.efton.sk/t0t1/sendhex.ttl ).



Post Edited (01-02-06 06:00)