This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to send Hex file to 8051AH??!!

Hi,

I having the following doubts abt 8051AH:

1) Can I say Xtal 1 is the input from 8051 and Xtal 2 is the clock giving to 8051? If I wanna measure the Clock, I probe at Xtal 2 and refer to GND?

2) I using the DS5000 development board, but I wanna replace the DS5000 Chip with 8051AH,
is it possible? Do 8051AH come with the bootstrap loader inside ROM? and can 8051AH communicate with hyperterminal?

3) For 8051AH, it has 4K ROM, how am I gonna download intel hex file to it? Any suggestion? Or defintely need to use emulator board from particular company?

I really appreciate U can provide some tips to me...... =)

  • "Do 8051AH come with the bootstrap loader inside ROM?"

    No - see below

    "can 8051AH communicate with hyperterminal?"

    It has a serial port which can be configured for asynchronous serial data. All you need is a transceiver to convert between the logic levels of the processor and RS232, and you can talk to any asynchronous RS232 device.
    http://www.keil.com/forum/docs/thread2495.asp

    "For 8051AH, it has 4K ROM, how am I gonna download intel hex file to it?"

    You can't.
    This is the old, original Intel 8051 - when it says "ROM" it means that literally: not PROM, not EPROM, not EEPROM, and certainly not Flash!

    The 8751 was the programmable version - but you'd need a UV eraser and a proper device programmer.
    This is long before the days of ISP!!

  • Thanks alot.

    Well, but how the person download the program to 8051AH since it is ROM? Or else 8051AH need to be factory programmed?

    What is the common 8051 family people mostly use now?

    really appreciate for ur reply...... =)

    One more question, can we program the bootstrap loader ourself?

  • "8051AH need to be factory programmed?"

    Yes!

    That's what "ROM" means - otherwise it'd be "PROM!!"

    See the Data Sheet:
    http://www.keil.com/dd/chip/2999.htm

    "can we program the bootstrap loader ourself?"

    Of course you can - it's all just software, after all!
    However, to do so requires a very detailed understanding of the internal workings of the processor, its memory structure, the internal workings of the generated binary code, the download mechanism, etc, etc,...
    Somehow I don't think you are quite ready to tackle this just yet, eh? ;-)

  • "8051AH need to be factory programmed?"

    Yes!

    That's what "ROM" means - otherwise it'd be "PROM!!"

    See the Data Sheet:
    http://www.keil.com/dd/chip/2999.htm

    "can we program the bootstrap loader ourself?"

    Of course you can - it's all just software, after all!
    However, to do so requires a very detailed understanding of the internal workings of the processor, its memory structure, the internal workings of the generated binary code, the download mechanism, etc, etc,...
    Somehow I don't think you are quite ready to tackle this just yet, eh? ;-)

  • Andy,

    Thanks for ur prompt reply, well, I ready to start, however due to limited resource:
    1 DS 5000 development board with 8051AH chips, all chips is the only 1, wat can i do? and my boss keep on telling me he can test the chip tat time...... nvm, he is ordering DS 5000 microp(NV RAM).

    I think it's still a long way to catch up with u........ =)

  • "1 DS 5000 development board with 8051AH chips"

    It is normally best to buy the correct chip to go with your development board!!!! ;-)

    "he is ordering DS 5000 microp"

    You'll just have to wait til they arrive, then.

    Oh well, at least that'll give you plenty of time to read the Manual and Data Sheets!! ;-)

  • Andy,

    It's true...... at first, I will start run the assembly code, later learn the C code. feeling tat write in C will be easier than assembly code.

    well, your position is IC designer?

    Thanks a lot again for ur prompt reply......
    Is it fun to solve the ppls doubt? =) I hope I can be the one.