1
\$\begingroup\$

So I have a STM32F407VG Discovery Board, the board has ST Link. But when I connect the usb to my pc, the ide that I used does not recognized it. I used atollic and stm32cube ide. But when I check my device manager, there is a device connected named j-link and it said it is working fine. I don't really know what to do.

enter image description here

\$\endgroup\$
8
  • \$\begingroup\$ did you confirm the stlink/debug firmware is up to date (there is a firmware update tool on the st site) \$\endgroup\$
    – old_timer
    Commented Nov 14, 2021 at 15:30
  • \$\begingroup\$ I think so, I install STSW-LINK009 driver from the ST website. Then I tried STSW-LINK007 to upgrade the firmware but it also does not detect the on board st link \$\endgroup\$ Commented Nov 14, 2021 at 16:30
  • 2
    \$\begingroup\$ IMO there is a hack to make a J-link from onboard ST-link, so probably your device was hacked, you have to find the possibility to roll back. segger.com/products/debug-probes/j-link/models/other-j-links/… \$\endgroup\$ Commented Nov 14, 2021 at 18:28
  • \$\begingroup\$ Yeah, there is that possibility, because it is used microcontroller from the robotics club in university. I will tried to roll it back. \$\endgroup\$ Commented Nov 15, 2021 at 5:51
  • \$\begingroup\$ Thank you @MarkoBuršič , for the solution you give works and now I can use the onboard ST-Link. \$\endgroup\$ Commented Nov 15, 2021 at 6:15

1 Answer 1

2
\$\begingroup\$

There is an option from Segger to convert an on-board ST-Link to a J-link. Your device was probably yet converted, so you have to find the possibility to roll back.

https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.