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

customizing tools menu

I want download my hex file after compilation. Does Keil support parametrized command lines like this?

c:\upload.exe %1.hex

Where %1 is a name of a compiled hex file.

Parents
  • For an example of how to do this, see Application Note 159:
    http://www.keil.com/appnotes/docs/apnt_159.asp
    (this specifically addresses the Triscend E5, but you should be able to see the proinciples involved).

    Note that the current uVision now has a 'Flash' menu for this - you don't have to use the 'Tools' menu any more.
    Set it up on the new 'Utilities' tab in the Project Options:
    If your vendor doesn't supply a Target Driver with Flash programming support, choose 'Use External Tool for Flash Programming' and enter the details just as for the 'Tools' menu setup.

    "Does Keil support parametrized command lines..."

    Yes - App Note 159 contains examples

    "...like this?
    c:\upload.exe %1.hex"


    Not like that.
    See the uVision Manual for the syntax - "Key Sequence for Tool Parameters"

Reply
  • For an example of how to do this, see Application Note 159:
    http://www.keil.com/appnotes/docs/apnt_159.asp
    (this specifically addresses the Triscend E5, but you should be able to see the proinciples involved).

    Note that the current uVision now has a 'Flash' menu for this - you don't have to use the 'Tools' menu any more.
    Set it up on the new 'Utilities' tab in the Project Options:
    If your vendor doesn't supply a Target Driver with Flash programming support, choose 'Use External Tool for Flash Programming' and enter the details just as for the 'Tools' menu setup.

    "Does Keil support parametrized command lines..."

    Yes - App Note 159 contains examples

    "...like this?
    c:\upload.exe %1.hex"


    Not like that.
    See the uVision Manual for the syntax - "Key Sequence for Tool Parameters"

Children