AT89C51RD2-SLSUM Microchip Technology / Atmel 8-bit Microcontrollers - MCU 64kB Flash 2048B RAM 2.7V-5.5V datasheet, inventory, & pricing. I have a AT89C51RD2 microcontroller but accidentally disconnected a VCC or GND to pin connection and now RS232 communication is not possible. I do not remember what the connection was exactly but it was VCC or GND to some pin. Does anyone know what the connection could be? I am using a plain RS232 cable. My final goal is to load a hex file using FLIP to the microcontroller. Free one is available here: h**p://www.kmitl.ac.th/~kswichit/89prog/index.html But you need to change the DIP socket to PLCC socket. Hope it's helpful.:) Did anybody ever faced this probelm with the software of the above programmer? When ever I try to open hex file generated by Keil, the software cannot read the file properly and shows wrong data in the memory address. Where as it can easily hex file generated by ASM51. Anybody what would be the problem? Hi enjoy, You don't need any additional pcb. The FLIP software performs In-System Programming through RS232 interfaces. That is, you load the program into AT89C51RD2 after has been soldered on PCB, every time you wish, obvious when particular harware conditions are met (on RESET and /PSEN pins - page 102 of ). Read the Atmel data sheet and FLIP help file. You'll end up performing flash updates from inside embedded software IDE ke*il uVisi*on2 using BatchISP functions provided by FLIP. If you're confused after reading come back with questions. The circuit diagram perform a flash update through serial communications based on ROM bootloader of AT89C51RD2. The boot process hardware conditions is controlled by FLIP AutoISP mechanism so that you do not have to manually set them. Open the Atmel FLIP 2.4.2 program. Go to Settings -> Preference and check the box ISP hardware conditions controlled by Flip Press F2 or go to Device -> Select and choose AT89C51RD2 Press F3 or go to Settings -> Communications -> RS232 Set the appropiate COM port and Baud Rate according to your target hardware oscillator frequency (see the table inside Flip User's Manual - Setting Up the RS232 Interface) If AutoIsp has been activated, the Manual Sync checkbox is disabled. Click Connect. If everythings goes OK then you'll see Device parameters frame on the right of the main window filled with informations and Start Application button turns red. Set the parameters according to your needs (including your hex file) and click the Run button. You can play a little in demo mode by choosing Settings -> Enter Demo Mode where you can execute commands without any target hardware connected to the PC. Use a straight serial cable, not null modem. Hi Jack//ani, The program has been compiled for AT89C2051 driven by a clock of 24Mhz.:0003F8:0C000300787FE4F6D8FD4AF8:0C00BB000A083F065B4F666D7D077F6FF3:01:10008F00E4F590F5B0E4FF8FB0E4FE74082EF8E6C7:10009F00F590E4FDFC11C80DBD00010CBC27F6BDA9:0C00AF0010F30EBE0AE50FBF03DD80D980:008FE493A3F8E493A1F278:DFF48029E493A3F85407240CC8C333F2:100F44F456800146F6DFC1:100BBBE47E96:9360BCA3FF541FFEE493B6:10010ECF54C025E060A840B8E493A37D:10006F00FAE493A3F8E493A3C8C582C8CAC583CAA8:10007F00F0A3C8C582C8CAC583CADFE9DEE780BE60:01:00000001FF. Hi enjoy, Yes, you can program AT89C51RC2, too. The straight cable is what the name says, a cable with 9 wires connected straight. Pin1 to pin1, pin2 with pin2, and so on up to pin9 with pin9. In the FLIP help file (even if you're amateur you can read a help file) you'll find a table with the baud rate used during bootload procedure that must match your xtal clock frequency for a proper communication. Remember, the FLIP software performs flash updates without removing the microcontroller from the target PCB. ![]() Thus you can choose whatever Xtal clock is suitable for your application. You don't need one special for flash updates and one for running application. I've attached the circuit diagram with MAX232. Connect jumper on pins (2-3) of JP1 loader pinhead. Push the Reset Button On Flip software click connect. This Jumper sets the Loader activation method. The Jumper is connected to the PSEN pin of the MCU which is tested after each reset and indicates whether the Loader should be activated (program starts at the last 1kB of Flash program memory) or not (program starts at the beginning of the Flash program memory). Roy stuart glimpse 11 rarest. The loader is activated if the PSEN pin is connected to 0 (GND). If the Jumper is in LDR (1-2) position, the PSEN pin is controlled through the MAX232 by the CTS signal from serial port of the PC. The PSEN pin is then controlled automatically from the Flasher program. If the Jumper is in STD (2-3) position, The PSEN pin is connected to GND.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |