Tongxin THA8 Gen 3

From SEGGER Knowledge Base
Jump to navigation Jump to search

The Tongxin THA8 Gen 3 device family are Cortex-R52+ based microcontrollers.

Flash Banks

R52

Flash Bank Base address J-Link Support Loader
Name Size
PFLASH[1] 0x28000000 YES.png Default 20 MB
PFLASH NVR[2] 0x2D400000 YES.png Default 1536 KB
DFLASH[1] 0x51800000 YES.png Default 1 MB
DFLASH NVR[2] 0x51900000 YES.png Default 128 KB
  1. 1.0 1.1 Enabled by default
  2. 2.0 2.1 Disabled by default

HSM

Flash Bank Base address J-Link Support Loader
Name Size
SPFLASH[1] 0x24100000 YES.png Default 1 MB
SDFLASH[1] 0x24200000 YES.png Default 1 MB
SPFLASH NVR[2] 0x24400000 YES.png Default 128 KB
SDFLASH NVR[2] 0x24480000 YES.png Default 128 KB
  1. 1.0 1.1 Enabled by default
  2. 2.0 2.1 Disabled by default

Watchdog Handling

  • The device has a watchdog.
  • The watchdog is fed during flash programming.

Multi-Core Support

Before proceeding with this article, please check out the generic article regarding Multi-Core debugging here.
The THA8 family features a Cortex-R52 primary core and five Cortex-R52 secondary cores, as well as three M52 cores.

Core J-Link Support
Cortex-R52 CPU0 YES.png
Cortex-R52 CPU1 YES.png
Cortex-R52 CPU2 YES.png
Cortex-R52 CPU3 YES.png
Cortex-R52 CPU4 YES.png
Cortex-R52 CPU5 YES.png
Cortex-M52 HSM YES.png
Cortex-M52 DME YES.png
Cortex-M52 DSPH YES.png

In below, the debug related multi-core behavior of the J-Link is described for each core:

Main core (R52 CPU0)

Reset

  • The device uses custom reset:
    • Sets reset catch so that CPU is halted immediately after reset
    • Performs Warm reset via EDPRCR register
    • Initalizes the RAM

Attach

  • Attach is supported

Secondary cores (R52 CPU1-5)

Init/Setup

  • The core is started via AXI-AP

Reset

  • The device uses custom reset:
    • Sets reset catch so that CPU is halted immediately after reset
    • Performs Warm reset via EDPRCR register
    • The core is started via AXI-AP
    • Initalizes the RAM

Attach

  • Attach is supported

M52 cores (HSM, DME, DSPH)

Init/Setup

  • The core is started via AXI-AP

Reset

Attach

  • Attach is supported

Evaluation Boards

Example Application