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 pass options to an AGSI DLL?

The AGSI documentation (application note 154, revision 4) tells that parameters can be passed in dialog 'Options for Target -> Debug - > Dialog DLL Parameter' with the format "-option". But this gives a "Syntax Error in Peripheral Dialog Parameter Line", even if I try to use other characters after the hyphen "-".

How can parameters be passed to a DLL?

Parents
  • You are right, unknown parameters are reported as error in all simulation DLLs for ARM based microcontrollers. In the next release, all unknown parameters will be ignored so that these parameters can be used as parameters for your AGSI DLL. Simulation DLLs for 8051 or 166 based microcontrollers ignore unknown parameters since at least 3 years.
    There are basically 3 default parameter for simulation DLLS:
    -p for the device configuration
    -o for further configuration options
    -d to load AGSI DLLs

    All other letters can be used as parameters for AGSI DLLs.

Reply
  • You are right, unknown parameters are reported as error in all simulation DLLs for ARM based microcontrollers. In the next release, all unknown parameters will be ignored so that these parameters can be used as parameters for your AGSI DLL. Simulation DLLs for 8051 or 166 based microcontrollers ignore unknown parameters since at least 3 years.
    There are basically 3 default parameter for simulation DLLS:
    -p for the device configuration
    -o for further configuration options
    -d to load AGSI DLLs

    All other letters can be used as parameters for AGSI DLLs.

Children
No data