The information contained here are property of DIGITAX Automotive Electronics Italy, and extremely confidential. Any disclosure, copying, distribution to third
party is strictly prohibited.
16
The script have to be called ”user.bat” in Hard Disk root folder and it is executed at last, just before
loading Windows
Note that it’s executed once every time is created, because it’s deleted after execution.
Autorun for SD Card and USB drives
4GMCU has a custom option that allows to have an autorun feature much like PC Windows Systems.
This option is enabled by default, but can be disabled using “SYS UTILS” application in \HARD
DISK\SYS APPS\FOLDER.
Autorun is very useful to symplify the manual update of applications and files using a SD Card or USB
drive.
In “SYS UTILS” application there is also a quick way to create a simple update SD Card, it can be later
completed by copying in its “update” folder all the files that you wish to be updated in the MCU.
When this SD CARD is inserted in the MCU, all files in the SD CARD “updated” folder are copied in the
hard disk “update” folder, where are processed in the way explained in the previous chapters.
The autorun feature is based on the presence of a file named “autorun.inf” in the SD Card root.
These are the options available on this file:
OPEN: name of a file to be ran at SD CARD insertion
PARAMS: parameters for the executable above.
COPYSRC: source folder for files to be copied
COPYEDST: destination folder for file copy. Existing files are overwritten
DELETE SRC: if is set to “1” files are deleted from “copysrc” after copy.
ATCE START: if is “1” autorun.inf is processed not only at SD CARD insertion, but also if the SD
CARD is present when windows starts