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 use the debug command LOAD

Hi!
When we use the command LOAD in the initialization file,we must write the command like this:
LOAD Obj\ProjectA.axf
But in ProjectionB,we must modify it:
LOAD Obj\ProjectB.axf
Does anyone can tell me another method,for I hope an initialization file can be used in any project without any chage?
Though we can set the checkbox in "debug" dialog,I need a method via initialization file.
Thanks!

Parents
  • The next version of Sarm.Dll (V3.24f or newer) and also the other core driver dlls such as s8051.dll etc. adds this feature. Instead of entering

      LOAD Obj\ProjectA.axf
    


    in the .ini file, you can simply enter:

      LOAD %L
    


    followed by the load options (INCREMENTAL, ...) when required. %L specifies the application output of the current project target or the active target in case of multi-workspace project - no path is required.

Reply
  • The next version of Sarm.Dll (V3.24f or newer) and also the other core driver dlls such as s8051.dll etc. adds this feature. Instead of entering

      LOAD Obj\ProjectA.axf
    


    in the .ini file, you can simply enter:

      LOAD %L
    


    followed by the load options (INCREMENTAL, ...) when required. %L specifies the application output of the current project target or the active target in case of multi-workspace project - no path is required.

Children