Hello,
I would like to use AT89S2051 processor. Which programmer I can use ?
USBISP AVR Programmer ? The biggest problem is that this processor has
ISP capability but it is not included in MicrochipStudio.
Jerry
Hello,
I would like to use AT89S2051 processor. Which programmer I can use ?
USBISP AVR Programmer ? The biggest problem is that this processor has
ISP capability but it is not included in MicrochipStudio.
Jerry
but it is not included in MicrochipStudio.
That is for AVR, AVR32 and ARM, not 8051's
...AT89S2051...AVR Programmer...
The AT89 series is not an AVR.
Can I ask, why that chip?
Great answer. I am much more clever now :)
So, once again. Which cheap programmer I can use to programm AT89S2051 processor ???? :)
I hope that there is at least one clever man :)
Why ? it is direct replacement for older AT89C2051 and is also 8051 based aschitecture .. and has ISP capability
But is NOT an AVR device, so you seem to have lost your way on the journey.
So, once again. Which cheap programmer I can use to programm AT89S2051 processor ???? :)
" ... But is NOT an AVR device, so you seem to have lost your way on the journey.... "
it was very cruel reply ... I really need help .. :(
woooooooooou finally ..
"https://www.quaxio.com/programmi..."
but there is one small snag .. .I have no Arduino :(
...but there is one small snag .. .I have no Arduino :(
Time to buy one then? They meet your 'cheap' specification.
Arduino costs 36 USD + postal charges ... it is terrible expensive
Arduino costs 36 USD + postal charges ... it is terrible expensive
As you haven't filled in your location in your profile we can only guess where you live but where I am...
I live in Czech republic. 6.49 Great British Pounds is equal to 194.7 CZK. Postal charge is 12 GBP. 195 + 360 = 555 CZK ....
I live in Czech republic. 6.49 Great British Pounds is equal to 194.7 CZK. Postal charge is 12 GBP. 195 + 360 = 555 CZK ....
Any better? Looking on Aliexpress.
Surely there are Ebay shops in the Czech Republic.
Or online hobbyist shops.
I can buy an Arduino from China very cheap. I just have to wait for 12-42 days for it to arrive.
Or I can buy from a UK online shop for a higher price. But it arrives in 1-3 days.
I can understand the problem if you lived in Outer Mongolia or remote parts of Africa.
Oh, I think that I wrote firmware for a "USBASP" to program AT89S2051 (some years ago).
But you would still need another programmer to install the firmware. e.g. an Arduino.
David.
I would like to use AT89S2051 processor.
Why that particular processor?
Back in the day, http://www.8052mcu.com would have been the place to ask - but that's now derelict.
Might this not be a clue that 8051 might not be the best option to choose ... ?
Anyhow, back to the question, the place to start is always the Product Page:
https://www.avrfreaks.net/commen...
https://www.avrfreaks.net/commen...
In this case:
yes, I live in total backwoods/backwater ... life is cruel ... and as an "almost homelss" it is very difficult to have permanent address
it takes almost 6-9 monts to deliver anything using Aliexpress to our country :( not the 12-42 days
I can buy Arduino NANO:
https://www.gme.cz/klon-arduino-...
can you send me the programm for it ? it is for Arduino a nd for USBASP
I can buy e.g. this:
https://www.aliexpress.com/item/...
on the other hand ... the AT89S2051 has ISP and MicrochipStudio it sholud be capable to programm the AT89S2051 if I add "somehow" the definition file AT89S2051.xml ...
MicrochipStudio it sholud be capable to programm the AT89S2051
Why "should" it ?
You probably could set it up as an "external tool", but you'd still need to find that tool - so why not just use it direct?
Even if you got that set up, that's all Microchip Studio would do - it doesn't really seem worthwhile to have to start up MS just to do programming?
is it too expensive for me .. the bpmmicro.com
I am very very very sad :(
According to this page...
https://www.pocketmagic.net/chea...
...a USBAsp, when driven by Avrdude, will program the AT89S2051.
Job done.
According to this page...
https://www.pocketmagic.net/chea...
...a USBAsp, when driven by Avrdude, will program the AT89S2051.
Job done.
I am VERY sceptical. The link quotes AT89S8253, AT89S4051, AT89S2051. Yet it seems to use the Fischl 2011 firmware.
@ JerryMouse ,
A Nano can do everything that an Arduino Uno can do. It just does not have the header sockets to receive Shields.
So you should be able to use the Arduino tutorial from #7.
I did not translate your link from #22. If it is a local Czech shop, you will receive the item quickly.
David.
p.s. I prefer a Uno clone to a Nano clone. Because I use plug-in Shields for prototyping.
I have got a great idea. :)
Can someone "to create" the programmer with correcponding firware enabling to programm AT89S2051 for me ? and send it to me ?
this is good enough
https://www.aliexpress.com/item/...
I send money in advance .. .
As I remember the stk500 can program it, but I'm not sure if the clones can.
For sure the older AVR dev. boards could
I would like to use AT89S2051 processor. Which programmer I can use ?
Paul's Free 8051 Tools, Code and Projects (PJRC)
[bottom]
Atmel 89C2051 in-circuit programmer
via SDCC links page
wou ... thanks .....
I found another 89Sxxx programmer but it is too expensive for me ... but it looks great
https://www.aliexpress.com/item/...
No. The AT89S2051 uses SPI programming. Like AT89S51 or ATmega8. AT89C2051 is only parallel.
The "difference" is that AT89 chips have an active-high RESET pin. And an AVR has regular active-low /RESET pin.
I don't have an AT89S2051 chip.
David.
I found this:
The TL866 is quite a useful programmer. If you're going to be doing anything which needs 'odd' chips programming then it's worth having one around.
what do you mean with "odd" ???? it is "queer" ? "old" ? ok AT89S2051 is not new but is ideal for higt school 1st class students teaching ... (14 years boys and girls)
yes of course ... the the newest AVR or PIC microprocessors provides better technology ... but it is much more complicated
To be honest, I'd not be inclined to mess about with gadget from China which may, or may not, work. I'd buy an Arduino, locally if I could, or if you want a reliable supplier from Reichelt across the border in Germany, and use the details on the page I linked to back up there ^^^^
AVR ... is much more complicated
I disagree.
With its multitude of different address spaces, the 8051 can be confusing for beginners.
Beginners also find the pseudo-bidirectional ports confusing.
It is really not well-suited to C programming.
Very few have on-chip debug.
I think something like an ATmega328P/PB would be a far better choice.
I will think about it
ok AT89S2051 is not new but is ideal for higt school 1st class students teaching ... (14 years boys and girls)
yes of course ... the the newest AVR or PIC microprocessors provides better technology ... but it is much more complicated
The lack of ADC, internal clock & spi functions, seems a real sad story for students. The ADC is especially needed for experiments.
Take a look at the mega48...in dip.. so easy to work with., low cost ...has uart too
To be honest, I'd not be inclined to mess about with gadget from China which may, or may not, work.
It's truly hard to beat the cost of a nano board for around a dollar....order 100 of them....any that don't work or get blown up by students, just hit the trashcan. You can do plenty of experiments with them.
They can still program in assembler & learn all about the AVR.
YES !!! ... I know STM32 or AVR are significantly better microprocessors ...
and I do not think that everything from China/Aliexpress is Shit ...
and I do not think that everything from China/Aliexpress is Shit ...
You have more lessons to learn
I do not live in such advanced and rich country as England is .... I live in total backwater ... everything is different in here ... and I am almost homeless so my look on world is somewhat "different" ..
Try to ask Zuzana Vesela, school teacher in Olomouc (https://www.spseol.cz/). She had documentation how to made programmer for C2051 and if i remember correctly also for S2051.
thanks
I live in total backwater ... everything is different in here ... and I am almost homeless so my look on world is somewhat "different" ..
Learn to see problems (such as yours) as something that needs a solution, find others like your self (form a club) that enjoy programming, pool resources, buy in bulk and sell to others in the club and surrounding areas. By helping others, you help your self, bring joy to many around you, and improve your life at the same time...
Good luck with your programming and with helping others!
Jim
I found this:
That could be worth exploring.
It has a ISP program that the docs say maps like this - it needs a USB-Serial 5V adaptor, which you hopefully already have.
( SCH has DTR - RST, or that can be manually held hi during PGM I think )
So you could connect a AT89S2051/AT89S4051, and see how far you get ?
That will not be fast, as it just wiggles serial lines ( ie - a bit slow on FS-USB UART bridges, a little faster on HS-USB Bridges.)
It should be able to read SIG bytes of AT89S2051/4051 - you could contact the author, with your progress test results ?
There is chatter about AT89S support via AVRDUDE, and it seems it was added (some comments about needed reset polarity choice, but it also seems you can manually hold RST HI during pgm ?)
PC control is nice to have, as you can code/download/run faster.
This page
http://www.8051projects.info/res...
mentions
You can program the following 89 series chips by using this programmer AT89S51, AT89S52, AT89S53, AT89S8252, AT89S8253, AT89S2051, AT89S4051 and AVR chips
and it appends avrdude.conf by If you want to program 89S52 with AVR dude then Add this text into your avrdude.conf(\winavr\bin\) my_conf.txt
- but that's behind a log-in wall.
This page has a avrdude config file stub for AT89S8253, which covers the bulk of the work, and it looks to have the same 4 byte SPI as AT89S2051/4051
https://www.edaboard.com/threads...
Included on that page is if you have (ancient) PC's there with Standard parallel ports, it can also add the Parallel port mapping for Atmel at89isp cable.. What do your students use ?
Sig bytes are AT89S2051: Address 00H = 1EH 01H = 23H 02H = FFH AT89S4051: Address 00H = 1EH 01H = 43H 02H = FFH whilst AT89S8253 above says readback_p1 = 0x1E; readback_p2 = 0x73;
First 0x1e is Atmel and second byte is device ID.
There is also chatter here on AT89S parts via avrdude - some caveats, but the 4-byte ones seem ok ?
https://www.avrfreaks.net/commen...
and another example here, seems to have 3 config appends AT89S51 AT89S52 AT89S8253
https://www.avrfreaks.net/commen...
and another useful comment
https://www.avrfreaks.net/commen...
and even better seems to be
https://www.avrfreaks.net/commen...
That has a .ZIP file with 7 AT89S/AT89LP parts and (IIRC) an usbasp firmware update that adds autodetect of reset polarity, to make things cleaner. Or I guess you could add a HW inverter ...
To use the firmware update, you would need to buy multiple usbasp's but you may already be doing that for the students ?
I have got a great idea. :)
Can someone "to create" the programmer with correcponding firware enabling to programm AT89S2051 for me ? and send it to me ?
this is good enough
https://www.aliexpress.com/item/...
I send money in advance .. .
See #44 - for students I would like the aluminum case ISP, I think that cover comes off easily so you can upgrade the firmware ( 2 uspisp needed)
Addit: Some notes on repgm of the aluminum case models here, https://github.com/aleh/usbispand here https://www.sciencetronics.com/g..., seems they are not exact clones, so the 89S51 auto-reset-polarity firmware linked above, (https://www.avrfreaks.net/commen...) might not work out of the box ?
If you have shiploads of disposable AT89S2051 (DIP?), you can teach a lot using those. Especially using the simulator you found in #31
For more advanced students, you could get this I think in CZ for about USD10 ? - that's a '2022 version of 89S2051' :) 1.8~5V 50MHz ADC DAC PWM SPI i2c UART (but no DIP)
https://cz.mouser.com/ProductDet...
The STK500 (which you don't have.....) and the older Studio 4.18 can do AT89S51 and AT89S52, there is also and entry on the STK500 manual on how to do it.
I suggest that you do not spend any more time and money on this 89S2051 microcontroller that you have found.
This processor has not been used in new designs for about 25 years. It belongs in a museum.
But in the real world, your chances of getting this device to do anything useful are about as good as your chances of winning a million dollar lottery. The tools and development programs are all 30 years old and are very unlikely to work correctly on modern versions of Windows. It will take hundreds of hours of study and experiment to learn the assembly language that this ancient 2K-byte chip uses. It would be like learning a language spoken by a few hundred people instead of learning English or Chinese that is spoken by millions of people.
There are a lot of older people on this website who actually did write code for this CPU for a living a long long time ago. They will tell you what programs and development environments that they used 30 years ago. They could, with a well-equipped electronics lab and their combined hundreds of years of experience, get this silly thing to do some demo program like blinking an LED or writing "hello world" to a serial terminal. And then they would tell you that you could do it as well. But that is not true: and they are being disingenuous. They are not exactly lying: but they are not telling you the real-world truth. Which is that if you are near-homeless, then you should spend your time and money on dealing with that situation, instead of wasting time and money on a piece of obsolete technology.
ok, 8051/52 is almost 45 years old technology, but it is still in production. there is a lot of manufacturers producing this "old" technology ..
I suggest that you do not spend any more time and money on this 89S2051 microcontroller that you have found...This processor has not been used in new designs for about 25 years. It belongs in a museum.
You couldn't be more wrong. That chip is a '51 family chip; an architecture that is alive and well, and being designed into new products as we type.
There are modern compilers and development tools for it from numerous sources. The instruction set is simple and easy to learn; much simpler and easier than an AVR. The web is full of example code.
ok, 8051/52 is almost 45 years old technology, but it is still in production. there is a lot of manufacturers producing this "old" technology ..
Yes, the 8051 is very widely used in Asia, and even in USA Silabs has new releases in the 50MHz 1T models EFM8BB52, 1.8~5.5V with 12b ADC and 10b DAC, that's actively being designed in, in 2022.
If your students want to also build something, as part of their learning, search Aliexpress for Digital clock DIY or similar.
There, you will find many low cost kits, most of them based on 8051 DIP controllers (Atmel AT89, STC STC15 )
Addit : Discussions and notes on variants on these kits are around. This link discusses a temperature sensor upgrade, so the revised PCB flipped the last 2 digits, to allow 'C
https://github.com/zerog2k/stc_d...
Addit : more discussions and code
https://github.com/aFewBits/stc-...
and a Python STC downloader, (for ROM bootloader models) so you can also show students that source code.
https://github.com/grigorig/stcgal
Addit: Also cheap is the STC89C52RC, some DIP40 LED-kits, and a low cost SMD breakout with USB loader included is here https://www.aliexpress.com/item/...
Another part number to search, is the STC12C2052AD, similar LED kits, like here
https://www.aliexpress.com/item/... - same pin/package as AT89S2051, but faster & with ADC/SPI/PWM/EEPROM
You can buy DIP STC12C2052AD as 'spares', but if doing that you may prefer to option-up to the same pinout more flash/ram/pca DIP20 https://www.aliexpress.com/item/... STC12C5616AD-35I-PDIP20 US$8.91/10
The 'Rotating LED' kit models seem to all use DIP STC15W408, and include a re-program connector, making it easy to change what the LEDs do.
Data is here : http://www.stcmcudata.com/datash...
I see a couple use AT89S52 (DIP40) , and another has a pre-mounted SMD STC MCU - so, you have plenty to choose from :)
ok, thanks