Specifications

Section 12. Memory and Data Storage
12-12
Program Execution
After File is processed, the following rules determine what CR1000 program to
run:
1) If the Run Now program is changed then it will be the program that runs.
2) If no change is made to Run Now program, but Run on Power-up program
is changed, the new Run on Power-up program runs.
3) If neither Run on Power-up nor Run Now programs are changed, the
previous Run on Power-up program runs.
Example Power-up.ini Files
EXAMPLE 12.6-2 through EXAMPLE 12.6-7 are example powerup.ini files.
E
XAMPLE 12.6-2. Run Program on Power-up.
’Copy pwrup.cr1 to USR:, will run only when powered-up later
2,pwrup.cr1,usr:
EXAMPLE 12.6-3. Format the USR: drive.
’Format the USR: drive
5,,usr:
EXAMPLE 12.6-4. Send OS on Power-up.
’Load this file into FLASH as the new OS
9,CR1000.Std.04.obj
EXAMPLE 12.6-5. Run Program from CRD: drive.
’Leave program on CRD:, run always, erase CRD: data files
13,toobigforcpu.cr1,crd:
EXAMPLE 12.6-6. Run Program Always, Erase CF data.
’Run always, erase CRD: data files
13,pwrup_1.cr1,crd
EXAMPLE 12.6-7. Run Program Now, Erase CF data.
’Copy run.cr1 to CPU:, erase CF data, run CPU:run.cr1, but not if later powered-up
14,run.cr1,cpu: