General procedure
- Make sure your J-Link is working as expected. See the troubleshooting
section in the J-Link manual.
- Ensure that the target hardware matches the project file settings.
Pay special attention to the following aspects:
- Init sequence
- Clock speed
- RAM address
- Flash base address
- MCU / Flash chip
- Flash organization
- Try to program your target device using a sample project file if available.
J-Flash ships with an extensive number of project files for many target
boards. See section iiSample Projectsl. on page 14 for a complete list
of project files.
- The JTAG clock frequency depends on several factors, e.g. cable length,
target board etc. Try setting the frequency to lower or higher values
accordingly.
- Make sure the flash memory is unlocked before programming or erasing.
Typical problems
Failed to connect
Meaning:
This error message is shown if any error occurs during the connection
process.
Remedy:
First of all, make sure the target is actually connected to J-Link. Verify
the correctness of the init sequence, check the JTAG speed, and ensure
the correct flash type is selected.
Programming / Erasing failed
Meaning:
The flash memory sector may be locked and programming or erasing the respective
memory section fails therefore.
Remedy:
Make sure the memory sector is unlocked before programming or erasing.
J-Flash provides a dedicated menu item for unlocking flash memory.
Timeout errors during programming
Meaning:
A timeout occurs if the target is too slow during DCC communication or
the target flash memory is too slow during programming.
Remedy:
Using smaller RAM block sizes may fix this problem.
Blank check failed
Meaning:
The target memory was not empty during blank check.
Remedy:
Erase target memory.
RAM check failed
Meaning:
No RAM found at the specified RAM location.
Remedy:
Remedy:
Make sure a correct RAM address is specified in the project settings. See section
"ARM Settings" on page 22 in the J-Flash manual.
Unexpected core ID
Meaning:
The specified CPU core ID does not match with the one read from the target CPU.
Remedy:
Ensure the specified core ID is correct for the used target CPU. See section
"ARM Settings" on page 22 in the J-Flash manual for information about
setting the core ID.
Unsupported flash type / bus width
Meaning:
The target flash memory or the bus organization is not yet supported.
Remedy:
Inform us about the flash type you want to use. SEGGER is constantly adding support
for new flash memory devices.
No matching RAMCode
Meaning:
There is no programming algorithm available for the selected target memory type.
Remedy:
Inform us about the flash type you want to use. SEGGER is constantly adding support
for new flash memory devices.

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:
December 7, 2007
|