From: Wojciech P. <wo...@pu...> - 2024-03-26 10:57:47
|
i have J-LINK (chinese copy, but works fine under J-LINK software under windows). But i really don't want to use separate computer to program my microcontroller. With ST-LINK openocd works fine. But i don't have ST-LINK at the moment. Under FreeBSD J-LINK shows as: Mar 26 11:37:55 laptop kernel: ugen0.8: <SEGGER J-Link> at usbus0 Mar 26 11:37:55 laptop kernel: umodem0 on uhub1 Mar 26 11:37:55 laptop kernel: umodem0: <CDC> on usbus0 Mar 26 11:37:55 laptop kernel: umodem0: data interface 1, has CM over data, has break tried a script #!/bin/sh program=openocd config=/usr/local/share/openocd/scripts/interface/jlink.cfg target=/usr/local/share/openocd/scripts/target/stm32g0x.cfg $program -f $config -f $target -c "init" -c "reset" -c "exit" got: Open On-Chip Debugger 0.12.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. Error: No J-Link device found any ideas? |