1

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

  • did you confirm the stlink/debug firmware is up to date (there is a firmware update tool on the st site) – old_timer Nov 14 '21 at 15:30
  • 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 – LazyEmperor Nov 14 '21 at 16:30
  • 2
    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. https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ – Marko Buršič Nov 14 '21 at 18:28
  • Yeah, there is that possibility, because it is used microcontroller from the robotics club in university. I will tried to roll it back. – LazyEmperor Nov 15 '21 at 05:51
  • Thank you @MarkoBuršič , for the solution you give works and now I can use the onboard ST-Link. – LazyEmperor Nov 15 '21 at 06:15
  • Regarding "close" votes, while this question does look like off-topic, it is certainly useful to people visiting this site. I, for one, had no idea that on-board STM programmer can be turned into J-link and that the process is reversible. – Maple Nov 15 '21 at 06:33
  • Thanks for the feedback Maple I deleted the answer. And For @MarkoBuršič your solution works, and can you please add the solution to the answer. – LazyEmperor Nov 15 '21 at 08:44
  • @LazyEmperor Done. – Marko Buršič Nov 15 '21 at 10:39

1 Answers1

2

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/

Marko Buršič
  • 23,562
  • 2
  • 20
  • 33