Andreas Bolsch writes:
> On 2021-03-09 12:34, Michael Schwingen wrote:
> > Is there a documented way to get a *manufacturer* ID in some common
> > register that can be accessed without prior knowledge about the part? 
> > If
> > not, I would prefer to shift this decision to the configuration file.
> 
> CoreSight ROM tables. Problems are that even there GD might have reused 
> ST's, and
> there might be even devices without or with buggy ROM tables ...
> 

At least the GD32F1 and other STM32F103 clones have genuine ARM
numbers in the Romtable PIDR. Furthermore, they have newer core
revisions.  In Blackmagic I accepted code for the GD32E230 in the
stm32f1 code paths. I did not test due to missing test target, but it
indicates that the romtable number are not the ST romtable numbers.

If Michael could test against BMP/hosted and confirm  GD32E230
detected and working, I 'd be gratefull. With an Stlink/Jlink/CMSIS
Dap/Ftdi adpater connected the right way, this would be "blackmagic
-t" for a first test, after compiling in src "make PROBE_HOST=hosted"

Cheers
-- 
Uwe Bonnes                [email protected]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
(Phone also available during "mobile work")


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to