Difference between revisions of "Renesas RZ/T2M"
(→Setup) |
(→JTAG Authentication) |
||
Line 35: | Line 35: | ||
==Reset== |
==Reset== |
||
No device specific reset but generic v8-AR core reset is performed, see TBD. |
No device specific reset but generic v8-AR core reset is performed, see TBD. |
||
− | == |
+ | ==Debug Authentication== |
+ | The RZ/T2M supports different authentication levels. Depending on the authentication level, debug access can be granted if the correct key is passed. How this is possible is described below. |
||
− | Not supported yet. Support will be added soon. |
||
+ | {{Note | For security products, the MDD pin must be set to the correct state.}} |
||
+ | ===Specifying the authentication code using J-Link Command String=== |
||
+ | This is the recommended method as the specified authentication key will be used for the whole session. This way, the key must not specified multiple times (e.g. if a reset is performed). The J-Link Command String needs to be passed to the J-Link DLL before establishing the target connection. The J-Link Command String [[J-Link_Command_Strings#SetCPUConnectIDCODE | SetCPUConnectIDCode <AuthKey>]] has to be used (see example below). |
||
+ | |||
+ | Example authentication key: |
||
+ | *AuthenticationKey0: 0x01234567 |
||
+ | *AuthenticationKey1: 0x89ABCDEF |
||
+ | *AuthenticationKey2: 0x00224466 |
||
+ | *AuthenticationKey3: 0x88AABBCC |
||
+ | |||
+ | exec SetCPUConnectIDCODE 67452301EFCDAB8966442200CCBBAA88 |
||
+ | |||
+ | ===Specifying the authentication code using the ID Code dialog=== |
||
+ | If the authentication key has not been specified using the Command String although it is required to enable debug access, the following message box will pop up which allows specifying the authentication key. |
||
+ | |||
+ | [[File:JLink_RZT2M_AuthenticationDialog.png]] |
||
==Evaluation Boards== |
==Evaluation Boards== |
Revision as of 14:32, 12 July 2022
Contents
The RZ/T2M is an high-performance multi-function MPU featuring two Cortex-R52 cores.
QSPI Flash Programming Support
Before continuing with this article, please read the generic article about QSPI flash programming support: QSPI_Flash_Programming_Support
Setup
- Hardware: Renesas RZ/T2M-RSK
- Device: R9A07G075M0
- SPI NOR Flash: Macronix MX25R512 (64MB flash)
Port / Pin Configuration
Alternate function | Port / Pin |
---|---|
XSPI0_DS | P14_4 |
XSPI0_CKP | P14_6 |
XSPI0_IO0 | P14_7 |
XSPI0_IO1 | P15_0 |
XSPI0_IO2 | P15_1 |
XSPI0_IO3 | P15_2 |
XSPI0_CS0 | P15_7 |
XSPI0_RESET0 | P16_1 |
Parallel CFI NOR Flash Programming Support
The J-Link software supports flash programming of an externally connected parallel CFI NOR flash out-of-the-box. The pins used on the RZ/T2M-RSK are assumed by default. The external memory starts at address 0x70000000.
This may be changed in future versions so that customers have to perform the external BUS interface initilization by themselves
Reset
No device specific reset but generic v8-AR core reset is performed, see TBD.
Debug Authentication
The RZ/T2M supports different authentication levels. Depending on the authentication level, debug access can be granted if the correct key is passed. How this is possible is described below.
For security products, the MDD pin must be set to the correct state.
Specifying the authentication code using J-Link Command String
This is the recommended method as the specified authentication key will be used for the whole session. This way, the key must not specified multiple times (e.g. if a reset is performed). The J-Link Command String needs to be passed to the J-Link DLL before establishing the target connection. The J-Link Command String SetCPUConnectIDCode <AuthKey> has to be used (see example below).
Example authentication key:
- AuthenticationKey0: 0x01234567
- AuthenticationKey1: 0x89ABCDEF
- AuthenticationKey2: 0x00224466
- AuthenticationKey3: 0x88AABBCC
exec SetCPUConnectIDCODE 67452301EFCDAB8966442200CCBBAA88
Specifying the authentication code using the ID Code dialog
If the authentication key has not been specified using the Command String although it is required to enable debug access, the following message box will pop up which allows specifying the authentication key.
Evaluation Boards
- Renesas RZ/T2M-RSK: https://wiki.segger.com/Renesas_RZ/T2M-RSK
Example Application
- Renesas RZ/T2M-RSK: https://wiki.segger.com/Renesas_RZ/T2M-RSK#Example_Project