Difference between revisions of "RTT Ramcode Sample for Cortex-M0+ (Keil MDK)"
(Created page with "__TOC__ = RTT Ramcode Sample for Cortex-M0+ (Keil MDK) = Here is an example project that shows how to setup a RAM debug project with Cortex-M0 devices for RTT.") |
|||
Line 1: | Line 1: | ||
__TOC__ |
__TOC__ |
||
+ | This article describes how to get started with RTT within RAM on a Cortex-M0+ device. This article assumes that there is already a basic knowledge about RTT in general (what is RTT, etc.). If this is not the case, we recommend to read '''RTT''' chapter in the J-Link User Manual (UM08001). |
||
− | = RTT Ramcode Sample for Cortex-M0+ (Keil MDK) = |
||
+ | |||
− | Here is an example project that shows how to setup a RAM debug project with Cortex-M0 devices for RTT. |
||
+ | = Minimum requirements = |
||
+ | In order to use ETB trace on the ATMEL ATSAMD21 devices, the following minimum requirements have to be met: |
||
+ | * J-Link software version V6.44g or later |
||
+ | * µVision V5.24.2.0 or later (if the sample project from below shall be used) |
||
+ | * J-Link Plus HW version V10.1 or later |
||
+ | |||
+ | = Sample project = |
||
+ | == RTT Ramcode == |
||
+ | The following sample project is designed to be used with J-Link and Keil MDK to demonstrate RTT. The project has been tested with the minimum requirements mentioned above and a SAMD21 XPlained Pro evalboard. The sample project comes with a pre-configured project for Keil MDK that runs out-of-the box. |
||
+ | |||
+ | [[Media:Atmel_AT91SAMD2_ETB_Trace.zip | Atmel_AT91SAMD2_ETB_Trace.zip ]] |
||
+ | |||
+ | = Tested Hardware = |
||
+ | [[File:SAMA5D2_XPlained_Ultra.jpg|left|thumb|SAMA5D2 XPlained Ultra]] |
Revision as of 13:24, 8 May 2019
This article describes how to get started with RTT within RAM on a Cortex-M0+ device. This article assumes that there is already a basic knowledge about RTT in general (what is RTT, etc.). If this is not the case, we recommend to read RTT chapter in the J-Link User Manual (UM08001).
Minimum requirements
In order to use ETB trace on the ATMEL ATSAMD21 devices, the following minimum requirements have to be met:
- J-Link software version V6.44g or later
- µVision V5.24.2.0 or later (if the sample project from below shall be used)
- J-Link Plus HW version V10.1 or later
Sample project
RTT Ramcode
The following sample project is designed to be used with J-Link and Keil MDK to demonstrate RTT. The project has been tested with the minimum requirements mentioned above and a SAMD21 XPlained Pro evalboard. The sample project comes with a pre-configured project for Keil MDK that runs out-of-the box.