FAQ for SIM The embedded tools company
Simulation of Peripherals by use of DLLs



FAQ for SIM

TOP       Simulation of Peripherals by use of DLLs
How can I simulate peripherals for the simulator? Do I need a DLL?
 
An example can be found at: CD\files\demo\simul\demoport.

You have to write a C-File like "demoport.c" and compile it by "makefile" to a DLL (MinGW or Mingw32, Minimalist GNU for Windows can be used: http://www.mingw.org/ ). This DLL will be loaded to our simulator by a command like:
    SIM.LOAD demoport.dll 20000 0
(The parameters are specific to the actual DLL. Here it is the baseaddress and the port-pin number.)

To see the values you should use a command like "per demoport" which opens the window that will be constructed according to file "demoport.per".



Navigation
Copyright © 2008 Lauterbach Datentechnik GmbH, Fichtenstr. 27, D-85649 Hofolding, Germany  Impressum
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice.
Last generated/modified: Oct-10-2008