Difference between revisions of "Renesas RZ/T2M-RSK"
(Created page with "__TOC__ This article describes specifics for the Renesas RZ/T2M-RSK evaluation board. 450px == Minimum requirements == * J-Link software V7.6...") |
(→Preperation NOR flash programming) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
== Preparing for J-Link == |
== Preparing for J-Link == |
||
− | *Connect the J-Link to the |
+ | *Connect the J-Link to the debug header (J13 or J20) |
− | *Power the board via external power supply / power jack (CN6) |
+ | *Power the board via USB C (CN5) or external power supply / power jack (CN6) |
*Verify the Connection with e.g. [https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU#Verify_functionality_using_J-Link_Commander J-Link Commander]. The output should look as follows: |
*Verify the Connection with e.g. [https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU#Verify_functionality_using_J-Link_Commander J-Link Commander]. The output should look as follows: |
||
[[File:Renesas_RZT2M_Connect.PNG|400px]] |
[[File:Renesas_RZT2M_Connect.PNG|400px]] |
||
+ | |||
+ | ==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-ON; 2-OFF; 3-ON<br>'''<SW6>''' (16bit bus boot mode (NOR flash))<br>1-ON |
||
+ | #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 12:22, 30 August 2022
Contents
This article describes specifics for the Renesas RZ/T2M-RSK evaluation board.
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:
NOR flash programming
Board Preparation
- 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 - Power on reset the RZ/T2M RSK board
Test Procedure
- Start J-Link Commander
JLink.exe -device R9A07G075M0 -if SWD -speed 12000 -autoconnect 1 - Enter the following commands
r
loadfile 1MB_TestData.bin,0x70000000 - Repeat the loadfile sequence several times
Expected result: Programming skipped - Enter the following commands
r
exec setcomparemode 0
loadfile 1MB_TestData.bin,0x70000000 - Repeat the loadfile sequence several times
Expected result: Programming will be executed each time because compare step is skipped
Example Project
TBD
SETUP
TBD