Jetter AG
Programming | 7
JCM-501-E00 User Manual
43 / 59
ü
JetEasyDownload and Peak CAN dongle are ready for use.
ü
There is a CAN connection between Peak CAN dongle and JCM-501-E00.
1.
Call up JetEasyDownload with the above parameters and a valid OS file.
ð
The device carries out a reset.
ð
The device starts in boot loader mode with a single heartbeat in init state
(data = 0x00).
2.
Wait for approx. 7 seconds while the device formats the flash memory.
ð
The device starts the download process.
ð
The device starts automatically with the new firmware.
7.13 Application program
The user determines the program that is to be executed. When uploading the ap-
plication program to the controller, this program is stored as a file to the internal
flash disk. The device enters the path and file name into the
\App\start.ini
file.
Path and file name
By default, JetSym creates in the
/app
directory a subdirectory and assigns the
project name to it. Then, JetSym stores the application program to this subdirec-
tory assigning the extension
*.es3
to it. Path and file names are always converted
into lower case letters.
\App\start.ini -
Structure
This file is a text file with one section holding 2 entries:
Element
Description
[Startup]
Section name
Project
Path to the application program file. This path is rela-
tive to
\ app
.
Program
Name of the application program file
Example
[Startup]
Project = test_program
Program = test_program.es3
The application program is loaded from the file
\App\test_program\test_pro-
gram.es3
.
Loading the
application pro-
gram
When the application program is restarted via JetSym or after booting the
JCM-501-E00, the application program is loaded via the file system and exe-
cuted.
The application program is loaded by the OS of the JCM-501-E00 as follows:
Level
Description
1
The operating system reads the file
\App\start.ini
from the internal
flash disk.
2
The OS evaluates the
Project
entry. It contains the path leading to
the application program file.
3
The OS evaluates the
Program
entry. This entry contains the pro-
gram name.
4
The OS loads the application program from the file
<Project>/<Pro-
gram>
.