Microchip AT89S2051 AT89S4051 programmer

Go To Last Post
49 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

which (cheap) programmer I can use to programm AT89S2051 , AT89S4051 ? Or generally whole 51` InSystemProgrammable series from Microchip ?.

 

Jerry

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you not have success following the suggestions in your earlier thread ?

https://www.avrfreaks.net/forum/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, not yet. Nobody helped me. I ordered two programmers USBASP from Aliexpres but no one is working.

So, I am still seeking ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Back in 2007 I've found some DOS program that used few LPT (parallel port) lines, but i can't even remember the name. And it needed win 95/98/ME, as it used direct access to the LPT.

And later I bought Asix Presto https://www.asix.net/ - but it's not cheap (3412,20 Kč / 120€) - however it works.

 

On the other side, if my time is worth around 500Kč per hour, even single work day of troubleshooting is bigger loss than just invest into something what's working in matter of minutes.

Computers don't make errors - What they do they do on purpose.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, you are true. Asix has such programmer but  3500CZK + postal charge :) ... somewhat more expensive than I expected ...

https://www.asix.cz/prg_presto.htm

we can find also Elnec co.:

https://www.elnec.com/sk/

with similar prices ...

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i think that Beeprog2 for only 999 Euro will be the best choice :)

https://www.elnec.com/sk/product...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have you read EVERYTING in this post?

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes I did read everything:

 

"... On the other side, if my time is worth around 500Kč per hour, even single work day of troubleshooting is bigger loss than just invest into something what's working in matter of minutes...."

 

Programmer "Elektronic obecnice" : https://www.elektro-obecnice.cz/... AT89C2051/AT89C52 programmer using LPT port for MSDOS .... very nice tool... the biggest problem is ... old LPT port ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
(cheap)
Inexpensive?

Reset Line | AVRISP mkII

[bottom]

Note:

The AT89 devices that are supported by AVRISP mkII has the opposite reset polarity. If the AVRISP mkII has been used with a Atmel AVR and then connected to a AT89, it may start to blink orange indicating error on reset. When AT89 is selected in the programming dialog and e.g. Read Signature is performed the orange blinking will occur. The same applies to the opposite situation where AT89 is used before an AVR.

USB AVRISP XPII - Waveshare Wiki

East :

Waveshare USB AVRISP XPII kompatibel dengan AT AVRISP mkII dari ATMEL AVR ISP Programmer profesional In System Programmer|avr r448|atmel chipavr kipor - AliExpress

West :

Waveshare ATMEL AVR Programmer USB AVRISP XPII Compatible ATMEL Mk2 MKII Studio for sale online | eBay

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Idecided move my mind to Microchip PIC :)  this way will be much more easy ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

By the way "USB AVRISP XPII" doe NOT support 51` processor(s) programming.. so this tool does not know how to programm AT89S2051.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

If you had freedom to choose, you could just use arduino boards, it's quite easy to use - it's also why they are so popular.

Anyway for example Curiosity Nano boards are great (at least ARM and AVR based ones has debug capabilities, so you can do pause the program, inspect variables and registers and so on, I'm not sure about PIC variants and OCD). However this on chip debug capability can be a huge help for begginers too.

Computers don't make errors - What they do they do on purpose.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, Arduino, great tool. I will try it.

I found one possible programmr for 51 series:  https://www.mikroe.com/mikroprog...

 

I am very sad because all Aliexpress sellers for USBASP declare (have declare / declared / are declaring)  that their programmer USBASP is capable to programm AT89S2051/S4051 but it is NOT true.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

wou someone " newbie123 "  sent me this:

 

https://www.tindie.com/products/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

used AVRdude program

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I would like to conclude my many weeks/months long effort to find suitable and cheap programmer for AT89S2051.
There is my story:

 

1/ I selected apparently easy way - I ordered USBASP programmer from Aliexpress + 2 pieces of AT89S2051 + crystal 16MHz
+ small PCB 7x5cm with holes + connectors + ZIF socket etc.
After 8 weeks waiting I received the programmer - blue printed circuit board. :) ghastly sexy.

 

2/ I created my own simple DEV board using the components from Aliexpress.

 

3/ I installed driver for USBASP programmer using Zadig software (https://zadig.akeo.ie/) I found on internet.
I downloaded recommended ProgISP 1.72 and I run it. I connected all together i.e. USBASP + DevBoard + AT89S2051 inside it.

 

4/ And ..... BIG disappointment appeared :) Unfortunately, the ProgISP announced an ERROR - no programmer found.
I received identical errors from AvrDude, eXtremeBurner and many other programming software.
I set to re-test everything ... many times ... and .. finally I was totaly frustrated and desperate.
So, I tried to find a help on AvrFreaks but ... almost nothing ... one respondent offered me a personal help ...
I ordered another USBASP programmer from Aliexpress, but this programmer burned out when I pushed it into USB port - probably
deffective piece.

 

5/ ... after 12 weeks of total "system" frustration .... :) and flaming communication with Aliexpress sellers and AvrFreaks and
with the regular brick from AvrFreaks ... I finally saw the ligth at the end of the dark-tunel ...

 

6/ The regular brick sent me his own 10 years old USBASP programmer + firware (firmware_kbv.hex). Hurey !!! The programmer works !!! :)
Using this programmer and firmware which he sent me (firmware_kbv.hex) I re-programmed the USBASP programmer from Aliexpress using
ProgISP 1.72 and ... wiola ! the USBASP programmer from Aliexpress set to work properly. This means that some (maybe ALL) Aliexpress
sellers selling the USBASP programmers with WRONG and functionless firmware ... maybe yes, maybe no... There is NO way how to use the
single programmer from Aliexpress because it is hardware with functionless firmware. Several Aliexpress sellers sent me BaiduDISK package
for Windows, but everything was in Chinese and I do not speak Chinese - biggest problem. It means that someone (3rd person) has to help. Maybe Arduino
can help, but I did not test it.  Of course, there are many commercial programmers which work perfectly, but many times more expensive.
The chiepest is microe.com - only 69USD + postal charge.
I thought, that if the USBASP programmer has USB connector + Bootloader and ISP capability it can be ITSELF programmed using bootloader
via USB and a writer program (avrdude) under windows/linux, but it is NOT true :(. I need a programmer (or arduino) to programm the USBASP
programmer. it is really very complicated. Yes, there is the fisch.de, but it is, indeed, not possible to order the USBASP programmer.

 

7/ So, I decided tu put on public some useful sw + info which I found on internet, maybe this will help to someone:

 

https://uloz.to/file/E1eiFRAK0Ia...
https://ulozto.net/fm#/detail/xF...

or

https://uloz.to/file/KyxAKOIsGOr...
https://ulozto.net/fm#/my-files/...

 

Content of the rar file: Once a man has fully working USBASP programmer, the recipe "how to" is simple: insert USBASP into USB port of a computer (with e.g. windows)
and run Zadig and select menu Options / ListAllDevices and select USBASP + install driver. E.g. libusbK works for me. For AvrDude there is an avrdude
config file with necessary AT89S2051 definitions +  Microchip Assembler 8051 + AvrDude + AvrDudes (recompiled for W10.NET4.8) + ProgISP 1.72 + many others.
The biggest problem is that a man needs "a programmer" to re-programm the functionless USBASP programmer from Aliexpress.
It is really biggest iffy problem ever. On the other hand, once in far future the Alixpress sellers will understand ....  

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Most people here would say "use an AVR because they are easy to work with" (this is, after all, an AVR support board!)

 

(PS cross posting this answer as you cross posted too ;-)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did your PC still had serial and parallel port ? 

JerryMouse wrote:
The biggest problem is that a man needs "a programmer" to re-programm the functionless USBASP programmer from Aliexpress.
Nope,there’s numberous ways to program AT89(C)/(S) ICs.

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

Last Edited: Sat. May 7, 2022 - 11:48 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have MSI MPG X570 GAMING PLUS, so my MB has one COM port. But the situation is identical. I am not sure if the USBASP programmer is capable co operate in connection with COM port.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

from Aliexpres but no one is working.

 

Why are you complaining? 

 

You get what you have paid.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"...Why are you complaining? ,.... You get what you have paid..."

 

 

it is cruel ...  in my country the seller has to inform the byuer that the product is "deffective" ... this is the law/doom !!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here is a programmer that should do the trick

 

https://www.mikroe.com/mikroprog...

 

also

 

http://mcu8051ide.sourceforge.ne...

 

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
I have MSI MPG X570 GAMING PLUS, so my MB has one COM port.
.There’s Pony prog.http://www.lancos.com/prog.html.  which is used Com. Cut your small PCB 7x5 cm a part and bought the components at electronic store. It work with AT89S.I personally tested with AT90S(old one) and AT89S were worked flawlessly.

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

Last Edited: Sat. May 7, 2022 - 07:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Unfortunately, there is no AT89S2051/AT89S4051 support for PonyProg.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
Unfortunately, there is no AT89S2051/AT89S4051 support for PonyProg.
Download the new one.It support S2051 and S4051. 

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

I decided move my mind to Microchip PIC :)  this way will be much more easy ...

Look at my www.tokopedia.com/madagang.Had some Microchip.Cheap price and you will get programmer,crystals and small bread board with quantities order.Only 2,3 US$ per piece.

Attachment(s): 

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

Last Edited: Sun. May 8, 2022 - 09:09 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hm suspicious ... I see this:

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Jeckson wrote:
Download the new one.It support S2051 and S4051.

 

Hi Jeckson, let me be allowed to not believe this 'information'.

 

Can you document this claim, please.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hm interesting .. there is only one small problem ... I do not speak Klingon language laugh

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

grohote wrote:

Hi Jeckson, let me be allowed to not believe this 'information'.

 

Can you document this claim, please.

The Pony prog works with AT89S.As long as SPI.

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
hm suspicious ... I see this:
Use Proxy or VPN to www.tokopedia.com/madagang

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hm yes  PIC16F877A  Rp 30.000   :)

but postal charge will be 50 Euro :)

 

https://www.kurzy.cz/kurzy-men/

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Jeckson wrote:
The Pony prog works with AT89S.As long as SPI

 

So what? I have installed PonyProg for M8. Open it, click Device, select AT89S micro, then you will realize that it is unfit for both S2051 and S4051.

Or, visit LancOS page to re-check...  it is not the same device as your AT89S51/52.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
but postal charge will be 50 Euro :)
Nope,only 1-2 US$.

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

grohote wrote:
Or, visit LancOS page to re-check...  it is not the same device as your AT89S51/52.
yes As I mention at another thread.I never used AT89S2051/S4051 cause >than S51/S52/S53 price.But the C2051 only 0,35 US$ here.Consider to install from my FD again,possibly to change for S2051/S4051.

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I already have the programmer from Aliexpress - USBASP and is working ok - it is capable to programm the AT89S2051/AT89S4051. I am fully satisfied and happy.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

I already have the programmer from Aliexpress - USBASP and is working ok - it is capable to programm the AT89S2051/AT89S4051. I am fully satisfied and happy.

yes

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I do not know why any uc lover should flirt with any device which is not programmable and debuggable.

 

I started with M16/M8 on PonyProg, it worked for a few lines program, but why to wait 30 seconds /or more/ for any programming? Next step was a logical and normal: JTAGICE MKII which can shrink 30s to 2s plus it can debug, which is priceless. It is important, when the code is your design, not shoveled from other sources.

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

why ? why ? why ? why ?  ... too many questions ...

Just image I am unemployed almost-homeless and this is my hobby :) :) :) :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am glad that your USBASP does work. One day you may realize that some devices, and some tools are just... better.

 

But, it should come a natural way.

 

My most precious program I started on ATtiny13, and today after 20 years of modifications and testing (with M16) the size is 7k, so I use Mega88, perhaps it will continue on M328. Seems that your device is /terribly/ alone - family of one only, but I may be wrong, I do not know how non-AVR works.

Last Edited: Sun. May 8, 2022 - 05:59 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes, alone .... :)  but still 8051 :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
but still 8051

 

You should not be that sentimental.

 

The reason why I switched to AVR (from Z80) was ADC. Seems that your AT89S2051 is also without ADC, obsolete.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes, I know. My next progress will be headed to the AVR :) I sevected AtMega8535 :) this chip has ADC.

However, the first thing I have to do is to find wood enough to survive this years winter.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
Seems that your AT89S2051 is also without ADC, obsolete.
There’s comparator(+ext.parts) at 2051 for ADC.

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

Last Edited: Mon. May 9, 2022 - 07:00 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Jeckson wrote:
There’s comparator(+ext.parts) at 2051 for ADC.

 

Engage 8 pins for D/A convertor (R-2R), total of 24 resistors ... an excellent scholar project.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

grohote wrote:

The reason why I switched to AVR (from Z80) was ADC. Seems that your AT89S2051 is also without ADC, obsolete.

 

But you can at least buy them.

 

I could have 2,731 pcs of AT89S2051 sitting on my bench by this time tomorrow. If I wanted a similar small pin-count AVR I'd be waiting until the end of September.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
yes, I know. My next progress will be headed to the AVR :) I sevected AtMega8535 :) this chip has ADC.
Are you on a trip back in time, recreating micro development of yesteryear? What on Earth would make you choose 8535 in 2022 ? If you want to enjoy AVR just get an Arduino 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:

What on Earth would make you choose 8535 in 2022 ?

yes,expecially at Europe(Eropa).

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

Last Edited: Mon. May 9, 2022 - 03:37 PM