FAQs for SIM

The embedded tools company

Search FAQs

PDF document ( 16KB / 17-May-2017 )

How can I simulate peripherals for the simulator? Do I need a DLL?
Ref: 0292

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".

Copyright © 2019 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany   Impressum     Privacy Policy
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 14-Nov-2019