05172024

Last update2016/05/28 14:38

Back 現在地: Home パートナー segger-tools

LogicPD LH7A404-N0E 日本語

 

LogicPD LH7A404 - N0E

コントローラ:
  • LH7A404(シャープ)N0E
のCPU:
  • ARM922T
委員会の主な機能:
  • プログラマブルカラーLCDコントローラ
  • 統合された4線式タッチスクリーンコントローラ
  • アプリケーション/デバッグ用の1100分の10基地TTのイーサネットコントローラ(SMSCの無線LAN 91C111)
  • コンパクトフラッシュは、(メモリは専用マップ)カードタイプI
  • スマートカード、MMC / SDメモリー、デュアルPCMCIA
  • 一つのUSB 2.0フルスピードホストインターフェース
  • 一つのUSB 2.0フルスピードデバイスインターフェイス
  • ステレオ入力および出力端子
  • 磁気の1つのRJ45イーサネットジャックコネクタ
  • 115.2キロバイト/ sのRS - 232のデバッグシリアルポート
  • 標準の100ミルのピッチヘッダ
  • すべてのカードエンジンにアクセスするには、信号
  • RoHS準拠
コントローラの主な機能:
  • 8ワード線の長さとサイズは各8KBの個別の命令およびデータキャッシュ、。
  • 強化されたARMアーキテクチャv4のMMUの
  • サポートエンベデッドトレースマクロセル(ETMの)の添加
  • トラッキングICEのモードがあり

J-LINK PRO GDB Server

GDB Server

 

The J-Link GDB Server is a remote server for the GDB which allows to use J-Link with GDB or any toolchain which uses GDB as debugging interface, such as Yagarto and Sourcery G++). The GDB and GDB Server communicate via a TCP/IP connection, using the standard GDB remote serial protocol. The GDB supports a standard set of commands like open elf/bin files, reading/writing memory, etc. Beside this, the GDB also supports so called monitor commands which are passed to the GDB Server and interpreted by it, allowing it to implement J-Link specific commands like reading/writing CP15 registers, enabling flash download via J-Link, using flash breakpoints, enabling semihosting, etc.

GNU Project Debugger (GDB) overview

The GNU Project Debugger (GDB) is a freely available debugger, distributed under the terms of the GNU Public license (GPL). It connects to an emulator via a TCP/IP connection. It can connect to every emulator for which a GDB server software is available. The latest Unix version of the GDB is freely available from the GNU commitee under: http://www.gnu.org/software/gdb/download/

GDB Server licensing

J-Link GDB Server is distributed as "free for evaluation and non commercial use". The software can be used free of charge for educational and non-profit purposes without an additional license. To use the software for other, especially commercial purposes, a license is required. To obtain an trial or unlimited license, please このメールアドレスはスパムボットから保護されています。閲覧するにはJavaScriptを有効にする必要があります。 with us. Full and valid license terms are specified in file License.txt which comes with the J-Link software and documentation package.

Note: J-Link OEM versions ATMEL SAM-ICE and Digi JTAG Link come with a built-in license for J-Link GDB Server.

Supported cores

Currently the J-Link GDB Server can be used with the following CPU cores:

  • ARM7TDMI (Rev 1)
  • ARM7TDMI (Rev 3)
  • ARM7TDMI-S (Rev 4)
  • ARM720T
  • ARM920T
  • ARM922T
  • ARM926EJ-S
  • ARM946E-S
  • ARM966E-S
  • ARM1136JF-S
  • ARM1136J-S
  • ARM1156T2-S
  • ARM1156T2F-S
  • ARM1176JZ-S
  • ARM1176JZF
  • ARM1176JZF-S
  • Cortex-M0
  • Cortex-M1
  • Cortex-M3

Requirements

To use the J-Link GDB Server, you have to meet the following requirements:

User interface

The J-Link GDB Server's user interface shows information about the debugging process and allows the user to configure some settings like target endianess, if memory reads should be cached in order to improve performance or if a logfile shall be generated.

Setting up the J-Link GDB Server

Typically, most of the GDB and target setup is done from GDB via remote commands (monitor) in the .gdbinit file. The commands used in the .gdbinit file are performed before the download of the application into the target memory is performed. This allows the user to perform initialization steps which might be necessary to enable the access to the target memory. The .gdbinit file also allows to use download into flash memory via J-Link and flash breakpoints.

Protocol extensions

  • SWO support
    GDB Server supports transfer of SWO data (terminal output, instrumentation trace, PC samples, etc.)
  • ETM (processor trace) support: upon request

 

J-LINK PRO IDE integration

IDE integration

J-Link IDE integration

 

J-Link / J-Trace can be used with different IDEs. Some IDEs support J-Link directly, for other ones additional software (such as J-Link RDI) is necessary in order to use JLink. The following tables list which features of J-Link / J-Trace can be used with the different IDEs.

ARM Cortex-M3
IDE Debug support4 Flash Download Flash Breakpoints Trace support SWO
support
IAR EWARM
Keil MDK
Rowley
CodeSourcery
Yargato (GDB)

 

ARM7/9
IDE Debug Support4 Flash Download Flash Breakpoints Trace support3
IAR EWARM
Keil MDK
Rowley
CodeSourcery
Yargato (GDB)
RDI compliant
toolchains such as
RVDS/ADS
1 1 1

 

ARM11
IDE Debug support4 Flash Download Flash Breakpoints Trace support3
IAR EWARM 2 2
Rowley
Yargato (GDB) 2 2

 

 

1 Requires J-Link RDI license for download of more than 32KBytes

2 Coming soon

3 Requires emulator with trace support

4 Debug support includes the following: Download to RAM, memory read/write, CPU register read/write,
Run control (go, step, halt), software breakpoints in RAM and hardware breakpoints in flash memory.

 

J-LINK PRO Interface description

Interface description

Interface description

 

JTAG interface connection (20 pin)

There is a standard 20 pin connector defined by ARM. J-Link has a built-in 20-pin JTAG connector, which is compatible with this standard.
JTAG interface connector signals:

Pin Signal Type Description
1 VTref Input This is the target reference voltage.
It is used to check if the target has power, to create the logic-level reference for the input comparators and to control the output logic levels to the target. It is normally fed from Vdd of the target board and must not have a series resistor.
2 Vsupply NC This pin is not connected in J-Link.
It is reserved for compatibility with other equipment.
Connect to Vdd or leave open in target system.
3 nTRST Output JTAG Reset.
Output from J-Link to the Reset signal of the target JTAG port. Typically connected to nTRST of the target CPU. This pin is normally pulled HIGH on the target to avoid unin- tentional resets when there is no connection.
5 TDI Output JTAG data input of target CPU.
It is recommended that this pin is pulled to a defined state on the target board. Typically connected to TDI of target CPU.
7 TMS Output JTAG mode set input of target CPU.
This pin should be pulled up on the target. Typically connected to TMS of target CPU.
9 TCK Output JTAG clock signal to target CPU.
It is recommended that this pin is pulled to a defined state of the target board. Typically connected to TCK of target CPU.
11 RTCK Input Return test clock signal from the target.
Some targets must synchronize the JTAG inputs to internal clocks. To assist in meeting this requirement, you can use a returned, and retimed, TCK to dynamically control the TCK rate. J-Link supports adaptive clocking, which waits for TCK changes to be echoed correctly before making further changes. Connect to RTCK if available, otherwise to GND.
13 TDO Input JTAG data output from target CPU.
Typically connected to TDO of target CPU.
15 RESET I/O Target CPU reset signal.
Typically connected to the RESET pin of the target CPU, which is typically called "nRST", "nRESET" or "RESET".
17 DBGRQ NC This pin is not connected in J-Link.
It is reserved for compatibility with other equipment to be used as a debug request signal to the target system. Typically connected to DBGRQ if available, otherwise left open.
19 5V-Target supply Output This pin can be used to supply power to the target hardware.

 

Notes

All pins marked NC are not connected inside J-Link. Any signal can be applied here; J-Link will simply ignore such a signal.
Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are GND pins connected to GND in J-Link. They should also be connected to GND in the target system.

Pin 2 is not connected inside J-Link. A lot of targets have pin 1 and pin 2 connected. Some targets use pin 2 instead of pin 1 to supply VCC. These targets will not work with J-Link, unless Pin 1 and Pin 2 are connected on the target's JTAG connector.

Pin 3 (TRST) should be connected to target CPUs TRST pin (sometimes called NTRST). J-Link will also work if this pin is not connected, but you may experience some limitations when debugging. TRST should be separate from the CPU Reset (pin 15)

Pin 11 (RTCK) should be connected to RTCK if available, otherwise to GND.

Pin 19 (5V-Target supply) of the connector can be used to supply power to the target hardware. Supply volatage is 5V, max. current is 300mA. The output current is monitored and protected agains overload and short-circuit.

SWD and SWO/SWV (also called SWV) compability

SWD overview

The J-Link and J-Trace support ARMs Serial Wire Debug (SWD). SWD replaces the 5-pin JTAG port with a clock (SWDCLK) and a single bi-directional data pin (SWDIO), providing all the normal JTAG debug and test functionality. SWDIO and SWCLK are overlaid on the TMS and TCK pins. In order to communicate with a SWD device, J-Link sends out data on SWDIO, syn- chronous to the SWCLK. With every rising edge of SWCLK, one bit of data is trans- mitted or received on the SWDIO. The data read from SWDIO can than be retrieved from the input buffer.

 

SWD connector pinout

The following table shows the SWD pinout:

Pin Signal Type Description
1 VTref Input This is the target reference voltage. It is used to check if the target has power, to create the logic-level reference for the input comparators and to control the output logic levels to the target. It is normally fed from Vdd of the target board and must not have a series resistor.
2 Vsupply NC This pin is not connected in J-Link. It is reserved for compatibility with other equipment. Connect to Vdd or leave open in target system.
3 Not used NC This pin is not used by J-Link. If the device may also be accessed via JTAG, this pin may be connected to nTRST, otherwise leave open.
5 Not used NC This pin is not used by J-Link. If the device may also be accessed via JTAG, this pin may be connected to TDI, otherwise leave open.
7 SWDIO I/O Single bi-directional data pin.
9 SWCLK Output Clock signal to target CPU. It is recommended that this pin is pulled to a defined state of the target board. Typically connected to TCK of target CPU.
11 Not used NC This pin is not used by J-Link. This pin is not used by J-Link when operating in SWD mode. If the device may also be accessed via JTAG, this pin may be connected to RTCK, otherwise leave open.
13 SWO Output Serial Wire Output trace port. (Optional, not required for SWD communication.)
15 RESET I/O Target CPU reset signal. Typically connected to the RESET pin of the target CPU, which is typically called "nRST", "nRESET" or "RESET".
17 Not used NC This pin is not connected in J-Link.
19 5V-Supply Output This pin is used to supply power to some eval boards. Not all JLinks supply power on this pin, only the KS (Kickstart) versions. Typically left open on target hardware.

Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are GND pins connected to GND in J-Link. They should also be connected to GND in the target system.

 

Serial Wire Output (SWO) overview

J-Link can be used with devices that supports Serial Wire Output (SWO). Serial Wire Output (SWO) support means support for a single pin output signal from the core. It is currently tested with Cortex-M3 only.

 

Supported SWO speeds

The supported SWO speeds depend on the connected emulator. They can be retrieved from the emulator. Currently, the following are supported:

Emulator Speed, formula Resulting max. speed
J-Link V6 6MHz/n, n >= 12 500kHz
J-Link V7 6MHz/n, n >= 1 6MHz

 

Serial Wire Viewer (SWV) overview

The Instrumentation Trace Macrocell (ITM) and Serial Wire Output (SWO) can be used to form a Serial Wire Viewer (SWV). The Serial Wire Viewer provides a low cost method of obtaining information from inside the MCU. The SWO can output trace data in two output formats, but only one output mechanism is valid at any one time. The 2 defined encodings are UART and Manchester. The current J-Link implementation sup- ports only UART encoding. Serial Wire Viewer uses the SWO pin to transmit different packets for different types of information. The three sources in the Cortex-M3 core which can output information via this pin are:

  • Instrumentation Trace Macrocell (ITM) for application-driven trace source that supports printf-style debugging. It supports 32 different channels, which allow it to be used for other purposes such as real-time kernel information as well.
  • Data Watchpoint and Trace (DWT) for real-time variable monitoring and PC-sampling, which can in turn be used to periodically output the PC or various CPU-internal counters, which can be used to obtain profiling information from the target.
  • Timestamping. Timestamps are emitted relative to packets.

 

Further application documents

Refer to the following documents for detailed information about SWO/SWV:

Further application documents
CoreSight Components - Technical Reference Manual
Cortex™-M3 - Technical Reference Manual

 

J-LINK PRO J-Flash

J-Flash

 

J-Flash is a PC software running on Windows (Windows 2000 and later) systems, which enables you to program the internal and external flash of your microcontroller via J-Link.


J-Flash comes with sample projects for most popular microcontrollers and eval boards which run out-of-the-box. J-Flash can be controlled via GUI or via command line which makes it also possible to use J-Flash for production purposes.

 

Features

  • Works with any ARM7/9/11® and Cortex-M0/M3® core
  • Supports the following flash devices:
    • internal flash of most popular microcontrollers
    • CFI-compliant NOR flash (the combinations 18x, 2x8, 1x16, 2x16 are supported)
    • most non-CFI compliant NOR flash devices (the combinations 18x, 2x8, 1x16, 2x16 are supported)
    • SPI NOR-Flash Read more...
    • NAND flash Read more...
    • Atmel DataFlash Read more...
  • Multi-bank programming support*
  • High speed programming: up to 150 kByte/sec (dep. on flash device)
  • Very high blank check speed: App. 16 Mybte /sec (depends on target)
  • Smart read-back: Only non blank-portions of flash transferred and saved
  • Free 30 day trial version available
  • Easy to use, comes with projects for standard eval boards

*Currently only supported for Flasher ARM stand-alone mode.

Embedded Software
Click to watch demonstration video

 

J-Flash

Documentation download Software download

Programming speeds

The following table shows some performance values regarding the programming speed.

Microcontroller Hardware Flash device Flash organization Programming speed
(KBytes/sec.)
Atmel AT49BV162A Eval board Atmel AT91EB40 Atmel AT49BV162A internal flash 1x16 bits 97.8
Atmel AT91RM9200 Cogent CSB337 Eval board Intel 28F640J3 1x16 bits 93.0
Digi NS9360 Net Silicon NS9360 Eval board AMD AM29LV160DB 2x16 bits 208.5
Sharp LH7A400-10 LogicPD LH7A400-10 Eval board Intel 28F640J3A120 2x16 bits 147.8
Analog Devices ADuC7020 Analog Devices ADuC7020 Eval board Analog Devices ADuC7020 internal flash 1x32 bits 30.8
Atmel AT91SAM7S64 Atmel AT91SAM7-EKS64 Eval board Atmel AT91SAM7S64 internal flash 1x32 bits 18.5
Atmel AT91SAM7X256 Atmel AT91SAM7X-EK Eval board Atmel AT91SAM7X256 internal flash 1x32 bits 35.3
Philips LPC2106 IAR LPC2106 Eval board Philips LPC2106 internal flash 1x32 bits 22.2
ST STR711 IAR STR711 Eval board ST STR711 internal flash 1x32 bits 50.5
Philips PCF87750 Philips PCF87750 (custom hardware) Philips PCF87750 internal flash 1x32 bits 68.2

What is multi-bank programming support?

Multi-bank programming support describes the possibility to program different flash devices, present on the same hardware, in one Flash programming session. For example, if you want to use the internal flash of your target hardware as well as the external flash for the target application code, multi-bank programming enables you to download the target application into the internal and external flash in one flash programming session. The settings for both flash banks are saved in the same J-Flash project, so you will only need one project in order to program multiple flash banks.

Support for Atmel DataFlash, NAND flash, SPI-NOR flash

Since the connection of these flashes varies from microcontroller to microcontroller, there are always some modifications which are necessary, to get DataFlash/NAND/SPI-NOR flash supported on a specific hardware.
The J-Flash software comes with sample projects which allow programming the DataFlash/NAND flash on popular eval boards. If you have a hardware-design which is based on the one of the eval board, these sample projects should also work for your custom hardware.
If your hardware design varies too much, usually a custom RAMCode is needed which programs the flash of your target hardware. RAMCodes for custom hardware can be created on request. For more information about pricing and requirements for a custom RAMCode, please contact このメールアドレスはスパムボットから保護されています。閲覧するにはJavaScriptを有効にする必要があります。 . SEGGER also provides a RAMCode template which enables customers to write a custom RAMCode on their own. The RAMCode template is available このメールアドレスはスパムボットから保護されています。閲覧するにはJavaScriptを有効にする必要があります。 .