Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service
   Home P&E Customer Support FAQs - Frequently Asked Questions FAQ ID # 30
FAQ ID # 30
 
Question
I launched the command-line CPROGxx flash programmer, saw a window flicker up, and then disappear. How do I know what happened?
 
Answer
Note that the command-line CPROG software must be run from a command prompt. Simply double-clicking the executable will fail. If you are looking for a user-friendly GUI version for flash programming, look for the PROGxx software that comes with your CPROGxx software.

By default, the CPROGxx programmer will run the script you have given it on the command-line, and when execution is complete, the CPROGxx application will terminate with an appropriate error code. This way the program exits automatically and requires no human interaction. The error code may be read by another application or a batch file.

If you would like to see the output of the CPROGxx programming application, there are several command-line parameters which allow you to do this:

? - Use the '?' character option to cause the command-line programmer to wait and display the result of programming in the CPROGxx window. If the user does not use a batch file to test errorlevel, this provides a method to display the programming result. This option should be the FIRST command-line option.

! - Use the '!' character option to cause the command-line programmer to wait and display the result of programming in the CPROGxx window only if an error has occurred, otherwise exit. If the user does not use a batch file to test errorlevel, this provides a method to display the programming result. This option should be the FIRST command-line option.

Example:

CPROG12Z ? C:ENGINE.CFG Interface=USBMULTILINK Port=USB1

Please read any documentations related to your software linked to this FAQ for more details and examples.

 
Related Downloads
CPROG12Z - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file.

CPROG16Z - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file.

CPROG32Z - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file.

CPROGCFZ - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file.

CPROGHCS08 - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file.

CPROGMCZ - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file.

CPROGMON08 - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file.

CPROGPPCZ - Command-line Programmer Documentation - Document describing the command-line parameters for the command line flash programming application. Has an example of writing a programming script file and also of reading the programming result with a batch file. v.1.02, May 2017.

 
Architectures Categories Products
HC08, HCS08, HC(S)12(X), 68HC16, CPU3xx, ColdFire V2/V3/V4, Power MPC5xx/8xx, Qorivva MPC5xxx, RS08, ColdFire V1 Interface Hardware/Cable, Flash Programming Software BDML_PPCNEXUS, CPROG08SZ, PROGHCS08, PROG12Z, PROG16Z, PROG32Z, PKGCFZ, PROGCFZ, PROGMCZ, PROGPPCZ, CABPPCNEXUS, PKGPPCNEXUS, PKGCFZ_PRO, USB-ML-PPCNEXUS, UNITPPCNEXUS, UNIT12Z-LINUX-DIST, DEMO9S08QE8
 
Please rate this FAQ to help us improve our support
0 means "not helpful"
10 means "very helpful"
0 1 2 3 4 5 6 7 8 9 10

© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement