Difference between revisions of "MT7697 series"

From SEGGER Wiki
Jump to: navigation, search
(Created page with "__TOC__ The ARM CoreLink SSE-200 is a prototyping platform from ARM that allows prototyping of Cortex-M33 based devices on the ARM MPS3 board. It incorporates a du...")
 
Line 5: Line 5:
   
 
= J-Link support =
 
= J-Link support =
J-Link supports the ARM CoreLink SSE-200 prototyping platform since the following J-Link software versions:
+
J-Link supports the MediatTek 7697 series since the following J-Link software versions:
* V6.33h (beta) or later ([https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPackBeta Download latest beta])
+
* V6.35a and later ([https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack Download latest version])
* V6.34 (release) or later ([https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack Download latest release])
 
   
= Core topology =
+
= Reset =
  +
Unfortunately, on the MediaTek 7697 series the standard Cortex-M software triggered reset via AIRCR.SYSRESETREQ does not work (bit has no effect).
The cores are named as follows:
 
   
  +
A reset via the reset pin cannot be used because it also resets the debug logic (e.g. vector catch etc. bits) which makes it impossible to halt the core immediately after reset, before it executes any instruction.
{| class="wikitable"
 
!Core name
 
!Description
 
|-
 
|Cortex-M33 (core 0)
 
|Main core that device boots from by default
 
|-
 
|Cortex-M33 (core 1)
 
|Secondary core that is not booted by default on reset release
 
|}
 
   
  +
For this device series, J-Link will issue a reset of the Cortex-M4 core only (AIRCR.VECTRESET). No peripherals etc. are reset by this reset. The Cortex-M4 core is halted after the secondary bootloader has run and jumped to the firmware image at 0x10079000 in QSPI flash. It is halted before any instruction of the firmware image is executed.
== J-Link device selection ==
 
The following device names are available for J-Link:
 
 
{| class="wikitable"
 
!Device name
 
!Function
 
|-
 
|SSE-200-MPS3
 
|Connects to core 0
 
|-
 
|SSE-200-MPS3_M33_0
 
|Connects to core 0
 
|-
 
|SSE-200-MPS3_M33_1
 
|Connects to core 1. Core 1 is enabled (released from reset) automatically by J-Link, if necessary
 
|}
 
 
= Example projects =
 
There are sample projects available that demonstrate how to use J-Link with the ARM CoreLink SSE-200 prototyping platform.
 
 
== SEGGER Embedded Studio (multi-core) ==
 
The sample project for SEGGER Embedded Studio is a RAM based project and also demonstrates multi-core debugging.
 
The sample is actually split into 2 projects:
 
* [[Media:ARM_SSE-200-MPS3_MPS3_LEDBlinkCore0_ES.zip | ARM_SSE-200-MPS3_MPS3_LEDBlinkCore0_ES.zip]]
 
* [[Media:ARM_SSE-200-MPS3_MPS3_LEDBlinkCore1_ES.zip | ARM_SSE-200-MPS3_MPS3_LEDBlinkCore1_ES.zip]]
 
 
''' ARM_SSE-200-MPS3_MPS3_LEDBlinkCore0_ES '''
 
 
Loaded into internal SRAM and executed by core 0. Controls LED1 and LED2 on the MPS3 board. LED1 is always toggled, LED2 is toggled as long as core 1 is running its application and sending commands to core 0
 
 
''' ARM_SSE-200-MPS3_MPS3_LEDBlinkCore1_ES '''
 
 
Loaded into internal SRAM and executed by core 1. Sends commands to core 0 that instruct the main application to toggle LED2
 
 
=== Usage ===
 
* Start SEGGER Embedded Studio twice
 
* Open ARM_SSE-200-MPS3_MPS3_LEDBlinkCore0_ES and ARM_SSE-200-MPS3_MPS3_LEDBlinkCore1_ES accordingly
 
* Start debug session with project for core 0
 
* Let CPU run as soon as main() has hit
 
* Start debug session with project for core 1
 
* Let CPU run as soon as main() has hit
 
* LED1 and LED2 will blink
 
* Now halt core 1 (issue halt request in debug session for core 1)
 
* LED2 stops blinking, LED1 continues to blink
 
 
=== Requirements ===
 
The following are the min. requirements to run the example project:
 
* SEGGER Embedded Studio V3.40 or later
 
* J-Link software V6.33h or later. (Install after Embedded Studio and let J-Link installer update the Embedded Studio installation)
 
* [[MPS3 | ARM MPS3 board]]
 
   
 
<references/>
 
<references/>

Revision as of 15:46, 21 August 2018

The ARM CoreLink SSE-200 is a prototyping platform from ARM that allows prototyping of Cortex-M33 based devices on the ARM MPS3 board. It incorporates a dual-core Cortex-M33, lots of internal RAM (> 2 MB) and QSPI flash.

J-Link support

J-Link supports the MediatTek 7697 series since the following J-Link software versions:

Reset

Unfortunately, on the MediaTek 7697 series the standard Cortex-M software triggered reset via AIRCR.SYSRESETREQ does not work (bit has no effect).

A reset via the reset pin cannot be used because it also resets the debug logic (e.g. vector catch etc. bits) which makes it impossible to halt the core immediately after reset, before it executes any instruction.

For this device series, J-Link will issue a reset of the Cortex-M4 core only (AIRCR.VECTRESET). No peripherals etc. are reset by this reset. The Cortex-M4 core is halted after the secondary bootloader has run and jumped to the firmware image at 0x10079000 in QSPI flash. It is halted before any instruction of the firmware image is executed.