Sunday, August 23, 2009

Finally finally finally !!!

Finally I was able to program my P89V51RD2 with a USB-serial converter cable. I was using FlashMagic. I was unable to do it before as I thought that the converter cable should be FTDI chip based & mine was BAFO make. The controller was communicating with ease but not being programmed. Some People told me that non-FTDI based USB-serial converter cables have a handshaking problem in programming some devices. But one of my friends was successful in programming RD2 with BAFO cable.

Then I played around with some options in FlasgMagic. I tried to lower the baud rate first of all. It didnt work even at the lowest baud rate. Then I tried to change the interface type from None (ISP) to FDI USB-ICP-80C51ISP & various others. It didnt work either.

Then finally I went to "advanced options" under "options" menu in FlashMagic & unchecked "use DTR to control RST" under the "hardware config" tab:



& it worked! Then I even increased the Baud rate to 115200 for programming big hex files quickly. It's now working perfectly...

No comments:

Post a Comment