-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported transport error #10
Comments
Was able to bypass this issue by updating my IAR EW to 9.30.1 |
Hi everyone I have the similar problem. I am trying to run debug but the VS CODE doesn't run the session and shows the same message. I've enabled ""trace": true" flag in the launch setting and have gotten "Unable to recognize driver: stlink2" while VS CODE editor underlines the property ""driver": "stlink2"" and sends to me "Value is not accepted. Valid values: "Simulator", "64-bit Simulator", "I-jet", "J-Link/J-Trace", "GDB Server", "CADI", "TI Stellaris", "PE micro", "ST-LINK", "TI XDS", "TI MSP-FET", "Renesas E1", "Renesas E2", "Renesas E20".". Is it possible to add stlink2 variant to this set of driver? |
Having exactly the same issue. IAR build: Embedded Workbench 8.3 Everything works fine with IAR but I also have that transport error with the extension. I also tried to change the driver (which is automatically set to xds2 for some reason) to "TI XDS" as indicated but it's not recognized, so same issue as @VzdornovNA88 In the debug console log I noticed a difference between IAR and the extension: On IAR: On the extension: It looks like it's not even the same driver being loaded... @andrewtkh1 Since it's working for you, can you tell me which driver you're using ? For those interested, here's the full log of the extension:
I also have no idea what's those custom_formats.dat are for. The one in my project "XXXX\Env" doesn't even exist. |
We are aware about problems related to limitations in the v8 IDE. If possible, please upgrade to the latest IAR Embedded Workbench Arm v9.30! Further, when it comes to the error message "Unable to recognize driver", only the driver names reported back by VS Code as "Valid values", are possible. |
it's sad to hear |
Ok so this is an issue related to IAR 8 then. That was not mentioned in this topic. Thank you for the info. Any plan on making the extension compatible with IAR 8 then ? If not, then maybe, would it be possible to at least modify the following line so people don't waste time trying to figure out what is wrong with their setup ?
Some of them are not working. Edit: It seems the |
@NicolasHDD Apologies as I've since left the company and no longer have access to an IAR license. I will try to get a colleague to see if he is able to help with this as if I recall correctly, he was somehow able to get the debug mode working with IAR v8. |
I will also be waiting for this information |
Apologies for the late response, we have limited development capacity during the summer break. |
I thought I needed to add special driver stub for st-linkv2 to iar_vs_code debugger extension because my main problem is the "...unavailable driver..." in message from this extension. Is there also a problem of the process of communication with spy debugger or apps which are compiled by 8.x versions iar ? if these apps are just not compatible with new tool spy debugger on ABI level,it will be terrible. |
The "Unsupported transport" error in this issue is due to a backend bug in the C-SPY debug session setup, independently of the probe driver being used. The fact that some of the drivers won't load is instead caused by a separate issue, which should be on the VSCode client side. |
It is using "stlink2" as "driver" |
The backend bug which causes the "Unsupported transport" issue has been fixed in EWARM 8.50.5 and onwards. We are going to update the compatibility README accordingly. We anyway recommend to use the latest EWARM 9.30 for better performance with VSCode. |
Thanks, so it's a good news for us, maybe I can consider changing the version to 8.5. |
Thank you for taking time to report this. The "Unable to recognize driver" is a separate issue from "Unsupported Transport", and might be due to a driver name incompatibility between IAR 8.x and 9.x. Would it be possible for you to open a separate issue for it, so that we can close this one and we can continue discussing it there? EDIT: Apologies, I didn't notice that there was already an issue filed for this. We can continue discussing the st-link problem at #9 . Thanks. |
Great news guys =) Thank you for efficiency, I know it's not easy during the summer break. |
This error occurs when we connect to the debugger to fetch variables. I'll add a workaround so that you can still start a debug session with EWARM 8.4, but there will be no variables in the debugger view. As mentioned, the recommended solution is still to use EWARM 8.50.5 or later. |
@HampusAdolfsson, What do you think about EW since version 8.2. Will your fix solve this problem for this version or is it impossible? |
@VzdornovNA88 This fix will only help with version 8.4. Earlier versions of EW do not have some important features that we need for VS Code integration. |
We just released 1.10.4 which includes a fix for this error. As mentioned, there will be no variables in the variables window, but you should now be able to start a debug session with EWARM 8.4. |
Does anyone have any clue on how do I go about resolving this issue? I was able to build using the IAR Build extension and generated the launch config from there but encountered this error when trying to debug it.
As Couldn't find much support online and I do not have much experience in this.
The text was updated successfully, but these errors were encountered: