Global Settings
Global settings are available from the Options menu
in the main window. Auto command
You may define the behavior of the Auto command (available from the
Target menu in the main window). You can specify if the erasure of
sectors during Auto is restricted to required sectors, selected sectors
or not restricted at all. In the latter case all sectors are erased
during the Auto procedure. Log level
In addition to that you may set the default log level of J-Flash.
Increasing log levels result in more information logged.
Miscellaneous
Finally there are some checkboxes that define if J-Flash should disconnect
from a connected device when it has finished its operations, if blank
sectors should be skipped during read operations, and if sectors should
be unlocked during program-ming. |
 |
Project Settings
The project settings may be configured by selecting
Project settings... from the Options drop-down menu or by using the
ALT-F7 keyboard shortcut. General Settings
The General tab is used to identify the location of the J-Link. The
J-Link can either be connected directly over USB to the host system
of J-Flash, or it can be connected through the J-Link Server running
on a remote system. Please refer to the J-Link manual for more information
regarding the operation of J-Link and J-Link Server. |
 |
JTAG settings
Operational Speed
The Target Interface tab identifies the operational speed of
the JTAG before and after initialization. The radio buttons
permit the values to be either automatically determined or defined
by the user to a value between 30kHz and 8MHz.
Since software version 3.80 J-Flash supports SWD as target interface.
To select SWD as target interface, simply select SWD from the
dropdown box and define the speed settings. Multiple devices on JTAG bus
If the JTAG is to have multiple devices connected to it at once, the
JTAG scan chain with multiple devices check box must be selected.
In this case, the TCK and TMS lines of all JTAG device are connected,
while the TDI and TDO lines form a bus. The location of the first
device to be connected is selected from the Position drop-down menu. |
 |
| Instruction length is defined by the manufacturer of
the device. For ARM chips, the Instruction Register (IR) length is
four, which is why the value of IRLen is by default set to four times
the position indicated. This works fine for ARM only scan chains.
However, if any other devices are introduced to the chain and must
be traversed to get to the first device, the IRLen must be modified
accordingly. |
 |
CPU Settings
The ARM tab allows the selection of microcontroller
dependent settings. The chip type is selected from the Chip drop-down
menu and the other dialog items are set to default values of the chosen
chip.
External devices
In order to use J-Flash with an external device, generic ARM7/ARM9 must
be selected from the Chip drop-down menu.
Internal devices
To program internal flash devices choose the respective chip type from
the Chip drop down menu. If the chip type desired is not found on this
list, please contact Segger as new microcontrollers are continuously being
added.
Endianness
The endianness of the chip is indicated through the Endian drop-down menu.
Core ID
If the core ID is known for the device to be programmed, it can be used
to verify that the device in communication via the J-Link is the intended
device.
Target RAM
The "Use target RAM" check box may be selected to make use of
the RAM to speed up the communication with the target device. To use the
target RAM, a start location in RAM and the amount of RAM to be used must
be entered here.
Auto command
You may define the behavior of the Auto command (available from the
Target menu in the main window). You can specify if the erasure of
sectors during Auto is restricted to required sectors, selected sectors
or not restricted at all. In the latter case all sectors are erased
during the Auto procedure. |
 |
Flash Settings
The settings found on the Flash tab are adjusted to
match the type and characteristics of the flash chip being programmed.
Base Address
The base address and organization of the chip should be entered, followed
by the selection of the flash device. |
 |
Flash device selection
The selection of the flash device is facilitated via the Select flash
device button. After invoking this button a table will be presented.
The table may be filtered using the manufacturer name. The chip and
its attributes (manufacturer name, device name, size, number of sectors,
eight bit identifier, sixteen bit identifier, algorithm, bus width)
must be selected from this table. If the flash chip is not found please
contact Segger, as devices are continuously being added to this list. |
 |
ID checking
There are two other check boxes that are of interest in this subsection
which are Check manufacturer flash Id and Check product flash Id. These
check boxes should be selected to confirm the type of device that is in
communication with J-Flash.
Sector selection
The final section of this tab indicates the sectors to be acted upon,
whether they are to be cleared, read back, or written. An individual or
series of sectors may be selected from the predetermined valid range (determined
from the Select flash device table). This ensures proper communication
with the chip.

Copyright SEGGER Microcontroller GmbH & Co.KG. All
rights reserved.
For more information, please visit our web site
www.segger.com or contact us at info@segger.com
Last update:
March 12, 2008
|