0
\$\begingroup\$

Is it possible to load hex file created to Intel 8051 micro controller using AVR USBISP programmer

This is the Datasheet.. http://pdf.datasheetcatalog.com/datasheet/Intel/mXqzvzz.pdf

\$\endgroup\$
8
  • \$\begingroup\$ dunno about intel, but ATMEL 8051s can be programmed that way. \$\endgroup\$
    – Jasen
    Dec 27, 2015 at 20:48
  • \$\begingroup\$ The original Intel 8051s were mask-programmed ... are you sure you're looking at a programmable part? It fact, add a link to its datasheet in the question. \$\endgroup\$ Dec 27, 2015 at 20:50
  • \$\begingroup\$ @Jasen Would you be so kind as to avoid using street colloquialisms such as "dunno" and "yeah" on EE.SE? \$\endgroup\$ Dec 27, 2015 at 21:09
  • \$\begingroup\$ @BrianDrummond Here is the Datasheet pdf.datasheetcatalog.com/datasheet/Intel/mXqzvzz.pdf \$\endgroup\$
    – user70739
    Dec 27, 2015 at 22:30
  • 1
    \$\begingroup\$ @Goutam: the datasheet you inidcate describes a UVPROM version of the 8051 - the internal program memory is erased by exposure to UV light (the package will have a quartz window to allow the chipp to be exposed to the light). The part is then placed in an EPROM programmer to write our program into the part. That 8051 version cannot be programmed using the AVR USBISP or similar in-circuit programmers. I'm sure that there are other versions (by Atmel and others) that can use In-circuit programming. \$\endgroup\$ Dec 27, 2015 at 23:40

3 Answers 3

2
\$\begingroup\$

The datasheet confirms my suspicions : you don't program these, using AVR or any other programmer.

Instead, you send your finished and fully debugged program to Intel, and they mask it directly onto the device, before packaging it and sending it to you. (Minimum order, 10000 probably). Or more likely tell you that the last buy date was about 10 years ago...

As your 80C51s are already packaged, there is nothing you can do with them except whatever they are originally programmed to do. Ask whoever you bought them from for full information...

Either the 87C51 with its EPROM can be programmed, or the Atmel variety, (or TI or another 3rd party version with Flash or EEPROM can be programmed, but not the original. The date code will give you some idea how old they are - probably about 20 years old (probably 4 digits, beginning 95 or so).

Related Q&A...

EDIT : Dim memory , backed up by the comment from MarkU... It is also possible to bypass the internal ROM, and add an external EPROM (or more modern equivalent). The 8031 was a variant without the internal ROM, but I believe you can use the 8051 this way too.

The disadvantage in that you need (1) an external ROM, (2) an external address latch (like a 74HC373) and (3) you lose 16 of your GPIO pins, specifically P0 and P2. For details how to operate the chip in this mode, see the datasheet. (I think it's as simple as wiring the EA/VPP pin to 0V).

\$\endgroup\$
5
  • \$\begingroup\$ What can I do with it then? \$\endgroup\$
    – user70739
    Dec 27, 2015 at 23:24
  • \$\begingroup\$ @Brian Drummond: The datasheet I read describes a UVPROM part, although I suspect there were mask programmed versions as well. \$\endgroup\$ Dec 27, 2015 at 23:43
  • \$\begingroup\$ @PeterBennett : I'm guessing that's for the Philips/NXP version rather than Intel? Or if it's Intel, it covers both 8751 (EPROM) and 8051 (mask) in the same datasheet, right? \$\endgroup\$ Dec 27, 2015 at 23:49
  • \$\begingroup\$ @Brian Drummond: It was an Intel datasheet that claimed to cover 8051, 8751, and 8031. It does state that the 8031 has no program memory, but I can't find any mention of the 8051 being mask programmed (or what the diffference between 8051 and 8751 is). I think I used 8751s (UVPROM) and later, Atmel equivalents that were in-circuit programmable. \$\endgroup\$ Dec 27, 2015 at 23:57
  • \$\begingroup\$ Right. If it's like the linked one in the question, note (1) a section called "Programming the 8751" and no instructions for programming the others, and (from Page 1) "When ordering the 80C51BHP, customers must submit the 64 byte encryption table together with the ROM code" \$\endgroup\$ Dec 28, 2015 at 0:04
1
\$\begingroup\$

No. Intel never made 8051 parts that were in circuit programmable. They had some 87xxx parts that were EPROM based but those were generally programmed in a dedicated programming fixture that provided the necessary high voltage programming pulses. So applications with those parts required sockets for the MCU.

\$\endgroup\$
2
  • \$\begingroup\$ I have a part called P80C51.. If it is not programmable then what can I do with that? \$\endgroup\$
    – user70739
    Dec 27, 2015 at 22:31
  • \$\begingroup\$ @Goutam: you can't do anything with it, unless the existing program does something useful for you. \$\endgroup\$ Dec 27, 2015 at 23:58
0
\$\begingroup\$

The programmer you reference, the AVR, appears to be specific to Atmel AVR micro-controllers. The answer to your question is most likely no. There are many flavors of 8051 controllers (Atmel makes then also) that are available with EA prom and ARE programmable, but you will need to research this and get the programmer that is correct for the application.

In the past I have worked with several products that used 8051 controllers, and we had a C compiler and programmer that we used to write code and burn into the the prom on the chip, so this is definitely possible, you just need the correct equipment.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy