Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-11 Thread Michael Schwingen
On 10.03.21 23:03, Antonio Borneo wrote: > Could you post the whole dump of the GD32E230's ROM table? > You can use CMSIS-DAP with openocd command 'dap info' Sure: > dap info AP ID register 0x04770025     Type is MEM-AP AHB5 MEM-AP BASE 0xe00ff003     Valid ROM table present         Component bas

Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-10 Thread Antonio Borneo
Could you post the whole dump of the GD32E230's ROM table? You can use CMSIS-DAP with openocd command 'dap info' Antonio On Wed, Mar 10, 2021 at 10:21 PM Michael Schwingen wrote: > > On 09.03.21 14:00, Andreas Bolsch wrote: > > On 2021-03-09 12:34, Michael Schwingen wrote: > > Is there a documen

Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-10 Thread Michael Schwingen
On 09.03.21 14:00, Andreas Bolsch wrote: > 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 configurat

Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-09 Thread Michael Schwingen
On 09.03.21 15:14, Uwe Bonnes wrote: > 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 t

Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-09 Thread Uwe Bonnes
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.

Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-09 Thread Andreas Bolsch
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 t

Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-09 Thread Michael Schwingen
On 08.03.21 20:46, Tommy Murphy wrote: > Is this of relevance to your query? > > https://www.mail-archive.com/openocd-devel@lists.sourceforge.net/msg12475.html > Thanks, seems I missed that. Patch #2 looks quite simila

Re: [OpenOCD-devel] GigaDevice GD32E230 support

2021-03-08 Thread Tommy Murphy
-devel@lists.sourceforge.net Subject: [OpenOCD-devel] GigaDevice GD32E230 support (re-send from correct mail address) Hi, I am currently starting to work on a project that uses a GD32E230 CPU (due to ST's inability to ship parts in the required volume for the next year or so :-(). The

[OpenOCD-devel] GigaDevice GD32E230 support

2021-03-08 Thread Michael Schwingen
(re-send from correct mail address) Hi, I am currently starting to work on a project that uses a GD32E230 CPU (due to ST's inability to ship parts in the required volume for the next year or so :-(). The older GD32 parts were basically 1:1 ST-compatible clones. However, the GD32E230 deviates fro