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'

Parents
  • 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?

Reply
  • 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?

Children