05072024

Last update2016/05/28 14:38

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

Flasher RX

 

フラッシャーRX

ルネサスRXコアのフラッシュプログラマ

フラッシャーRXは、オンチップまたは外部フラッシュメモリとルネサスRXコアを持つルネサスのRX600シリーズのマイクロコントローラ用のプログラミングツールです。フラッシャーRXはJ - Flashソフトウェアまたはスタンドアロンでプログラミングフラッシュターゲットのために設計されています。そのフラッシャーに加えて、RXは、J - LinkのRXの機能がすべて備わっています。フラッシャーのRXは、イーサネット、USBまたはPCにRS232インターフェースを介して、Microsoft Windows 2000を実行し、Windows XPでは、Windows 2003では、Windows VistaまたはWindows 7を介して接続します。 
フラッシャーのRX自体は、20ピンJTAGコネクタを内蔵していますがルネサスRXデバイス用の14ピンアダプタが同梱されています。 

機能

  • JTAGプログラマは、(セットアップが完了すると、フラッシャーは、PCのプログラムを使用せずに制御可能)スタンドアローン
  • ルネサスRX600シリーズCPU(RX610、RX621、RX62N、RX62T)のサポート
  • 内部と外部フラッシュデバイスをサポートしています。
  • ターゲットプログラムの記憶用の64 MBのメモリ
  • サポートされるターゲットのプログラミングのシリアル
  • データファイルは、イーサネット/ J - Flashを使用して、USB経由またはフラッシャーRXのマスストレージ機能を経由して更新することができます
  • ターゲットインタフェース:JTAG
  • USB経由で電源不要、電源なし、
  • 720キロバイト/秒までのダウンロード速度(RAMに)とのJ - Link(JTAGエミュレータ)として使用することができます
  • ターゲットハードウェアに応じて30から300キロバイト/秒間のプログラミング速度

利用可能なソフトウェア

スタンドアロン動作用フラッシャーのRXを設定するには、J - LinkソフトウェアとドキュメンテーションパッケージからJ -フラッシュソフトウェアが必要です。J - Linkソフトウェアとドキュメンテーションパッケージには、当社のウェブサイト上でダウンロード可能です:ソフトウェアとドキュメンテーションパッケージのダウンロード

サポートされているデバイス

現在、以下のデバイスの内部フラッシュメモリのプログラミングは、フラッシャーRXによってサポートされています。
デバイスCPUコアフラッシュサイズ[キロバイト]
R5F56104 RX610 768
R5F56106 RX610 1024
R5F56107 RX610 1536
R5F56108 RX610 2048
R5F56216 RX621 256
R5F56217 RX621 384
R5F56218 RX621 512
R5F562N7 RX62N 384
R5F562N8 RX62N 512
R5F562T6 RX62T 64
R5F562T7 RX62T 128
R5F562TA RX62T 256

RX630デバイスのサポートは間近に迫っています。


仕様

一般
サポートされるOS のMicrosoft Windows 2000 
のMicrosoft Windows XP 
Microsoft Windows XPx64
Microsoft Windows 2003
Microsoft Windows 2003x64
は、Microsoft Windows Vista 
Microsoft Windows Vistax64
Microsoft Windows 7
MicrosoftのWindows 7x64
動作温度 + 5 ° C ... + 60 ° C
ストレージ温度 - 20 ° C ... + 65 ° C
相対湿度(結露しないこと) <90%RH
機械的
サイズ(ケーブルを除く) 121ミリメートルX 66mmx 30ミリメートル
重量(ケーブルを除く) 119グラム
使用可能なインターフェイス
USBホストインタフェース USB 2.0、フルスピード
イーサネットホストインターフェイス 10/100 Mビット
RS232ホストインタフェース RS232 9ピン
ターゲットインタフェース JTAG 20ピン(ルネサスRX用14ピンのアダプタに付属)
JTAGインターフェース、電気的
電源 フラッシャーRXに100mAをUSBポート経由の電源供給、。500ミリアンペアターゲットがフラッシャーRXを搭載している場合
ターゲットインタフェース電圧(V IF 1.2 ... 5V
ターゲットの供給電圧 4.5V ... 5V(14ピンアダプタにターゲットの電源電圧は3.3Vと5Vの間で切り替えることができます)
ターゲットの電源電流 最大。400ミリアンペア
タイプをリセットする ドレインを開きます。プルアップすることができる低いまたはトライステート
低レベルの出力電圧(VリセットOLを OL Vの<= 10%IF
全体の目標電圧範囲(1.8V <= VIF <= 5V)
LOWレベル入力電圧(V IL IL <= Vの40%IF
高レベル入力電圧(V IH IH Vの> = 60%IF
1.8V用の<= V IF = 3.6V <
LOWレベル出力電圧(V OL 10キロオームの負荷時) OL Vの<= 10%IF
HIGHレベル出力電圧(V OH 10キロオームの負荷時) OH Vの> = 90%IF
3.6 <= V IF <= 5V
LOWレベル出力電圧(V OL 10キロオームの負荷時) OL <= Vの20%IF
HIGHレベル出力電圧(V OH 10キロオームの負荷時) OH > = 80%のV IF
JTAGインタフェース、タイミング
最大。JTAG速度 最大12MHz
データ入力の立ち上がり時間(T RDI RDI <= 20ns
データ入力の立ち下がり時間(T FDI FDI <= 20ns
データの出力の立ち上がり時間(T RDO RDO <= 10ns
データの出力の立ち下がり時間(T FDO FDO <= 10ns
クロックの立ち上がり時間(T RC RC <= 10ns
クロックの立ち下がり時間(T FC FC <= 10ns

JTAGインタフェースの接続(14ピン)

ピンを信号タイプ説明
1 TCK 出力 CPUをターゲットとするJTAGのクロック信号。それは、このピンはターゲットボード上で定義された状態に引っ張られることをお勧めします。通常は、ターゲットCPU上でTCKに接続。
3 TRSTn 出力 JTAGのリセット。フラッシャーRXからターゲットJTAGポートのリセット信号に出力。一般的にターゲットCPUのnTRSTをに接続されています。このピンは、通常は接続がない場合、意図しないリセットを避けるためにターゲット上でハイにプルされます。
4 EMLE 出力 オンチップエミュレータ用端子はイネーブル信号。オンチップエミュレータを使用している場合、このピンはHighにドライブする必要があります。使用しない場合には、低駆動する必要があります。14ピンのアダプタ上で1Kのプルアップ抵抗を介してVTrefにプルアップ。
5 TDO 入力 ターゲットCPUからJTAGデータ出力。通常は、ターゲットCPU上でTDOに接続されています。
6 --- NC このピンは、フラッシャーのRXに接続されていません。
7 --- NC このピンは、フラッシャーのRXに接続されていません。
8 VTref 入力 これは、ターゲットの基準電圧です。それは、ターゲットに電力が供給されている場合、入力コンパレータのロジックレベルの基準を作成し、ターゲットへの出力ロジックレベルを制御するために、確認するために使用されます。それは通常、ターゲットボードのVDDから供給され、直列抵抗を持ってはいけません。
9 TMS 出力 JTAGモードでは、ターゲットCPUの入力を設定します。このピンは、ターゲット上でプルアップする必要があります。一般的にターゲットCPU上でTMSに接続。
10 --- NC このピンは、フラッシャーのRXに接続されていません。
11 TDI 出力 ターゲットCPUのJTAGデータ入力。それは、このピンはターゲットボード上で定義された状態に引っ張られることをお勧めします。通常は、ターゲットCPU上でTDIに接続されています。
13 nRES I / O ターゲットCPUのリセット信号。通常は一般的に"nRESETの"または"RESET"、"NRST"と呼ばれているターゲットCPUのRESETピンに接続。
注意事項:
  • マークされたすべてのピンはNCは、フラッシャーのRXに接続されていません。どのような信号は、ここに適用することができます。フラッシャーのRXは、単にそのような信号を無視します。
  • ピン21214はフラッシャーRXでGNDに接続してGND端子です。彼らはまた、ターゲットシステムのGNDに接続してください。

フラッシュメモリ内蔵マイコンの性能

次の表は、異なるコントローラのプログラムと消去のパフォーマンス値を示します。
マイクロコントローラサイズ[キロバイト]消去時間[秒]プログラムの時間[秒]時間を確認して[秒]合計時間[秒]
R5F56108 2048 9.523 11.915 3.890 25.585

 

J-Link ColdFire Flash Breakpoints

Flash Breakpoints

 

The J-Link software contains an additional feature, called flash breakpoints (FlashBP). Flash breakpoints allow the user to set an unlimited number of software breakpoints when debugging in flash memory, rather than just the 2 hardware breakpoints. Setting the breakpoints in flash is executed very fast using a RAM code specifically designed for this purpose; on chips with fast flash, the difference between breakpoints in RAM and flash is unnoticeable. This feature requires an additional license from SEGGER.

List of supported microcontrollers

How do breakpoints work?

There are basically 2 types of breakpoints in a computer system: Hard ones and soft ones. Hardware breakpoints require a dedicate hardware unit for every breakpoint. In other words, the hardware dictates how many hardware breakpoints can be set simultaneously. ARM7 and ARM 9 cores have 2 breakpoint units (called "watchpoint units" in ARM's documentation), allowing 2 hardware breakpoints to be set. Hardware breakpoints do not require modification of the program code. Software breakpoints are different: The debugger modifies the program and replaces the breakpointed instruction with a special value. Additional software breakpoints do not require addi- tional hardware units in the processor, since simply more instructions are replaced. This is a standard procedure that most debuggers are capable of, however, it requires the program to be located in RAM.

What is special about software breakpoints in flash?

FlashBP allows you to set an unlimited number of breakpoints even if your application program is not located in RAM, but in flash memory. This is a scenario which was very rare before ARM-microcontrollers hit the market. This new technology makes very powerful, yet inexpensive ARM microcontrollers available for systems, which required external RAM before. The downside of this new technology is that it is not possible to debug larger programs on these micros in RAM, since the RAM is not big enough to hold program and data (typically, these chips contain about 4 times as much flash as RAM), and therefore with standard debuggers, only 2 breakpoints can be set. The 2 breakpoint limit makes debugging very tough; a lot of times the debugger requires 2 breakpoints to simply step over a line of code. With software breakpoints in flash, this limitation is gone.

How does this work?

Basically very simple:
The J-Link software reprograms a sector of the flash to set or clear a breakpoint.

What performance can I expect ?

A RAMCode, specially designed for this purpose, sets and clears flash breakpoints extremely fast; on micros with fast flash the difference between breakpoints in RAM and flash is hardly noticeable.

How is this performance achieved ?

We have put a lot of effort in making flash breakpoints really usable and convenient. Flash sectors are programmed only when necessary; this is usually the moment execution of the target program is started. A lot of times, more then one breakpoint is located in the same flash sector, which allows programming multiple breakpoints by programming just a single sector. The contents of program memory are cached, avoiding time consuming reading of the flash sectors. A smart combination of software and hardware breakpoints allows us to use hardware breakpoints a lot of times, especially when the debugger is source level-stepping, avoiding reprogramming flash in these situations. A built-in instruction set simulator further reduces the number of flash operations which need to be performed. This minimizes delays for the user, maximizing the life time of the flash. All resources of the ARM micro are available to the application program, no memory is lost for debugging. All of the optimizations described above can be disabled.

Using FlashBP

Licensing

The software is licensed on a per J-Link basis. It requires a J-Link with FlashBP feature. If you want to use FlashBP with J-Link GDB Server or J-Link RDI you will need an additional license for these software components.

In order to receive your free 30 days trial license, please send an e-mail including the J-Link serial number to このメールアドレスはスパムボットから保護されています。閲覧するにはJavaScriptを有効にする必要があります。 .

Using FlashBP with different software components

The FlashBP feature can be used with the following J-Link software components:

For more information about how to use FlashBP with the different software components, please refer to the corresponding manuals.

 

J-Link Renesas RX support

J-Link Renesas RX support
Overview

J-Link Renesas RX support

J-Link is compatible to the Renesas RX600 series MCUs. All that is needed to use J-Link with a Renesas RX600 series MCU, is an RX Adapter which is available for J-Link, J-Link Pro, J-Link Ultra, J-Link EDU and any other licensed J-Link compatible emulator. The required software can be downloaded from SEGGER's website and used free of charge.

Features

  • Supports direct download into flash memory
  • Supports software breakpoints in flash memory (Flash breakpoints)
  • Seamless integration into the Renesas HEW & IAR Embedded Workbench IDE
  • On-chip trace support
  • Virtual UART support (C2E support)
  • All kinds of events are supported (Execution break, data access, trace break, combintation/sequentation of events)
  • 20-pin to standard 14-pin Renesas JTAG connector
  • USB 2.0 interface
  • JTAG speed up to 12 MHz / 25 MHz (depending on J-Link model)
  • No power supply required, powered through USB
  • All JTAG signals can be monitored, target voltage can be measured
  • Support for multiple devices
  • Fully plug and play compatible
  • Wide target voltage range: 1.2V - 3.3V, 5V tolerant
  • TCP/IP server included, which allows using J-Link via TCP/IP networks
  • Target power supply: J-Link can supply up to 300 mA to target with overload protection



Available J-Link RX hardware

RX adapter


All that is needed to use J-Link with a Renesas RX600 series MCU, is a regular J-Link + the 20-pin to 14-pin RX adapter.



Compatible MCUs

J-Link RX support supports all RX-CPUs with RX600 core and JTAG interface. The following devices / device groups are known to be compatible:

  • RX610 Group
  • RX62N Group, RX621 Group

 


 

  • Higher speed
    First of all, J-Link is much faster. We achive (at the time of writing, using the current versions of both the J-Link and E1 software) a speed of approximately 2-6 times the speed of the E1.
    This is true for basically all operations, incl. download to flash, setting of breakpoints in flash as well as startup and typical debugging operations like single stepping or memory read operations.
  • Smart breakpoint management
    Flash breakpoints are much faster on J-Link than on E1 or E20, but because of the large flash sectors of up to 128KB, setting or removing flash breakpoints is still time consuming.
    J-Link uses different techniques to minimize the amount of times a flash breakpoint is set or removed. Some of these techniques are: Instruction set simulation, use of hardware breakpoints where possible, dynamic conversion of breakpoint types, flash caching, CRC checking and others
  • SDK available
    You can write your own application and control an RX600 series MCU using J-Link
  • Same probe for ARM and RX600 CPUs: No need to switch emulators!
  • Control panel allows monitoring of operation
  • 64 bit OS supported
  • J-Link commander: Free Command line utility for J-Link
  • J-Flash: Allows using J-Link for production purposes

 


Installing the J-Link USB driver

J-Link RX is compatible to the regular J-Link and uses the same USB driver. In order to install the driver, simply download and install the latest software and documentation pack of J-Link:

J-Link software and documentation pack download page

In order to verify the correct installation of the J-Link USB driver, simply start J-Link commander, a small command line-based tool which comes with the J-Link software.
J-Link commander can be found at Start -> All programs -> SEGGER -> J-Link software version -> J-Link commander. If the installation of the driver was successful and J-Link + target board are connected to the PC, the output of J-Link commander should look like this:

Setup J-Link RX for use in Renesas HEW and IAR EWRX

J-Link RX is fully compatible to Renesas E1 emulator and works with Renesas HEW and IAR Embedded Workbench for RX (EWRX).
The J-Link RX software is a package of DLLs which replace the original Renesas DLLs used for E1/E20 and can be downloaded here:

J-Link RX software download (V4.24c)

Subscribe to J-Link RX software notification

For more detailed information how to setup J-Link RX for use with HEW and EWRX, please follow the instructions in the Readme.txt which comes with the software package.

Beta software

Currently there is no new beta version. Please use the current release.

Using J-Link RX with Renesas HEW and IAR EWRX

Since J-Link RX is fully compatible to the Renesas E1 emulator, all features supported by the IDE + E1 can also be used with J-Link RX. J-Link RX has been tested with the following IDEs:

  • Renesas HEW
  • IAR EWRX


 



Flash programming via J-Link Commander

The built-in Flash loader can be used to program the flash of supported RX devices directly from within the debugger or via J-Link commander. This allows using J-Link for flash programming of smaller production batches. To program the flash via J-Link Commander, a sequence of commands such as the following can be used:

speed 12000                       // Select High JTAG speed
h                                 // Halt target CPU
exec device=RX600                 // Select correct device (RX600, RX62N, RX62T) to enable flash programming
loadbin C:\file.bin,0xFFF80000    // Load program into flash
r                                 // Reset target CPU (not required if all you want to do is program flash)
g                                 // Start target CPU (not required if all you want to do is program flash)
q                                 // Quit
The command can be stored in a script file, which can be executed as follows: JLink.exe

 


ST MB525 Rev. B

 

ST MB525 Rev. B

Controller:
  • STM32F103VBT6
CPU:
  • ARM Cortex-M3
Board main features:
  • Three 5V power supply options: Power jack, USB connector or daughter board
  • Boot from User Flash, Test Flash or SRAM
  • Audio play and record
  • 64MByte MicroSD card
  • Both type A&B Smart card support
  • 8Mbyte serial Flash
  • I2C/SMBus compatible serial interface temperature sensor
  • 2 channels of RS232 communication with RTS/CTS handshake support on one channel.
  • IrDA transceiver
  • USB2.0 full speed connection
  • CAN2.0A/B compliant connection
  • Inductor Motor Control connector
  • JTAG, SWD and Trace Debug support
  • 122x32 dot-Matrix LCD and 240x320 TFT color LCD
  • Joystick with 4-direction control and selector
  • Reset, Wakeup, Tamper and User button
  • 4 LEDs
  • RTC with backup battery
  • Extension connector for daughter board or wrapping board
Controller main features:
  • Implements the ARM architecture v7-M
  • Thumb-2 instruction set (Enhanced levels of performance, energy efficiency, code density, mixed mode capability, ARM levels of performance with Thumb level code density)
  • Memory Protection Unit (MPU)
  • Embedded Trace Macrocell(ETM)
  • Data Watchpoint and Trace unit (DWT)
  • Flash Patch and Breakpoint unit (FPB)
  • Debug Port (SW-DP or SWJ-DP)
  • Single cycle multiply and hardware divide instructions
  • Preconfigured memory map
  • Up to 4 gigabytes of addressable memory space
  • Predefined addresses for code, memory, external devices, peripherals
  • Dedicated space for vendor specific addressability
  • Atomic bit manipulation with bit banding (Direct access to single bits of data)
  • Unaligned data storage and access
  • Integrated sleep modes (Sleep Now, Sleep on Exit)
Available software:

Production Tools

SEGGER Production Tools

For production environments,we provide flash programming solutions for a variety of CPUs.

Stand-alone programmer“Frasher

The flasher family easys the implementation into a production site by allowing the flash programming to be triggered manually or remotely

Software solutions for flash programming via J-Link

In addition to our hardwere products,we offer softwere solutions that allow J-Link to be used as production tool.The available softwere packages are


  • J-Flash:Stand-alone programming software for a variety of microcontrollers and external flashes
  • DFPU:Dedicated flash programming utilities for eval boards or custom hardware .NOR,NAND and SPI flashes can be supported,sourse code of utilities available .
  • SDK:Software development kit.Allows writing your own program and gives you full control over J-Link and your terget CPU.