I have written my C code using uvision and tested it on the MCB517AC evaluation board. It works perfectly. But, when I use the .hex file( being created by uvision ) and program it into 89C52, through a Dataio Universal programmer, it works no more. Please help! The hardware setup for my 89C52 is a crystal 12 MHz connected to pin 18, 19. Pin 18 and 19 are also connected to a 27pF capacitor each, before being grounded. A push-down button and a 10uF capacitor is installed between 5V and the reset pin.
Did you change the Target Device and do a full rebuild of your whole Project?
I have changed the header file from <reg517a> to <at89x52.h>. I have changed from P4 to P3. I have ensured that all SFRs matches. I have done a full rebuild of the whole project. For the programming of the 89C52 chip using Dataio universal programmer, I have set the device to Atmel 89C52 and the format as Intel Hex 32. For yesterday, I have tried to program 'Blinky' example into 89C52, but it also does not work. Is the .hex file created by uvision not compatible to 89C52? Please help!!!
It must be worked ! That's compatible But be careful of doing a complete rebuild of your project after changing your device target.
View all questions in Keil forum