JFlashMM: Difference between revisions
New page: *[http://www.voipac.com/en/products_PXA270_255_JTAG_Cable.htm JFlashMM Download including source] JFlashMM is executed from a console window and accepts the following command arguments: ... |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
*[http://www.voipac.com/en/products_PXA270_255_JTAG_Cable.htm JFlashMM Download including source] | *[http://www.voipac.com/en/products_PXA270_255_JTAG_Cable.htm JFlashMM Download including source] | ||
*[http://www.esoterum.org/mw/images/c/ca/RelNote_JFlashmm.doc Instruction Manual] | |||
JFlashMM is executed from a console window and accepts the following command arguments: | JFlashMM is executed from a console window and accepts the following command arguments: | ||
>JFLASHMM [PLAT][IMAGE][P,V,E,T,I,N][ADDR][INS,PAR][NOD,DEB][A,D] | <code>>JFLASHMM [PLAT][IMAGE][P,V,E,T,I,N][ADDR][INS,PAR][NOD,DEB][A,D]</code> | ||
PLAT and IMAGE are required parameters. | PLAT and IMAGE are required parameters. | ||
| Line 12: | Line 13: | ||
[PLAT] = The name of the platform data file without the .DAT. | [PLAT] = The name of the platform data file without the .DAT. | ||
[IMAGE] = The name of the image to program in flash. | [IMAGE] = The name of the image to program in flash. | ||
[P,V,E,T,I,N] = See Function Table below | [P,V,E,T,I,N] = See Function Table below | ||
[ADDR] = Hex byte address to start. No leading 0X, assumes 0 | [ADDR] = Hex byte address to start. No leading 0X, assumes 0 | ||
[INS, PAR] = (INS) Insight IJC and Intel® JTAG Cable, (PAR) passive parallel cable | [INS, PAR] = (INS) Insight IJC and Intel® JTAG Cable, (PAR) passive parallel cable | ||
[NOD, DEB] = NODebug (Normal) or DEBug mode | [NOD, DEB] = NODebug (Normal) or DEBug mode | ||
[A,D] = (A)sk questions or (D)on’t ask questions. Used for batch operation. | [A,D] = (A)sk questions or (D)on’t ask questions. Used for batch operation. | ||
Note: JFLASHMM is the executable name in this example. | |||
Function Table | |||
<table border="1"> | |||
<tr> | |||
<td>Command Parameter</td> | |||
<td>Description</td> | |||
</tr> | |||
<tr> | |||
<td>P</td> | |||
<td>Program and verify the flash memory (Default value if no command specified).</td> | |||
</tr> | |||
<tr> | |||
<td>V</td> | |||
<td>Verify the image in flash memory with a binary file.</td> | |||
</tr> | |||
<tr> | |||
<td>E</td> | |||
<td>Erase every block of flash memory.</td> | |||
</tr> | |||
<tr> | |||
<td>T</td> | |||
<td>Test the flash memory by programming an image to every block. It is recommended that you use Testfile.bin as the binary image. Testfile.bin is a small file with internal data patterns suitable for detecting address or data line defects.</td> | |||
</tr> | |||
<tr> | |||
<td>I</td> | |||
<td>Identify the processor and flash type. No programming of flash memory is done.</td> | |||
</tr> | |||
<tr> | |||
<td>N</td> | |||
<td>Program the flash but omit (skip) the verify cycle. Use this when you are confident about the stability of your system</td> | |||
</tr> | |||
</table> | |||
Latest revision as of 16:38, 18 May 2007
JFlashMM is executed from a console window and accepts the following command arguments:
>JFLASHMM [PLAT][IMAGE][P,V,E,T,I,N][ADDR][INS,PAR][NOD,DEB][A,D]
PLAT and IMAGE are required parameters.
For optional parameters, the first value listed is the default. Optional parameters are position-dependent. That is, if you specify any optional parameters, all the preceding parameters must be specified. See Programming a Flash at a Different Base Address and Using Debug Mode for examples that illustrate the use of optional parameters.
Where:
[PLAT] = The name of the platform data file without the .DAT.
[IMAGE] = The name of the image to program in flash.
[P,V,E,T,I,N] = See Function Table below
[ADDR] = Hex byte address to start. No leading 0X, assumes 0
[INS, PAR] = (INS) Insight IJC and Intel® JTAG Cable, (PAR) passive parallel cable
[NOD, DEB] = NODebug (Normal) or DEBug mode
[A,D] = (A)sk questions or (D)on’t ask questions. Used for batch operation.
Note: JFLASHMM is the executable name in this example.
Function Table
| Command Parameter | Description |
| P | Program and verify the flash memory (Default value if no command specified). |
| V | Verify the image in flash memory with a binary file. |
| E | Erase every block of flash memory. |
| T | Test the flash memory by programming an image to every block. It is recommended that you use Testfile.bin as the binary image. Testfile.bin is a small file with internal data patterns suitable for detecting address or data line defects. |
| I | Identify the processor and flash type. No programming of flash memory is done. |
| N | Program the flash but omit (skip) the verify cycle. Use this when you are confident about the stability of your system |