Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/27/07 06:32
Read: times


 
#143639 - P89C51RD2 and Flash-Magic
Responding to: ???'s previous message
My experience with Flash-Magic reprogramming an existing program that is using the UART:

Flash-Magic will try to place the chip into Boot mode but since there is data in the PC serial buffer the echo recognition process fails. My solution is to increase the initial hold-off time of PSEN and manually apply power to the chip during this period. So the existing program never starts, and Flash-Magic will perform happily. I use a RS232 Mini-Tester (bi-colour LEDS) in the line so that you actually see the DTR and RTS lines being toggled by Flash-Magic.

I think that both Flash-Magic and Flip will read the chip IDs etc but the programming commands use different subfunction codes in the 03 write function record. Also the security bit read subfunction is different so each programmer rejects the other manufacturer.

Your original post seems to suggest that Boot mode is not left after Flash-Magic failure. Again the mini-tester will show whether you have set the DTR and RTS true/false settings correctly. Please post a description of your hardware connections of DTR and RTS.

David

List of 14 messages in thread
TopicAuthorDate
Trouble with ISP with P89C51RC2 devices            01/01/70 00:00      
   Trouble with ISP with P89C51RC2 devices            01/01/70 00:00      
      diference between the Atmel's ISP and Phillips ISP            01/01/70 00:00      
         not totally correct            01/01/70 00:00      
   what is "Flash-ISP"?            01/01/70 00:00      
      Trouble with ISP with P89C51RC2 devices            01/01/70 00:00      
         P89C51RD2 and Flash-Magic            01/01/70 00:00      
            Trouble with ISP with P89C51RC2 devices            01/01/70 00:00      
   Oops            01/01/70 00:00      
   difference between the RD2s            01/01/70 00:00      
      RD2 and Flash magic works well            01/01/70 00:00      
          RD2 and Flash magic works well            01/01/70 00:00      
            Check for loose connections            01/01/70 00:00      
            what exactly did you set?            01/01/70 00:00      

Back to Subject List