<techhorse>
I saw a software seemed to violate the GPLv2 license, it include modified OpenOCD. they only distributing binaries without source code, their website is "http://www.mounriver.com/"
<PaulFertser>
techhorse: have you tried mailing them?
<PaulFertser>
techhorse: where're they located?
<techhorse>
I tried to mailing them, but they not provide source code.
<techhorse>
They are in China.
<techhorse>
PaulFertser: What can I do?
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
<PaulFertser>
techhorse: oh, China is likely to be problematic. We have many copyright owners here, most in the EU. Probably SFC or FSFE can provide some guidance.
<PaulFertser>
techhorse: what do they produce btw, why exactly did they fork?
<techhorse>
PaulFertser: their modified version include support of GD(GigaDevice Semiconductor) and WCH(Nanjing Qinheng Microelectronics) chip.
<Haohmaru>
what, another forked openocd?
sbach has quit [Read error: Connection reset by peer]
keshav has joined #openocd
<techhorse>
Haohmaru: Yes, I searched some string about GD and WCH in their binary, but can't search same string in official OpenOCD.
sbach has joined #openocd
michalkotyla_ has quit [Ping timeout: 240 seconds]
<PaulFertser>
techhorse: I mean those illegal forks are probably useless anyway.
<PaulFertser>
techhorse: not having anything unique
michalkotyla has quit [Ping timeout: 256 seconds]
michalkotyla has joined #openocd
<techhorse>
PaulFertser: These chips is cheap in China, I hope support these chips in free toolchain. Add support without them help maybe difficult.
<Haohmaru>
afaik, the gigadevices which are ARM-based should already "just work" with openocd
<Haohmaru>
i mean.. SWD..
<Haohmaru>
they also make some other kinds of cores iirc, was it something RISC-ish.. for those i don't know
<techhorse>
Haohmaru: Yes, I use official OpenOCD for GD32F103C8T6 is work.
<Haohmaru>
right, so you must be talking about the non-ARMs
<techhorse>
I use CH32V103C8T6 RISC-V chip now, I use xPack RISC-V GCC to compile instead MounRiver inside, MCU can still run normaly, indicating that instruction set is compatible.
thinkfat_ has quit [Quit: Konversation terminated!]
thinkfat_ has joined #openocd
<techhorse>
but use xPack OpenOCD instead MounRiver inside, when load config file `wch-riscv.cfg` show this:
<techhorse>
xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-12-07-17:30)
<techhorse>
Licensed under GNU GPL v2
<techhorse>
DEPRECATED! use 'adapter driver' not 'interface'
<techhorse>
Error: The specified debug interface was not found (wlink)
<techhorse>
The following debug adapters are available:
<techhorse>
1: parport
<techhorse>
2: dummy
<techhorse>
3: ftdi
<techhorse>
....
* Haohmaru
has no experience with RISC-anything
michalkotyla has quit [Ping timeout: 240 seconds]
michalkotyla has joined #openocd
<PaulFertser>
techhorse: what chips specifically? I know some gd and wch chips which are clones of ST work ok.
michalkotyla has quit [Read error: Connection reset by peer]
<PaulFertser>
techhorse: gd32v103 has a pending flash driver on gerrit, feel free to test it and report.
michalkotyla has joined #openocd
michalkotyla_ has joined #openocd
michalkotyla has quit [Ping timeout: 256 seconds]
<techhorse>
PaulFertser: Yes, GD and WCH clones of ST work, most is STM32F103C8T6. WCH chip is cheap, RISC-V only 5RMB. ST chip is expensive, more than 20RMB.
<PaulFertser>
techhorse: riscv should be supported with patch on Gerrit, can you try it? Search for message:gd32v
michalkotyla has joined #openocd
michalkotyla_ has quit [Ping timeout: 256 seconds]
<techhorse>
PaulFertser: I searched in repo, path: "openocd-code/tcl/target/gd32vf103.cfg"