how to use st-LINK v2 in Ac6 System Workbench for STM32 environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-29 1:00 AM
Hi?
Now I try to use ST-link V2 to debug in AC3 System Workbench, but can't debug.Best Regards,
Kent
#system-workbench-ide #debug-stm32-using-st-link/v2Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 1:33 AM
Hi,
You can try to upgrade the STLink firmware first, you have JTAG v17 which is an old version.
You can do this with stlink upgrade tool available on st web site.
Then, for the debug, it is better to connect the Reset line comming from STlink to target mcu.
If you can't, use the 'software reset system' in SW4STM32 debug configuration (debugger tab and click 'show generator options').
Rgds,
Laurent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-29 8:58 PM
Add more information, just DIO, CLK, GND connectioned between ST-link V2 and STM32F103 board.
From the latest error, seems that just reset and halt issue, but I enable & disable Rest and Halt setting, the error is same.
Best Regards,
Kent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 1:33 AM
Hi,
You can try to upgrade the STLink firmware first, you have JTAG v17 which is an old version.
You can do this with stlink upgrade tool available on st web site.
Then, for the debug, it is better to connect the Reset line comming from STlink to target mcu.
If you can't, use the 'software reset system' in SW4STM32 debug configuration (debugger tab and click 'show generator options').
Rgds,
Laurent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 5:39 AM
Laurent,
Do you means that update STJlink firmware using the below SW?
Best Regards,
Kent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 6:15 AM
Hi,
You can use this way if the Stlink utility software is not too old.
I was refering to the appli stlink fw upgrade available here :
Rgds,
Laurent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 6:33 AM
Need NRST connected for Reset connection options to function.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 6:43 AM
Not really, the choice 'software system reset' is indeed not using the reset line.
But it is preferable to connect Reset line to avoid being blocked if using SWD pins as GPIOs or low power modes in your appli...
Or even if you want to use the Reset button on your Ide.
Rgds,
Laurent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 8:41 AM
Is there a robustness issue with OpenOCD, GDB and ST-LINK that ST could put some engineering resources behind? Seems to be more fragile than the IAR and Keil implementations.
The application of current drivers and firmware seems to be something that could get addressed directly in the installation of SW4STM32. Tightening up things in this regard could substantially reduce the support burden, especially when dealing with simple/repetitive issues.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 8:34 PM
I have the same problem on a STM32F746BGT6. I updated the F/W on ST-Link/V2. And still can not debug my board. FRUSTRATING!
