NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
v0|d has joined #openocd
Guest97 has quit [Ping timeout: 256 seconds]
thinkfat_ has joined #openocd
thinkfat has quit [Ping timeout: 268 seconds]
nathanhi has quit [Quit: bye]
nathanhi has joined #openocd
c4017 has quit [Quit: Leaving]
Hawk777 has joined #openocd
Bertl_oO is now known as Bertl_zZ
techhorse has joined #openocd
nerozero has joined #openocd
<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: probably there's actually nothing worthy there.
michalkotyla has joined #openocd
<techhorse> PaulFertser: What's you said means?
<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> For bug reports, read
<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"
<PaulFertser> And see the latest comment there.
techhorse has quit [Remote host closed the connection]
techhorse has joined #openocd
keshav has quit [Quit: Client closed]
Bertl_zZ is now known as Bertl
<PaulFertser> techhorse: do you see the patches now? Do they cover the devices you're interested in?
<techhorse> PaulFertser: I saw these patches, but clone from sourceforge isn't contain these patches, so I can't test it.
<PaulFertser> techhorse: you have Download button which provide git clone links in Gerrit.
zjason` is now known as zjason
thinkfat_ has quit [Ping timeout: 260 seconds]
orzel has quit [Quit: Konversation terminated!]
nerozero has quit [Ping timeout: 256 seconds]
thinkfat_ has joined #openocd
thinkfat_ has quit [Ping timeout: 268 seconds]
Hawk777 has joined #openocd
Haohmaru has quit []
Bertl is now known as Bertl_oO
Guest46 has joined #openocd
Guest46 has quit [Client Quit]
techhorse has quit [Quit: Leaving]
techhorse has joined #openocd
techhorse has quit [Quit: Leaving]