Comments (10)
by the way. VS-Code does not recognize stlink2 as a proper setting for driver
from iar-vsc-debug.
Do I understand correctly that upgrading to 8.5 version won't fix this issue?
from iar-vsc-debug.
I will try to reproduce this today. I did a test with ST-Link on a STM32H753 board yesterday and that worked with the latest debug extension. I'm not sure exactly what version of ST-Link I was using but think that board has v2. The driver is set to stlink2 if I use EWARM 8.50.5 and that is recognized by the extension.
from iar-vsc-debug.
Do I understand correctly that upgrading to 8.5 version won't fix this issue?
I actually could not try. I'm bound to IAR EW 8.40.2 / Embedded Workbench 8.3 due to my company/project
from iar-vsc-debug.
I will try to reproduce this today. I did a test with ST-Link on a STM32H753 board yesterday and that worked with the latest debug extension. I'm not sure exactly what version of ST-Link I was using but think that board has v2. The driver is set to stlink2 if I use EWARM 8.50.5 and that is recognized by the extension.
My CPU to debug is STM32F405.
My STM-Debugger is STLINK-V3MINI (https://www.st.com/en/development-tools/stlink-v3mini.html)
After debugging with EW once, the config has been discovered as stlink2
from iar-vsc-debug.
I tried to reproduce this but I got the unsupported transport error from #10 instead.
I don't have the exact board as you have but have tried with a STM32F14 with ST-Link v2 and a STM32H753 with ST-Link v3.
My fear is that even if I'm able to reproduce your issue and help you get further, then you will get the unsupported transport error instead and that will stop you from using this extension. I will talk next week with a few that returns from vacation and see if I can get some more ideas about the problem you have though.
from iar-vsc-debug.
Thank you very much. I'll stay tuned and let me know if you need further information or logs...
from iar-vsc-debug.
I may be wrong, but the extension has an enumeration that does not contain a special constant for version 2 of the stlink driver, if it works for IAR workbench version > 8.4, then I can assume that another IAR makes other entries in the files .xcl as an example to fix this problem. From now on we should update our version of IAR, however I still don't understand if we only have this problem why this extension supports such a later version of IAR because we can add new constants for stlink1,2,3.... for IAR of earlier versions , but if problem #10 is still attached, then of course we have to update IAR.
from iar-vsc-debug.
To clarify, after you get the "Target reset" message, does the debug session end immediately, or does it stall/hang?
If the latter, this could be the same bug as described in #5. If you wait a couple of minutes at this point, you should see something happen (most likely you will get the "unsupported transport" error).
Regarding the warning about unrecognized driver names: older Embedded Workbench versions use slightly different driver file names, and the extension doesn't handle this. It will still load the driver, but it means the launch.json file will have the driver file name ("stlink2"/"xds2") instead of the prettified name ("ST-LINK"/"TI XDS"). I will fix this in the next release.
from iar-vsc-debug.
Hi, thanks for the quick response, in my opinion we don't really need this fix because after that we will have a general "unsupported transport" problem, so unfortunately we will have to update our EW version anyway.
As for the details of the debugging process, I get an "unsupported transport" in about a few minutes.
Also , I haven't seen #5 yet, but I'm gonna...
from iar-vsc-debug.
Related Issues (20)
- Attach to running target (I-jet/J-Link) HOT 3
- Visual Studio code and IAR extension integration - Error: unable to provide automatic debug configuration HOT 14
- Failed to debug Renesas RL78 Project HOT 3
- IAR C-SPY Debug for VS Code - $PROJ_DIR$ path incorrectly be expanded to <ewp path>/.vscode/ in .board file HOT 1
- Enable to switch from one call stack to another HOT 2
- Debug not started HOT 2
- Breakpoints does not work on STM32F4DISCOVERY and IAR EW v8.50 HOT 6
- I removed the breakpoint, but the break still works HOT 2
- Watch window variable value edit inconsitency HOT 5
- Add support for to display and edit N elements under a pointer HOT 1
- Emulated printf() to Debug Console showing extra strings HOT 2
- STLink v2 Debug Problems HOT 5
- Peripheral view search does not always filter HOT 2
- Support for live watch HOT 1
- Can it intelligently determine whether to recompile the source code before debugging? HOT 3
- how can i change the vsc-debug variable displayed format? the default format is decimal HOT 3
- Static section in Variables view spins forever HOT 5
- argument variables (like $TARGET_DIR$) in calls to __system1/2/3 are not working HOT 1
- Continue don't work HOT 1
- Resuming from breakpoints broken with FreeRTOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iar-vsc-debug.