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

flash programming

i have an AT89S52 MuC...how can i load a prog, that i wrote and compiled in Keil, into it?...i do not understand all of the various fields i'm required to fill up, in 'config flash tool'

  • GO TO FLASH CONFIGRATION TOOL IN THAT U GET THE OUTPUT OPTION IN THIS U ENABLE THE CREATE HEX OPTION AND THEN DEBG. AGAIN THE GENRETED HEX NOW DOWN LOAD TO YOUR CONTROLLER.

  • hey man, i'm a newbie to this thing. so if something is very banal, and my mistake seems incredibly dumb, well, my apologies...let's see if i've done right so far...
    1) wrote the prog and debugged it...no error
    2) went to config flash tools:
    ---a)Device: AT89S52
    ---b)Target: Xtal-8.0MHz...rest, default values
    ---c)Output: select folder for obj-- Atmel object file

    ---then --create executable, create Hex
    ---d)Listing: select folder for listing-- list file
    ---e)C51 to BL51 Locate: default values
    ---f)Debug: Use-ADI monitor Driver(?)
    ---g)Ut'ies: use ext tool: command--my_file.hex
    3) Debug: start session-Run
    now, an error mssg pops up saying, 'please set device in download/debug mode'...now what do i do?

  • The first thing you will do is to find some screwy 'tested' Atmel download cable 'design' on the web which you will copy and find not working.

    The scond thing you will do is to buy the $25 (I think) Atmel download cable from Atmel and download your code to the chip.

    Erik

  • hey sameer...my kit is working just fine...i still don't know how to download the prog directly using keil, into my MuC...instead i just download the hex file, created in keil, using an ISP programmer...thanks for the help

  • download the prog directly using keil

    Now your question is clear. I would not know (I do not use IDEs because they force you to use inferior parts in addition to what you want) but, if there is a way, the clarification above should make someone answer.

    Erik

  • You need to download the program into the MuC is it,
    Keil is a simulator to check out programs, whether working fine.
    There are Programming Kits to download into ICs.
    Alternately, you could use Xilinx (step by step procedure) to download into an fpga.