I'm trying to set up a profile environment for the GD32F405 in SystemView using FreeRTOS 11. However it seems to be getting stuck with the following log and silently failing:
Display All
It's definitely seeing the RTT control block as pressing "read recorded data" gives this further information
Using the segger_sysview_start(); in code, I manage to pull the following data from the device using the "read recorded information" command:
![](https://forum.segger.com/index.php/Attachment/5885-Screenshot-2024-05-07-163552-png/?s=fefc646ab940e7c02c90415223b8d15d6fb39aaa)
I believe I've managed to get this working in the past, though no longer have the original code find any differences.
Any help would be really appreciated.
Source Code
- 16:23:38 - JLink: Device "GD32F405ZK" selected.
- 16:23:38 - JLink: Found SW-DP with ID 0x2BA01477
- 16:23:38 - JLink: DPIDR: 0x2BA01477
- 16:23:38 - JLink: CoreSight SoC-400 or earlier
- 16:23:38 - JLink: Scanning AP map to find all available APs
- 16:23:38 - JLink: AP[1]: Stopped AP scan as end of AP map has been reached
- 16:23:38 - JLink: AP[0]: AHB-AP (IDR: 0x24770011)
- 16:23:38 - JLink: Iterating through AP map to find AHB-AP to use
- 16:23:38 - JLink: AP[0]: Core found
- 16:23:38 - JLink: AP[0]: AHB-AP ROM base: 0xE00FF000
- 16:23:38 - JLink: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
- 16:23:38 - JLink: Found Cortex-M4 r0p1, Little endian.
- 16:23:38 - JLink: FPUnit: 6 code (BP) slots and 2 literal slots
- 16:23:38 - JLink: CoreSight components:
- 16:23:38 - JLink: ROMTbl[0] @ E00FF000
- 16:23:38 - JLink: [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
- 16:23:38 - JLink: [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
- 16:23:38 - JLink: [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
- 16:23:38 - JLink: [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
- 16:23:38 - JLink: [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
- 16:23:38 - JLink: [0][5]: E0041000 CID 00000000 PID 00000000 ???
Source Code
- 16:30:12 - JLink: [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
- 16:30:12 - JLink: [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
- 16:30:12 - JLink: [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
- 16:30:12 - JLink: [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
- 16:30:12 - JLink: [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
- 16:30:12 - JLink: [0][5]: E0041000 CID 00000000 PID 00000000 ???
- 16:30:13 - RTT Control Block found at 0x1000F9B4.
- 16:30:13 - SystemView Buffer found.
- 16:30:13 - SystemView Buffer is empty!
- 16:30:13 - Warning: Failed to read recorded data.
I believe I've managed to get this working in the past, though no longer have the original code find any differences.
Any help would be really appreciated.