Difference between revisions of "RA6M4"

From SEGGER Wiki
Jump to: navigation, search
m (Fabian moved page Renesas RA6M4 to RA6M4)
(Minimum requirements)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
   
  +
==Flash==
= Minimum requirements =
 
  +
===Internal option-setting memory===
  +
Option-settings memory is located at 0x0100A100 has a size of 512 Bytes.
  +
===Internal program flash===
  +
The size of the program flash is dependent on the device used.
  +
{| class="wikitable"
  +
|-
  +
! Device !! Size (KiB) || Memory region
  +
|-
  +
| R7FA6M4AD || 512 || 0x00000000 - 0x0007FFFF
  +
|-
  +
| R7FA6M4AE|| 768 || 0x00000000 - 0x000CFFFF
  +
|-
  +
| R7FA6M4AF|| 1024 || 0x00000000 - 0x000FFFFF
  +
|}
  +
{{Note|Currently only single bank flash operations are supported. Dual bank mode is not supported.}}
  +
===Internal data flash===
  +
Internal data flash is located at 0x08000000 has a size of 8 KB.
  +
===External QSPI flash===
  +
External QSPI flash is located at 0x60000000.
  +
  +
== Minimum requirements ==
 
The Renesas RA6M4 series devices requires special handling for the TrustZone partition registers of the MCU. This requires certain HW support which is not provided by older J-Link models. The following table lists the '''minimum''' J-Link HW version needed to support this MCU.
 
The Renesas RA6M4 series devices requires special handling for the TrustZone partition registers of the MCU. This requires certain HW support which is not provided by older J-Link models. The following table lists the '''minimum''' J-Link HW version needed to support this MCU.
   
Line 16: Line 37:
   
 
'''Note:''' Models which are not listed here do not support this MCU.
 
'''Note:''' Models which are not listed here do not support this MCU.
  +
  +
== Tracing on RA6M4 series ==
  +
=== Tracing on Renesas R7FA6M4 ===
  +
==== Minimum requirements ====
  +
In order to use trace on the Renesas R7FA6M4 MCU devices, the following minimum requirements have to be met:
  +
* J-Link software version V6.94 or later
  +
* Ozone V3.22a or later (if streaming trace and / or the sample project from below shall be used)
  +
* SEGGER Embedded Studio V5.32a
  +
* J-Trace PRO for Cortex-M HW version V2.0 or later for streaming trace
  +
* J-Link Plus V10 or later for TMC/ETB trace
  +
To rebuild the project our IDE Embedded Studio can be used. The recommended version to rebuild the projects is V6.30. But the examples are all prebuild and work out-of-the box with Ozone, so rebuilding is not necessary.
  +
  +
==== Streaming trace ====
  +
TBD
  +
<!-- The project has been tested with the minimum requirements mentioned above and a ''Renesas EK-RA6M4''.
  +
  +
'''Example project:''' [[Media:Renesas_R7FA6M4_TracePins.zip | Renesas_R7FA6M4_TracePins.zip]]
  +
-->
  +
==== Trace buffer (TMC/ETB) ====
  +
'''Example Project:''' [[Media:Renesas_R7FA6M4_TraceBuffer.zip | Renesas_R7FA6M4_TraceBuffer.zip]]
  +
  +
==== Tested Hardware ====
  +
[[File:Renesas_EK-RA6M4_EvalBoard.jpg|none|thumb|Renesas EK-RA6M4 evaluation board]]
  +
  +
<!-- TBD
  +
==== Reference trace signal quality ====
  +
The following pictures show oscilloscope measurements of trace signals output by the "Tested Hardware" using the example project.
  +
All measurements have been performed using a Agilent InfiniiVision DSO7034B 350 MHz 2GSa/s oscilloscope and 1156A 1.5 GHz Active Probes.
  +
If your trace signals look similar on your trace hardware, chances are good that tracing will work out-of-the-box using the example project.
  +
More information about correct trace timing can be found at the following [https://www.segger.com/products/debug-probes/j-trace/technology/setting-up-trace/ website].
  +
  +
===== Trace clock signal quality =====
  +
The trace clock signal quality shows multiple trace clock cycles on the tested hardware as reference.
  +
[[File:STM32H7_TRB_Multiple_TCLK.png|none|thumb|Trace clock signal quality]]
  +
  +
===== Rise time =====
  +
The rise time of a signal shows the time needed for a signal to rise from logical 0 to logical 1.
  +
For this the values at 10% and 90% of the expected voltage level get used as markers. The following picture shows such a measurement for the trace clock signal.
  +
[[File:STM32H7_TRB_Risetime_TCLK.png|none|thumb|TCLK rise time]]
  +
  +
===== Setup time =====
  +
The setup time shows the relative setup time between a trace data signal and trace clock.
  +
The measurement markers are set at 50% of the expected voltage level respectively.
  +
The following picture shows such a measurement for the trace data signal 0 relative to the trace clock signal.
  +
[[File:STM32H7_TRB_Setuptime_TD0.png|none|thumb|TD0 setup time]]
  +
-->

Revision as of 14:42, 1 July 2022

Flash

Internal option-setting memory

Option-settings memory is located at 0x0100A100 has a size of 512 Bytes.

Internal program flash

The size of the program flash is dependent on the device used.

Device Size (KiB) Memory region
R7FA6M4AD 512 0x00000000 - 0x0007FFFF
R7FA6M4AE 768 0x00000000 - 0x000CFFFF
R7FA6M4AF 1024 0x00000000 - 0x000FFFFF
Note:
Currently only single bank flash operations are supported. Dual bank mode is not supported.

Internal data flash

Internal data flash is located at 0x08000000 has a size of 8 KB.

External QSPI flash

External QSPI flash is located at 0x60000000.

Minimum requirements

The Renesas RA6M4 series devices requires special handling for the TrustZone partition registers of the MCU. This requires certain HW support which is not provided by older J-Link models. The following table lists the minimum J-Link HW version needed to support this MCU.

  • J-Link-OB-S124
  • J-Link BASE V10
  • J-Link PLUS V10
  • J-Link ULTRA+ V4
  • J-Link PRO V4
  • J-Link WiFi V1
  • J-Trace PRO V2 Cortex-M
  • J-Trace PRO V2 Cortex

Later versions (e.g. V10 is listed and current HW is V11) will also work.

Note: Models which are not listed here do not support this MCU.

Tracing on RA6M4 series

Tracing on Renesas R7FA6M4

Minimum requirements

In order to use trace on the Renesas R7FA6M4 MCU devices, the following minimum requirements have to be met:

  • J-Link software version V6.94 or later
  • Ozone V3.22a or later (if streaming trace and / or the sample project from below shall be used)
  • SEGGER Embedded Studio V5.32a
  • J-Trace PRO for Cortex-M HW version V2.0 or later for streaming trace
  • J-Link Plus V10 or later for TMC/ETB trace

To rebuild the project our IDE Embedded Studio can be used. The recommended version to rebuild the projects is V6.30. But the examples are all prebuild and work out-of-the box with Ozone, so rebuilding is not necessary.

Streaming trace

TBD

Trace buffer (TMC/ETB)

Example Project: Renesas_R7FA6M4_TraceBuffer.zip

Tested Hardware

Renesas EK-RA6M4 evaluation board