Hello, I need a help. I have AT89C51ED2 and FLIP programmer. But even if a have connected PC through RS232, nad through MAX 232 to processor I am not able to program it. If I select device and comunication a try to connect.It shows a message Timeout Error. Its on pins Rx and Tx. Is necessary to set any other pins to any voltage? Thank you very much. Cya TomZ
Hi, 1. Activate RST 2. Short the PSEN pin to GND 3. Deactivate RST 4. Release PSEN For further info, Atmel's data sheet http://www.atmel.com/dyn/resources/prod_documents/doc4257.pdf page 102 says the following:- The bootloader can be activated by two means: Hardware conditions or regular boot process. The Hardware conditions (EA = 1, PSEN = 0) during the Reset# falling edge force the on-chip bootloader execution. This allows an application to be built that will normally execute the end user's code but can be manually forced into default ISP operation. As PSEN is a an output port in normal operating mode after reset, user application should take care to release PSEN after falling edge of reset signal. The hardware conditions are sampled at reset signal falling edge, thus they can be released at any time when reset input is low. To ensure correct microcontroller startup, the PSEN pin should not be tied to ground during power-on (See Figure 43). Hope this helps, Mark.
I USE AT89C51ED2 WITH A SIMPLE INTERFACE, AND A BATCH FLIP COMMAND CALLED INSIDE uVISION. I HAVE ALSO HANDLE RTS-CTS FOR PSEN AND RST OF THE TARGET. IN THIS WAY A SIMPLE F7 COMPILE, DOWNLOAD AND START YOUR PROGRAM. I CAN SEND YOU ELECTRICAL DIAGRAM, MY SAMPLE BATCH FILE AND uVISION.UV2 CONFIGURATION. MY EMAIL IS AOXMAIL@LIBERO.IT
STOP SHOUTING!
STOP SHOUTING maybe we should introduce capital punishment :) Erik
maybe we should introduce capital punishment :) I think you mean ALL CAPITAL punishment. :-) Jon
These day, I try to programm AT89C51ED2. I meet several problems.First, my PC can't communicate with my target board stablely. The Flip always shows "Timeout". SO i have to change the autoisp to manual isp. Now,the FLIP always shows "cann't open port". Please help me.
I do not have the Atmel types memorized so I do not know if this is an USB chip. But there have been several posts that the Atmel USB capable chips come in two flavors "UART programmable" and "USB programmable". For some reason which flavor is hidden well enough that I recall >5 posts on this. Erik
"Now,the FLIP always shows "cann't open port"." Most likely you are running another program which has the port open, possibly even a second copy of Flip.