Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread Paul Fertser
Hey Kristof, On Wed, Apr 29, 2020 at 07:30:33PM +0200, kristof.mul...@telenet.be wrote: > Do you recommend to use the "tool-openocd-gd32v" from platformio? I would suggest to give it a try if you're not allergic to using binary tools. And I have no idea about platformio specifics. > Or should I

Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread kristof . mulier
Hi @Paul, Thank you so much for your research! Do you recommend to use the "tool-openocd-gd32v" from platformio? Or should I somehow pull this particular riscv commit and build OpenOCD from sources (although I'd need a little help to pull this through)? Kind regards, Kristof -

Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread Paul Fertser
On Wed, Apr 29, 2020 at 07:59:49PM +0300, Paul Fertser wrote: > On Wed, Apr 29, 2020 at 06:53:50PM +0200, kristof.mul...@telenet.be wrote: > > Error: flash driver 'gd32vf103' not found > > I guess you want "tool-openocd-gd32v" from platformio. This driver is > not in upstream OpenOCD. I did some

Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread Paul Fertser
Hello, On Wed, Apr 29, 2020 at 06:53:50PM +0200, kristof.mul...@telenet.be wrote: > Error: flash driver 'gd32vf103' not found I guess you want "tool-openocd-gd32v" from platformio. This driver is not in upstream OpenOCD. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html)

Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread kristof . mulier
Hi @Jim, Thanks for your reply ^_^ Mr. Reuben Townsend sent me a configuration file that should be used for the GD32VF103 board with GD-Link (onboard probe): # Script for GD32VF103 with GD-Link # == adapter_khz 1000 reset_config srst_only

Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread j. m. norris
Kristof, The CMSIS-DAP related bits in that file should be fine. However, there are other things in the file that are specific to the ARM, e.g, flash and PLL bits. So you can't use the file as-is. You'll have to do some modifications for the RISCV (if any). As far as combining it, it's just a

Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread kristof . mulier
Hi @jmn I just got the following reply from Reuben Townsend from GigaDevice: Hi Kristof, the GD-LINK uses the CMSIS-DAP interface and for the GD32E230 MCU, you can use the stm32f0x.cfg configuration file. Attached is a script you could use. It didn't work on my computer. I'll ask him what

Re: [OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread j. m. norris
Kristof, Can you send a link for the RiscV board documentation? I might be able to help as I've work with other RiscV boards. Regards jmn ___ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net

[OpenOCD-devel] [PATCH]: c22c22c add support for Nuvoton numicro M4 series

2020-04-29 Thread gerrit
This is an automated email from Gerrit. Saravanan Sekar (sarava...@linumiz.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5636 -- gerrit commit c22c22c8c1a38d7afb34f3ab7ef32a01e74ed556 Author: Saravanan Sekar Date: Wed Apr 29 16:56:46 2020 +0200

[OpenOCD-devel] [PATCH]: 20388b6 add support for Nu-Link (Nuvoton ICE) over usb

2020-04-29 Thread gerrit
This is an automated email from Gerrit. Saravanan Sekar (sarava...@linumiz.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5635 -- gerrit commit 20388b6d6288ea374a4b7725b488c6afc7fc548b Author: Zale Yu Date: Wed Apr 29 16:53:52 2020 +0200

[OpenOCD-devel] Support for GigaDevice microcontrollers

2020-04-29 Thread kristof . mulier
Hi, We received a couple of boards from GigaDevice (one of them is RiscV-based): GD32VF103C-START (MCU: GD32VF103C ) RiscV -based GD32E231C-START (MCU: GD32E231C ) ARM -based GD32E232K-START (MCU: GD32E232K ) ARM -based GD32E230C-EVAL (MCU: GD32E230C8) ARM-based OpenOCD doesn't seem to