-
Notifications
You must be signed in to change notification settings - Fork 304
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
New VS Code Extension 1.3.0 seemed to break jtag programming. (Regresseion test before releasing!!!) (OCD-466) (VSC-826) #623
Comments
@pedrocon |
@brianignacio5 PTAL |
Could you provide more information about your setup? NOTE: You can use the Output Click the menu Please share the output of the channel related to your issue. For example ESP-IDF is used mostly for the extension setup process. Logs
|
Similar problem here, i.e cannot flash with JTAG within VSCode Importantly, I can flash with JTAG within VSCode if I run Also, if I hit F5 in VSCode to debug that will work. Here's my setup details: View Output Results are as follows: *** OpenOCD *** ESP-IDF *** ESP-IDF Debug Adapter *** GDB Heap Trace *** settings.json
*** launch.json
|
Today I tried reverting the ESP-IDF VSCode Extension from v1.3 to v1.2 It would be helpful if other readers using v1.3 Thanks. |
Could you provide your setup information (as described in the New Issue template) to see what is happening ? Specially the extension log could be useful to see if there is an error ! Related to JTAG flashing, I made a PR (#625) with some fixes. Could you try this vsix installer ? |
Thanks for your reply. The setup information (as described in the New Issue template) is attached to my first post in this thread, I installed the VISX file that you provided, then used F1 "ESP-IDF: Configure ESP-IDF Extension" I also reverted again to v1.2 to double check that it succeeds, and it does. On your system, with ESP-IDF v4.4 and VSCode Extension v1.3.0, does F1 "ESP-IDF: Flash (with JTag)" succeed? |
Here is the "ESP-IDF: Doctor Command" report |
Here is another confirmation that reverting the ESP-IDF VSCode Extension from v1.3 to v1.2 |
I did a little debugging and it gets stuck at:
or maybe it's here:
These are the errors: rejected promise not handled within 1 second: TypeError: Cannot read property 'execution' of undefined
Exception has occurred: TypeError: Cannot read property 'execution' of undefined
t s.executeTask (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:101:6382)
at Object.executeTask (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:50297)
at Function.<anonymous> (/home/neal/git/vscode-esp-idf-extension/dist/extension.js:84950:88)
at Generator.next (<anonymous>)
at /home/neal/git/vscode-esp-idf-extension/dist/extension.js:84909:71
at new Promise (<anonymous>)
at /home/neal/git/vscode-esp-idf-extension/dist/extension.js:84905:12
at /home/neal/git/vscode-esp-idf-extension/dist/extension.js:84949:53
at new Promise (<anonymous>)
at Function.<anonymous> (/home/neal/git/vscode-esp-idf-extension/dist/extension.js:84949:20)
at Generator.next (<anonymous>)
at /home/neal/git/vscode-esp-idf-extension/dist/extension.js:84909:71
at new Promise (<anonymous>)
at /home/neal/git/vscode-esp-idf-extension/dist/extension.js:84905:12
at Function.runTasks (/home/neal/git/vscode-esp-idf-extension/dist/extension.js:84948:16)
at /home/neal/git/vscode-esp-idf-extension/dist/extension.js:78142:76
at Generator.next (<anonymous>)
at fulfilled (/home/neal/git/vscode-esp-idf-extension/dist/extension.js:78108:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)``` |
Thanks for your reply. Yes, that is consistent with what I've seen, i.e. it just hangs. So that's about four users reporting this error, and zero users reporting success. Again, to brianignacio5, does this problem occur on your system? To any other users, with ESP-IDF v4.4 and VSCode Extension v1.3.0, does F1 "ESP-IDF: Flash (with JTag)" succeed or fail? |
新建文本文档.txt |
If you comment these 4 lines and build the extension from source, JTAG should work: vscode-esp-idf-extension/src/flash/jtagCmd.ts Lines 49 to 50 in 2bf03cf
vscode-esp-idf-extension/src/flash/jtagCmd.ts Lines 54 to 55 in 2bf03cf
|
vscode-app-1644984619379.log |
esp-idf-extension.zip |
Thanks, this version works fine |
This should be already fixed in GitHub master no ? |
The version I downloaded from the automated build still doesn't work |
It does not work. That debug traceback I posted is from the master branch.
…On Wed, Feb 16, 2022, 5:32 AM Brian A. Ignacio ***@***.***> wrote:
This should be already fixed in GitHub master no ?
—
Reply to this email directly, view it on GitHub
<#623 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPBQCDLCP3QMV67LGGJX63U3ODNFANCNFSM5M53CWNQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
You're right @meltdown03 hopefully this PR #641 will fix the issue without losing those custom tasks possibility |
Thanks @meltdown03 ! |
Yes, it works great, and it doesn't keep asking which method to Flash with which was very annoying! |
Development Kit
ESP32-DevKitC
Module or chip used
esp32-wroom
Debug Adapter
esp-prog
OpenOCD version
v0.10.0-esp32-20210401
Operating System
windows
Using an IDE ?
vs code
OpenOCD command line
esp32-ethernet-kit
JTAG Clock Speed
20 MHz
ESP-IDF version
4.3.1
Problem Description
I didnt upgrade the espressif vs code extension. It automatically updated (to 1.3.0 ) and I wasn't able to program with JTAG. I'm pissed off. I reverted to 1.2.0 and it worked right away.
Debug Logs
No response
Expected behavior
It would be nice if jtag programming worked after updating the extension to 1.3.0 from 1.2.0.
Screenshots
No response
The text was updated successfully, but these errors were encountered: