HI friends,
i am using AT89s52 (44 pin TQFP package) and i want to program that microcontroller for that i have googled so much time and found a circuit in <http://www.ikalogic.com/isp.php> and i connected my micro controller as shown in fig 2 in that website but after running that software to write the hex file it is giving an error <address failed at 0000h>, i dont understand what is this error, can any suggest me whether is there any way to program 89s52 using serial communication with pc(using max232).
I m also running around the same problem, i also have AT89S52 microcontroller and have same problem for finding usable solution for programming it.
I also did lot of goggling and found lot of incomplete information. i have also come across the link you have mentioned, i think you haven't read out the comments section for that page, there many people complained the same thing that you have encounter.
My problem is i don't want to have solution with Parallel port as my computer does not have one, i also don't want a solution which includes other controller on board (with firmware) as then its the same problem to program the firmware in that controller.
if you find something like solution with USB or Serial without inbetween controller, just write me at maxchirag@yahoo.co.in.
I m still doing googling on that. if i will find something , will post here.
Have you build the cable by yourself or you have purchased it from somewhere else?
In case you have built it yourself, can you share the circuit (not the schematic) diagram with me? i have built the circuit according to the same diagram but its not working (see my circuit attached), i would like to fault trace that circuit and will take your circuit as a reference.
be more specific to your question, that will help people answer it properly,
anyway, for me i use Keil IDE for my application development. but Keil is not free software.
for programming in C, you need a cross compiler to compile your C code for 89S52 (or any other controller) there are lot of free cross compiler available. google on cross compiler for 89S52.