CuteMXIDE does not work with GD32-H405 boards :-(

Started by sailorXY, June 12, 2023, 10:42:30 AM

Previous topic - Next topic


Dear Olimex Team,

the STM32F405RG processors seems not to be deliverable - so we decided to buy the board GD32-H405 boards with the clone processor from GlobalDevice.

Unfortunately the CuteMXIDE are not working with the China-Processor. When trying to flash it (with SEGGER J-Link), the IDE gives the following error pop-up:

"Could not verify ST device!"   :(

The GDB log is the following:

SEGGER J-Link GDB Server V7.58 Command Line Version

JLinkARM.dll V7.58 (DLL compiled Nov  4 2021 16:23:13)

Command line: -port 2331 -s -device GD32F405RG -endian little -speed 4000 -vd
-----GDB Server start settings-----
GDBInit file:                  none
GDB Server Listening port:     2331
SWO raw output listening port: 2332
Terminal I/O port:             2333
Accept remote connection:      localhost only
Generate logfile:              off
Verify download:               on
Init regs on start:            off
Silent mode:                   off
Single run mode:               on
Target connection timeout:     0 ms
------J-Link related settings------
J-Link Host interface:         USB
J-Link script:                 none
J-Link settings file:          none
------Target related settings------
Target device:                 GD32F405RG
Target interface:              JTAG
Target interface speed:        4000kHz
Target endian:                 little

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V11 compiled May 23 2023 14:44:38
Hardware: V11.00
S/N: 51022246
Feature(s): GDB
Checking target voltage...
Target voltage: 3.32 V
Listening on TCP/IP port 2331
Connecting to target...

J-Link found 2 JTAG devices, Total IRLen = 9
JTAG ID: 0x4BA00477 (Cortex-M4)
Connected to target
Waiting for GDB connection...Connected to
Reading all registers
Read 4 bytes @ address 0x08004C46 (Data = 0x00304006)
Read 4 bytes @ address 0x08004E2A (Data = 0x0006F89D)
Reading 64 bytes @ address 0x88BF8640
Received monitor command: WriteDP 0x2 0xF0
Received monitor command: ReadAP 0x2
Reading 32 bytes @ address 0xE00FFFD0
GDB closed TCP/IP connection (Socket 1104)
Restoring target state and closing J-Link connection...

The SEGGER tooling knows the GD32F405RG processor - so it seems to be a CuteMXIDE issue not to accept clone processors?

Any idea how to flash/debug the GD32F405RG clones?

thanks in advance for your support...



Sure CubeMX IDE doesn't support GD32 chips. GD32 chips are not made by STM and there is no way STM would support them within their own software...

GD32 chips are supported by IAR EW, by the OpenOCD community, and others.
Technical support and documentation manager at Olimex


Ok - thank you for clarification.

Would be cool to explicitely mention this fact at your product page of the GD32-H405 board.

So I try IAR EW - together with my J-Link JTAG dongle...



Technical support and documentation manager at Olimex