DIY Electronics Message Board
Register  |   |   |  Latest Topics
 
 
 


Reply
  Author   Comment   Page 1 of 2      1   2   Next
briansune

Registered:
Posts: 14
Reply with quote  #1 
My kit cannot detect the 89c52, i can write the 89c2051 or 4051 but not the 89c52. Can any one have me? I am not sure the chip is bad or no. Thanks
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #2 
Maybe your 89C52 is faulty - can you try another one?

Also, what is the full part number for your 89C52?

How long have you had the K123 kit?
Did you assemble it yourself?
Have you ever used it to program 89C52?
briansune

Registered:
Posts: 14
Reply with quote  #3 
i brought the kit at 6/2012, and i had written several 89c2051 and 4051, but never tried on the 89c52.
The 89c52 is marked with: Atmel AT89c52 24pc 0206.

I did tried to assemble the kit or changed any components. I don't understand, why i can handle the 2051/4051, but not the 89c51,52.
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #4 
You must have assembly problem.

There are extra components and connections to handle the 89C52 which are not used by 2051. For example, the 89C52 uses IC2, 4MHz crystal plus some different connections to IC1 (the controller on the programmer).

You need to check all these extra components and connections. The main reason will be bad or missing solder joint. Also chack that IC2 is sitting correctly in the IC socket.
briansune

Registered:
Posts: 14
Reply with quote  #5 
Sorry Sorry typo, I did not tried to assemble the kit or changed any components
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #6 
So, did you buy the kit fully assembled? Where did you buy it?
briansune

Registered:
Posts: 14
Reply with quote  #7 
Sorry for late reply: i brought it from HK WECL SHOP; the kit requires me to solder the remain parts, the IC it comes with is a 89C51 which is match with the data sheet. I am not sure the meaning of fully assembled, but i can sure the ic,which it comes with do not require any further  hex file writing or replace any components.

So the main question is why the kit can only write the 20dip IC but not the 40 ones?
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #8 
The kit is designed to program both 20-pin DIP AND the 40-pin DIP ICs, as per the documentation. If it doesn't then there is a hardware fault with the programmer.

The 89C51 chip supplied with the kit is the MCU that controls the kit, does the programming and communicates with the PC via serial port.

Do you have a blank 89C51 chip to try? If so, does the programmer recognise it when you do a 'Blank' check?
briansune

Registered:
Posts: 14
Reply with quote  #9 

Re:does the programming and communicates with the PC via serial port
Ys

Re:
a blank 89C51 chip to try? If so, does the programmer recognize it when you do a 'Blank' check?

Although i had inserted the 89C52 and tried to blank check, read, program. all the action returns "cannot detect device"

So i had tried to use M button to choose the chips 52, 1 ; 89C52 & programed at 12V. But after several testing, the chip does not contains any hex file.

 

So how can i shooting the kit?

briansune

Registered:
Posts: 14
Reply with quote  #10 
Frank? Please i really need to write the 89C52 and i had spent a lot of time on this kit already
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #11 
I have not asked about the power supply you are using to power the kit. The power input to the kit needs to be AT LEAST 16VDC. So connect your power supply and measure the voltage at connector X1 (DC power jack). If less than 16VDC then use another supply. Most unregulated 12VDC plugpacks will give around 16 volts at light loads.

There are two possibilities - either the 89C52 chip you are trying to program is faulty or there is a hardware fault with the programmer itself.

Please tell me the EXACT part number of the 89C52 chip you are trying to program.

Most problems with kits is soldering or components incorrectly inserted. Check your kit very carefully for bad solder joints or solder 'bridges'.

First thing you need to do is try another brand new 89C52 chip. All you have to do is insert the chip into the socket and do a blank check. If that works then the programmer is OK.

If the new chip also fails then there is a hardware problem with the programmer.

The extra components that are used when programming 40-pin chips are:
1. IC2
2. crystal Y2
3. capacitors C12/13
4. programming socket SKT1

First thing to do is check that these components are soldered correctly. Check that IC2 is inserted the correct way into its IC socket.

Next thing to do is check ALL connections that run to SKT1 (40 pin programming socket). Disconnect the programmer from power and the PC and use a multimeter to measure the connections from each pin on SKT1 to wherever it is connected at the other end. Use the circuit diagram to see what these connections are and where they connect.

briansune

Registered:
Posts: 14
Reply with quote  #12 

Thz Frank!

The problem is solved, which the 89C52 is fail. I don't know why it fails, but the chip is new. No-matter why it happens, i can continue my project. Really Thanks For helping

 

Regard 

briansune

Registered:
Posts: 14
Reply with quote  #13 

Sorry Frank, I want to know how does the kit sense the chip, what do you use in that part. I think the kit is not 100% working. I tried to change the chip into 89C51 or 55. And the above problem is still happening, so i think the main problem is the detection program or the detection hardware goes down. And what does the function of 74HC57? And could i change the 4MHz crystal into 12MHz?

 

There are several things that i am confirmed , which is the power supply is 18Vdc and all the soldering is fine. All the ports or trace is connected to the correct place.

Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #14 
I don't understand what is going on. You said that you tried a new chip and it worked. But now it doesn't work????

Device detection is done by reading out the device signature from the chip.

Are you using Atmel chips?
briansune

Registered:
Posts: 14
Reply with quote  #15 
Ofcause, I just change the 89C52 into 89C51, and tried to write the chip. The problem happens again? The chip also written as AT89C51. The AT89C52 model is written as  AT89C52, 24PC, 0206 and the At89C51 is written as AT89C51, 24PI 0610. So would it possible that the kit is not support all the chip or some ICs is down?
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Thank you for visiting.