Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] How to program 89C2051-24SI (SMD SOIC20)

Status
Not open for further replies.

tpetar

Advanced Member level 7
Joined
Sep 27, 2010
Messages
6,417
Helped
1,713
Reputation
3,456
Reaction score
1,673
Trophy points
1,393
Location
Pancevo-Belgrade, Serbia
Activity points
37,363
I try with Sunrom programmer and no success!!! Get "Device detect timeout".
Programmer works fine with DIP 89c2051.
Also I try and blowit programmer which works fine for DIP (this programmer works in WinXP in BASCOM-8051, programmer only can program chip, cant erase, bits lock, read, verify).


Note:
I make DIP20 to SO20 adapter pin to pin with wires shorten as possible almost as DIP socket!!!
Adapter is checket all pins have contacts. 89c2051-24si is soldered on adapter!!! (connection 100%)
No short circuit!!!

Firmware is 4.4
Software is Proload 5.4


How to program 89c2051 smd ???
 
Last edited:

If your connection is right this programmer will program SMD also. please give circuit details for helping you.
 

This is photo of dip to soic adapter and one photo of iButton lock (project works fine).
Project perfectly works in DIP versions I create PCB in SMD version and all is ok except programming of 89c2051 in smd.
I get on sunrom programmer "Device detect timeout". Programmer works fine with 89c2051 dip, 89s51, 89s52.
DIP to soic adapter is checket no short circuit and all pins are 1:1 with contacts.

Next I will try other programmer with this adapter and other 89c2051-24si chip.
 

Attachments

  • DSCF0001.JPG
    DSCF0001.JPG
    1.2 MB · Views: 185
  • DSCF0005.JPG
    DSCF0005.JPG
    1.4 MB · Views: 72
  • DSCF0008.JPG
    DSCF0008.JPG
    1.4 MB · Views: 106
  • DSCF0012.JPG
    DSCF0012.JPG
    1.4 MB · Views: 116
  • DSCF0013.JPG
    DSCF0013.JPG
    1.5 MB · Views: 95
  • DSCF0017.JPG
    DSCF0017.JPG
    1.5 MB · Views: 75

I just program 89c2051-24SI SMD via my DIP20 to SO20, with BlowIt programmer and works fine.
After I try that programmed uC in project circuit and works like charm.
That means adapter and 89c2051 are ok!

Twilight zone with Sunrom 89serie programmer!!!
Something creapy is going with this programmer!!!

89serie programmer works fine with all dip (89s51,52,89c2051) and not with 89c2051 smd!
 

check your adopter pins are properly connecting or not in ZIF socket of the programmer. I think that is the only possibility of problem now.
 

I dont have ZIF socket I have DIP socket all checked for connections.

---------- Post added at 15:54 ---------- Previous post was at 15:48 ----------

I checked connection between bottom side of dip socket and upper side, then I check connection with adapter bottom side of pcb of programmer with pins on soldered 89c2051 smd all connected.
 

CONCLUSION !!!
Sunrom 89serie programmer cant program 89C2051-24SI SMD !!!

I supose this is because bad pcb design (single side used) long traces on pcb to 20-pin socket + traces on DIP20->SO20 adapter.
Response time is greater than programmer allow.
 

CONCLUSION !!!
Sunrom 89serie programmer cant program 89C2051-24SI SMD !!!

I supose this is because bad pcb design (single side used) long traces on pcb to 20-pin socket + traces on DIP20->SO20 adapter.
Response time is greater than programmer allow.

NOT TRUE!

if the above programmer works on the DIP version, it will also work on the smd version!
 

That is the twilight zone programmer works on DIP fine but for SMD give "Device detect timeout".

Listen carfelly if You following me I solder 89C2051-24SI on adapter PCB (traces shortes as possible almost as DIP) put into 20-pin socket and check all pin connection direct from pins on 89c2051-24SI on desired connection on PCB on top and bottom of PCB all OK!!! All traces and wires checked on PCB all OK.

---------- Post added at 13:47 ---------- Previous post was at 13:40 ----------

NOT TRUE!

if the above programmer works on the DIP version, it will also work on the smd version!

What smd chip (mark sign) You use on this programmer and explain how ?

This is theoretical sentence that uses as too many times:

---------- Post added at 14:28 ---------- Previous post was at 13:47 ----------

if the above programmer works on the DIP version, it will also work on the smd version!



If You read my older post :

-Checked PCB on all short circuit
-Checked PCB on all connections based on schema/circuit
-Checked PCB components (tested) on bottom side of PCB at solder point and on top side at pins and wires of resistors,zener,... all new parts I use always only new parts!!!
-Checked voltages on several point on PCB and on each IC.
-Working with DIP versions 89S51,89S52,89C2051 (Read,Write,Verify)
-Firmware S.S.4.4 (single sided PCB) 89S52
-Software ProLoad 5.4
-I didnt use ZIF socket I use DIP (also workable)
-All pins of 89C2051-24SI (SMD) direct soldered on adapter DIP to SO see picture above, checked connection
-With inserted adapter (with soldered chip on it) I test connection every pin on chip with desired longest point on PCB on top and bottom side, all ok.
-Adapter with smd chip working on other programmer fine.

-All inspection of PCB and components I cheked visualy and on contact with free eye, multimeter (volt/ohm), microscope x20, and eye magnifier x10


DIY SMD adapter may be problem on some programmers if there long traces.
Traces must be shortest as possible!!!
Adapter what I made, have shortest wires as possible!!!

I supose solution for this to edit software to increase more delay time, but this option dont exist (I dont know how). I search registry and found nothing. Maybe in proload.ini but I didnt find nothing usefull.

If you look at bottom side of PCB (single side) there is long traces to DIP20 socket! This certenly affect on response time (device detect timeout)
 
Last edited:

firmware V3 is available check the forum you will find it hear.
and make time related adjustment.
 

firmware V3 is available check the forum you will find it hear.
and make time related adjustment.

I search forum didnt find, found just posts about that.
I have in 89serie project folder I earlier collect older version of this programmer rev01 this version have IC 7406, this is first version of this programmer. There is also software ProLoad ver 2.1 and 89xx.hex firmware for this programmer.
Software 2.1 is incopatible with newer version of firmware, and in software no options for settings. Also version 3 of firmware have problems with some chips (how I found in forums that other people speak).

I cant find ProLoad 3.5 or just ver 3

I try to slowdown programmer with com port settings downgrading speed from 57600 to 9600 in proload.ini file and programmer slows down noticeably, but shows "Hardware Detect Timeout" (firmware chip communication fixed at 57600). When return to 57600 in ini file all the same as earlier (cant detect smd chip, DIP works fine)

---------- Post added at 20:01 ---------- Previous post was at 19:46 ----------

Definitely when I read some post in this forum and on net in global and based on my expirience this design of this programmer is full of bugs and problems. On one side I read that this is the best programmer and on other side I see lots of people with problems (of course there is lots of trivial problems with short circuits and connections, but there is people with problems like programmers works yesterday and today not, and resolve that with reprogramming firmware chip and all works fine again 8-O).

I need reliable programmer not this gaming with firmware versions and problems.
Chips 89c2051,89s51,89s52,89s53 are old chip no future improvements they are finalized and production is under question 89s53 atmel not recommend for new projects, 89c2051 migrate to in sys prog 89S2051. I whant to say that need only one good firmware code that works well and thats it, just like other programmers (only pc software update). This changing of firmware version telling me that there is lots of bugs. Sunrom have earlier forum about people with problems about programmer :shock:, now this forum is closed :roll: (make programmer, make pcb, make firmware, test read, write, erase,... and end of story, only pc software update). Maybe there is lots of bugs in PC software ProLoad :roll: I cant find anything else what can use this programmer. This programmer not supported in any other software compiler/programmer like example BASCOM,ICPROG,... and some people called this programmer professional :shock:.

I try everything no idea, for future using I will make other programmer EasyDownloader or ATP158 for 89C2051.

Of course tomorrow is new day I will try something else, perhaps something new "trying idea".
bye for now;-)
 
Last edited:

I have not tested smd because smd IC not available in our place
with firmware v2 knowns v3 I have tried 2051 but it can not detect the device
only working with firmware4.4 and proload 5.4 DIP tested.
now this is not open source so development is stop. but I think lots can be improved. from hardware design to software part.

Can you share all the old doc and information about this programmer
I am still working on this programmer in my free times.
 
Last edited:

Last night I freeze to death when I read lots of reports about Device detect timeout on this site.

I'm 100% sure that is problem in PCB design traces are to long and response time is big, and when put smd adapter that increse response time additional and make unfuncitional programmer with Device detect timeout.

Maybe golden pro pins for DIP sockets resolve this, I use classic DIP socket - low cost.

Solution for that is to somehow change and increse timeout value for device in firmware.
I think that firmware chip have a problem to detect my smd adapter and chip on it, and then just he forward error "device detect timeout", or pc software ProLoad waiting firmware chip to detect chip in programming socket in short time and if there is no short response ProLoad finish operation with "device detect timeout".

If I get will and time, I will make new PCB design based on that circuit, with shorten possible traces.

I try last night to debug via HyperTherminal, with no success.

I will try MCU_PG firmware v3.1

Today is new day with new choices.
 
Last edited:

Again I checked voltages on DIP 20-pin socket.

DIP20 (89C2051 DIP INSERTED):
==============================
- Voltages on Pin 10 (Gnd) and Pin 1 (VPP) - Voltage goes to 12,04V when programming/writing, when idling 5,05V
- Voltages on Pin 20 (VCC) and Pin 10 (Gnd) - 5,00V
Note : All programming processes completed sucessfully !!! VPP working very well!!!

For SMD VPP cannot be tested because "device detect timeout" he does not start VPP at 12V there si no detected chip!!!


After that I tryed:

To change firmware to ver 3.1 and nothing, in ProLoad 5.4 shows ver. 2.0 for this firmware, and this firmware dont see 20-pin socket at all. Also tryed MCU_PG software and the same "device detect timeout". After that I back it to 4.4 and all the same DIP works SMD not.

Tryed HyperTerminal debuging without success.

Next I will apply professional socket with golden pins in an attempt to decrese response time.


:???:
 

Make an new adopter for smd 2051 to insert in to 40pin socket. because some seller are offering only 40pin zif and 20pin adopter.
 

I will try that today.

This one what I used works on other programmers.

I even use rasp on pins of adapter to remove oxid if there, and make better contacts.

I just now soldering adapter pins to direct pins on firmware and 573 chip to reduce traces.
This will be very uglly for looking but just experimental.
 

I have experimented with firmware v3 but without success for 20pin devices. I have altered the timing. trace is not a problem I think.
hyper terminal is showing that program enters the 2051 loop but unable to read signature.
I have posted the firmware modified. changed the loop massages. still not solved the problem.
 

How are we to be sure that the device 89C2051 is good? Perhaps one needs to establish that second and even third piece, could not be programmed with SUNROM programer.
 

Do You know hyperterminal commands for this?

---------- Post added at 20:11 ---------- Previous post was at 20:09 ----------

Of course of course, the best way is to test on two indipendent programmers with multiple chips.

---------- Post added at 20:14 ---------- Previous post was at 20:11 ----------

I have 8 pieces on my own lager of 89C2051-24SI and I test four on Sunrom and on BlowIt programmer all works on BlowIt.

BlowIt dont have read,erase,lockbits this programmer only have write option. But when finished with writing I use that chip in some project device and works.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top