3
31
FlashRunner Cube User’s Manual
Execution Command
Syntax
#exec -o prj -f <project> -s <sites>
Parameters
<project> The Project filename to execute.
<sites> A 8 bit value indicating the programming sites to be enabled.
Description
Executes the specified Project over the specified programming sites.
In case of error, a 32 bit value is returned. This value indicates whether the
error is site-specific (bit 29 = 1) or system-specific (bit 29 = 0). If the error
is site-specific, the 8 least significant bits (bits from 7 to 0) signal whether
programming in the corresponding programming site (bit 7 = programming
site 8, bit 0 = programming site 1) was successful (bit = 0) or not (bit = 1).
To retrieve error messages, use the #status –o get -p err -v <site> -l <errlevel>
command, where <site> is 1 to 8 to retrieve a specific programming site
error, or 0 to retrieve a system error. <errlevel> is the error detail information
that is returned and can be 1, 2, 3.
Examples
Executes the Project “myprj.wnp” on programming sites 1, 2, 3, 4:
#exec –o prj –f \projects\myprj.wnp -s h0f
h20000003!
In this case, the returned error indicates that there are site-specific errors
(bit 29 = 1) and that the sites where errors occurred are sites 1 and 2.
To retrieve detailed error information about site 1, for example, the following
command can be sent:
#status –o get -p err -v 1 -l 2
h5000001,23,”Error: Timeout occurred”
>
The answers indicates that Project line 23 issued a h5000001 error, and the
text between quotes explains the error.
http://smh-tech.com.cn sales@smh-tech.com.cn +86-15250087885