Difference between revisions of "Renesas RZ/T2M-RSK"

From SEGGER Wiki
Jump to: navigation, search
(Example Project)
(Preperation NOR flash programming)
 
Line 15: Line 15:
 
[[File:Renesas_RZT2M_Connect.PNG|400px]]
 
[[File:Renesas_RZT2M_Connect.PNG|400px]]
   
== Preperation NOR flash programming==
+
==NOR flash programming==
  +
===Board Preparation===
#Check whether SW4 on RZ/T2M RSK board is set as 16bit bus boot mode(NOR flash):<br>'''<SW4>''' (16bit bus boot mode (NOR flash))<br>1-OFF; 2-ON; 3-ON; 4-OFF; 5-OFF; 6-ON; 7-OFF; 8-ON; 9-ON; 10-OFF
 
  +
#Check whether SW4 on RZ/T2M RSK board is set as 16bit bus boot mode(NOR flash):<br>'''<SW4>''' (16bit bus boot mode (NOR flash))<br>1-ON; 2-OFF; 3-ON<br>'''<SW6>''' (16bit bus boot mode (NOR flash))<br>1-ON
#Push red reset button of RZ/T2M RSK board.
 
  +
#Power on reset the RZ/T2M RSK board
 
  +
===Test Procedure===
 
  +
#Start J-Link Commander<br>JLink.exe -device R9A07G075M0 -if SWD -speed 12000 -autoconnect 1
  +
#Enter the following commands<br>r<br>loadfile [[Media: 1MB_TestData.bin|1MB_TestData.bin]],0x70000000
  +
#Repeat the loadfile sequence several times<br>Expected result: Programming skipped
  +
#Enter the following commands<br>r<br>exec setcomparemode 0<br>loadfile 1MB_TestData.bin,0x70000000
  +
#Repeat the loadfile sequence several times<br>Expected result: Programming will be executed each time because compare step is skipped
   
 
== Example Project==
 
== Example Project==

Latest revision as of 11:22, 30 August 2022

This article describes specifics for the Renesas RZ/T2M-RSK evaluation board.

Renesas RZT2M-RSK.jpg

Minimum requirements

  • J-Link software V7.68 or later

Preparing for J-Link

  • Connect the J-Link to the debug header (J13 or J20)
  • Power the board via USB C (CN5) or external power supply / power jack (CN6)
  • Verify the Connection with e.g. J-Link Commander. The output should look as follows:

Renesas RZT2M Connect.PNG

NOR flash programming

Board Preparation

  1. Check whether SW4 on RZ/T2M RSK board is set as 16bit bus boot mode(NOR flash):
    <SW4> (16bit bus boot mode (NOR flash))
    1-ON; 2-OFF; 3-ON
    <SW6> (16bit bus boot mode (NOR flash))
    1-ON
  2. Power on reset the RZ/T2M RSK board

Test Procedure

  1. Start J-Link Commander
    JLink.exe -device R9A07G075M0 -if SWD -speed 12000 -autoconnect 1
  2. Enter the following commands
    r
    loadfile 1MB_TestData.bin,0x70000000
  3. Repeat the loadfile sequence several times
    Expected result: Programming skipped
  4. Enter the following commands
    r
    exec setcomparemode 0
    loadfile 1MB_TestData.bin,0x70000000
  5. Repeat the loadfile sequence several times
    Expected result: Programming will be executed each time because compare step is skipped

Example Project

TBD

SETUP

TBD