ESP32 - DEBUGGING your ESP-IDF code using JTAG [VS CODE]

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 250

  • @colanuss4985
    @colanuss4985 2 ปีที่แล้ว +96

    This is one of the best produced content that I have ever seen for embedded programming! Keep it up

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Thank you so much! I'm glad you enjoyed! New videos coming soon!

    • @micah2936
      @micah2936 2 ปีที่แล้ว +1

      @@YuriR i agree with this comment. I’ll definitely subscribe for more like this

    • @r_be
      @r_be 2 ปีที่แล้ว

      @@YuriR but we want more 😉

  • @czarekcz1097
    @czarekcz1097 2 ปีที่แล้ว +12

    Excellent, right to the point explanation. I immediately ordered JTAG tool. I worked with ESP32 almost 3 years ago. Tools were way more primitive then now. Man, please keep going with follow up. Your videos are very high quality and are full of useful contents. Thank you.

    • @YuriR
      @YuriR  2 ปีที่แล้ว +2

      Thank you so much for your kind words. I'm really glad you liked them! I hope you enjoy the JTAG tool, it's really useful for serious embedded development. I will definitely create more videos soon!

  • @jjlebrams4421
    @jjlebrams4421 2 ปีที่แล้ว +2

    Thank you! I am now able to debug my ESP-32 dev board using VS Code and the ESP-Prog board! One note is that the dev board serial output (mostly ESP_LOG messages) wasn't being displayed while in debug, but I added the MS extension Serial Monitor and the output is coming through great now! Much appreciated!

    • @YuriR
      @YuriR  ปีที่แล้ว

      Nice! Glad it worked and that it was helpful! Thanks for watching :)

  • @thecoolaravind
    @thecoolaravind 2 ปีที่แล้ว +10

    Note : For wire connections , if you are using seperate USB to power the ESP board do not connect the 3.3V from ESP to ESP prog . Check the connections at 6:16

  • @GeekyMino
    @GeekyMino 2 ปีที่แล้ว +13

    This is extremely well made! One of the best videos I've seen. Great production quality! Keep up the great work.

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Thank you so much! I really appreciate the comment! New videos coming soon :)

  • @james2396
    @james2396 2 ปีที่แล้ว +2

    I've played around with the ESP32 quite a bit but I've never really looked at getting a debugger, but after watching this video, I'm 100% sure I will! Thanks for making the tutorial!

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Great to hear! I hope you like it!

  • @АльбертХарисов-м8с
    @АльбертХарисов-м8с 25 วันที่ผ่านมา

    This is perfect video!
    Usually embedded devs look like a hobo, printing everything altogether and don't caring about setting up their environment, with bunch of trash in code. I suppose after videos like this we could get closer to a high level creatures called common developers.
    Thank you very much.

  • @WackoPaco
    @WackoPaco 4 หลายเดือนก่อน

    Excellent video, Yuri! Very clear presentation and fantastic production values. I especially appreciate the examples of what error messages we might see when things go wrong.
    I've been an embedded systems developer for many years, and recently started working with the ESP32. This is the best technical video I've ever watched.
    Well done sir, and thank you for sharing your knowledge with us.

  • @GaneshSonwane
    @GaneshSonwane 3 ปีที่แล้ว +4

    These is awesome details about using the esp32 with debugging tool. Realy love content and how practically we can use the different tools for an easy development process from you. I am interested in developing software for IoT projects so home I will get more details from you in the future.

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Thank you Ganesh! More videos are coming soon :)

  • @leonardoherran2523
    @leonardoherran2523 3 ปีที่แล้ว +1

    I can't believe when I saw the notification! Thank you very much!! I hope that you continue publishing!! High quality and very complete!

    • @YuriR
      @YuriR  3 ปีที่แล้ว +1

      Thank you so much! Will continue publishing for sure. Having more time now for the channel, new videos coming soon!

  • @MrDipankarpanda
    @MrDipankarpanda 2 ปีที่แล้ว +1

    Really a great video. I remember, around in 2017-18 I was working on a project where ESP32 was used. But it was very difficult for debugging at that time becasue of unavailabilty of proper documentation & debuggers. Moreover ESP32 was not very stable at that time. But looking at this video, looks like ESP32 can also be used in industries for different applications now a days. Thanks for such an informative video.

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Hi Dipankar Panda, thank you! Indeed years ago it was difficult to find documentation and information about debugging, and it still kinda is! Trying my best to bring some information and clarity to the community :) The ESP32 is very powerful and can and has being used for a lot of professional applications these days like you said!
      Thanks for the comment and watching!

  • @ChrisCowherd
    @ChrisCowherd 2 ปีที่แล้ว +4

    Thanks! Your videos are incredible. I love the detail and I hope to see more soon. By far the best content I’ve seen.

    • @YuriR
      @YuriR  ปีที่แล้ว +1

      Thank you so much Chris for the donation and the kind words! I really appreciate it. More videos will be coming soon this year! :)

  • @realohh
    @realohh ปีที่แล้ว +1

    Great work. just graduated learning alot from you. I have always used arduino ide to code esp but idf is a very professional tool and you are teaching it like a pro.

  • @daCount0
    @daCount0 ปีที่แล้ว

    Can not thank you enough for this help - 20 min of pure & necessary info

  • @sss22215
    @sss22215 3 ปีที่แล้ว +1

    came after a long time ,, nice to see you back on videos , thank you

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Welcome back! Thanks for the support! new videos soon :)

  • @MatthijsHoekstra
    @MatthijsHoekstra 9 หลายเดือนก่อน

    Thanks, this video finally helped me get ESP32 debugging to work. I use platformIO and VSCode which covers the uploading etc. But the easy diagram how to connect the esp-prog and my esp32 Wroom-32 was the main thing I was looking for.

  • @christian4052
    @christian4052 3 ปีที่แล้ว +2

    Thank you, great explanation, would have needed it much earlier but better late than never. I'm looking forward to the next video, hopefully in less than a year ;).

    • @YuriR
      @YuriR  3 ปีที่แล้ว +1

      Thank you! Sorry about that, I wasn't able to dedicate time to the channel before, next one will come out in less than a year for sure :)

  • @theplen80
    @theplen80 2 ปีที่แล้ว +1

    Excellent work! Very informative, good pacing and excellent examples. I could not ask for a better explanation of JTAG debugging on ESP32!

    • @YuriR
      @YuriR  ปีที่แล้ว

      Glad it was helpful Joey! Thanks for watching! :)

  • @glenhinkle
    @glenhinkle 5 หลายเดือนก่อน

    These videos are seriously unparalleled.

  • @gere364
    @gere364 ปีที่แล้ว

    This is the best ESP32 content in the internet by far. Extremely well produced and very good explanations. Keet it up guay! Congratulations and thanks a lot for your videos I totally appreciate it.

  • @kapdivyang
    @kapdivyang 3 ปีที่แล้ว +3

    Very nice explanation and illustrations. High-quality video. Thanks for your time, efforts, and for sharing your knowledge.

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Thank you for your kind words! I'm glad you liked it.

    • @tlangdon12
      @tlangdon12 2 ปีที่แล้ว

      Yes, thanks very much Yrui. Most of us are aware of how time-consuming it is to make accurate technical videos, so thank you for your time and effort. Well done.

  • @lars-goranlindstrom7467
    @lars-goranlindstrom7467 2 ปีที่แล้ว +1

    This is was I needed. Very informative and it helped me a lot. Please publish more videos like this. Maybe a video about RTOS and how to use it in a esp32 environment on a beginner level. It's there and why not use it in a proper way.

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Thank you! Good to know that it helped. Yes, I will make videos about RTOS for beginners soon :)

    • @lars-goranlindstrom7467
      @lars-goranlindstrom7467 2 ปีที่แล้ว

      @@YuriR looking forward to that

  • @danhpham829
    @danhpham829 3 ปีที่แล้ว +2

    Thank you very much, thanks to you, I finally got it to work after countless hours on the internet.

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      I'm very happy to hear that it helped! Thanks for the comment! :)

  • @vigneshs6232
    @vigneshs6232 2 ปีที่แล้ว +2

    Really really good video with most useful content for Programmers.....Thankyou....Keep rocking....

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Really really thank you :) I'm glad that it's useful! More videos coming!

  • @deepneon
    @deepneon 2 ปีที่แล้ว +1

    Just a master piece.... Need more videos like this ...love from India

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Thank you so much Deep Neon! Working on the next one already :)

  • @scotts4406
    @scotts4406 ปีที่แล้ว +1

    Hi Yuri, Thanks for the informative videos. I hope you will resume soon.

    • @YuriR
      @YuriR  ปีที่แล้ว

      Thank you! Will post new videos soon!

  • @innomkr
    @innomkr 3 ปีที่แล้ว +1

    Good job! I would love to see more such videos from you in the future!

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Thank you! More videos will be coming soon :)

  • @franciszucco1993
    @franciszucco1993 3 ปีที่แล้ว +2

    Great and detailed video, waiting for your next video already

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Thank you! Already working on it :)

  • @bertieblob3387
    @bertieblob3387 2 ปีที่แล้ว +1

    Very useful and well presented. Would be interested in more around ESP32 development. Thank you.

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Thank you! More to come! :)

  • @thuyetmai9650
    @thuyetmai9650 3 ปีที่แล้ว +2

    Great video!!! Thanks a lot Yuri ^^. Hope you can have more time to make more video about esp32 ^^

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Thank you so much! Will be making more videos soon!

  • @patrickdemeyer2210
    @patrickdemeyer2210 11 หลายเดือนก่อน

    Very interesting , Thanks for sharing . The ESP forest is getting very large to find good info.

  • @arnabroy1632
    @arnabroy1632 18 วันที่ผ่านมา

    Very useful video to understand how debug is done on chip boards. Thanks

  • @danielelmuneco1994
    @danielelmuneco1994 9 หลายเดือนก่อน

    Amazing video, thanks!
    One nice topic would be to deep dive into OTA updates.

  • @garywilliams4214
    @garywilliams4214 ปีที่แล้ว

    Thank you AGAIN! My next step in setting up my ESP32 system is going to be figuring out how to use JTAG-looks like that’s going to be much easier now! I know it’s not a big enough subject to deserve its own video, but would you consider inserting info on using JTAG via the on-board JTAG interface in the 2-channel USB connector built into current dev boards in a future video? I think I can probably figure it out, but I’ve seen so much in your other videos that I KNOW I wouldn’t have figured out on my own, that I think it would be worthwhile! Again, thank you for your videos-they are so helpful!

  • @harerudez4788
    @harerudez4788 3 ปีที่แล้ว +1

    Man, that is an amazing video! Thanks and keep it on! 🔥

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Glad you liked it!

  • @Flockman3065
    @Flockman3065 ปีที่แล้ว

    your video's have a very clear presentation style, i just wish you'd make more video's

  • @roborob2570
    @roborob2570 2 วันที่ผ่านมา

    Great video, you could mention the platformio plugin that makes the process of configuring a bit simpler.

  • @linocmr
    @linocmr 3 ปีที่แล้ว +4

    Top video ...thanks a lot... don't stop again.

    • @YuriR
      @YuriR  3 ปีที่แล้ว +1

      Thank you! Will be publishing more videos soon :)

  • @pointer2null
    @pointer2null 2 ปีที่แล้ว +1

    Looking forward to more of these videos.

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Thank you! More videos coming soon :)

  • @vincentyun
    @vincentyun 2 ปีที่แล้ว +3

    Thanks for your video, but the command "-c \"set ESP_RTOS none\" in tasks.json is not work for me.
    I need to try several time to get one time works, otherwise will get the error message
    ERROR: Unable to start debugging. Failed to find thread 3 for break event
    The program 'C:\Espressif\frameworks\esp-idf-v4.3.3\examples\get-started\blink\build\blink.elf' has exited with code 42 (0x0000002a).
    [Inferior 1 (Remote target) detached]

    • @esp32
      @esp32 2 ปีที่แล้ว

      Please use openocd -c 'set ESP_RTOS none' -f board/esp32-wrover-kit-3.3v.cfg . For more videos about ESP32 visit my channel

  • @tm_digita
    @tm_digita 3 ปีที่แล้ว +1

    @Yuri Y
    Excellent easy to understand explanation as always 👍.
    Keep it up.

    • @YuriR
      @YuriR  3 ปีที่แล้ว +1

      Thank you so much!

  • @wolverene1234567890
    @wolverene1234567890 ปีที่แล้ว +1

    @YuriR So I followed your first video how to set up the environment and everything else, with some changes , because instead installing ESP_IDF I used the Plugin in VSCode, I made everything to work. Now when it comes to debugging "openocd -f board/esp32-wrover-kit-3.3v.cfg" is not working because I use a Wroom-32D Module. When I try to rum esp-wroom-32.cfg it gives me the message that "board/esp-wroom-32.cfg is deprecated" . what changes I have to make to be able to use the WROOM32 module?

  • @dhruvandangar8005
    @dhruvandangar8005 2 ปีที่แล้ว +1

    please keep this series on bro.

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Will do, thank you :)

  • @30abadid
    @30abadid 3 ปีที่แล้ว +1

    Maninhooooooo me chama pra ser tua marqueteira kkkk SUCESSO!

  • @rahulr9301
    @rahulr9301 2 ปีที่แล้ว +1

    Wow....amazing video brother!!!

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Thank you so much! :)

  • @stryderx1
    @stryderx1 3 ปีที่แล้ว +1

    Very very good video keep it up.
    This is very important for beginners

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Thank you so much, I'm glad you liked!

  • @AlejandroHidalgoL
    @AlejandroHidalgoL 2 ปีที่แล้ว +1

    Amazing recommendations, you are a guru! Thanks!

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Hi Alejandro! Thank you! Glad it helped!

  • @valtermarcone9160
    @valtermarcone9160 ปีที่แล้ว

    Sure this is the best video on esp32. Go on

  • @VFXTutorials
    @VFXTutorials 3 หลายเดือนก่อน

    You man are a treasure!! thank you and keep it up!!!!!

  • @watcherofvideoswasteroftim5788
    @watcherofvideoswasteroftim5788 ปีที่แล้ว

    What an awesome video, super helpful, thanks a lot!

  • @rexbrown2752
    @rexbrown2752 7 หลายเดือนก่อน

    Yuri R, It shows that you have put a lot of work in to making these videos and they are very helpful. I have followed along while trying to adapt your instructions to the esp32c6. Unfortunately I have had to leave out some of the neat changes you discussed because they do not seem to work for me. For instance when I used the preRun task the gdb was not able to connect to the openocd. When I tried it by using an outside command shell to start up the openocd I was able to get the debugger to run OK, except I had to remove the commands to flash the device. The command to set the address of the boot loader was 0x0000 for the esp32c6 but for some reason it just would not accept that. If you have suggestions how I might add those back in it would be helpful. However, all in all you did a marvelous job of pointing out all the things necessary to get the debugger going with visual studio code and I really appreciate the time and work you put it.

  • @marklatham4204
    @marklatham4204 2 ปีที่แล้ว +2

    Excellent video Yuri, thank you! Have you tried VS Code program/debug of ESP32-C3 using just the USB (just two IO pins)?

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Thank you! I haven't tried the ESP32 C3 yet, but it should be very similar. The only changes would be the driver interface (which you can follow this instructions docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/jtag-debugging/configure-builtin-jtag.html) and the script to initialize OpenOCD (openocd -f board/esp32c3-builtin.cfg).
      For more informations you can check docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/jtag-debugging/index.html
      Cheers!

  • @terlumunjoseph6779
    @terlumunjoseph6779 2 ปีที่แล้ว +1

    loved your video what software do you use to edit your videos

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Hi Terlumun, thank you! A f riend of mine helps me with the editing. Adobe Illustrator to create graphics, Adobe After Effects for the animations and DaVinci Resolve for the video.

  • @mynameismole
    @mynameismole 10 หลายเดือนก่อน +1

    Anyone knows if debbuging in VS Code using ESP-IDF is available for Wemos ESP32-C3 mini ? I've been searching for some info but could not find a definite answear.

    • @shakirabdo638
      @shakirabdo638 5 หลายเดือนก่อน

      Same !!
      did you find the solution ?

  • @ogunniyiadebambo2822
    @ogunniyiadebambo2822 ปีที่แล้ว

    Thank you very much sir..... I will need to learn more about esp32

  • @marioortiz5482
    @marioortiz5482 4 หลายเดือนก่อน

    Thanks for your time sharing this excellent information.

  • @dirku63
    @dirku63 2 ปีที่แล้ว

    Nice video with some unique points too sad you did not carry on with that stuff.

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Thanks! Just made a new video, will be uploading more frequently this year :)

  • @hbend1li
    @hbend1li 2 ปีที่แล้ว +1

    Thank you yuri your tutorial are very useful and helpful 😃

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Hi Hamza! Thanks for the comment! Glad it helped! :)

  • @jonathanlevin7660
    @jonathanlevin7660 2 ปีที่แล้ว +2

    Great content, thanks for making this!
    I usually use the Arduino framework with PlatformIO, and was wondering - how much (generally) of Esp-IDF content is relevant to Arduino as well?
    If you could make a video detailing the similarities and differences in architecture/functions/etc that could be very helpful :)

    • @YuriR
      @YuriR  2 ปีที่แล้ว +5

      Hi Jonathan, thanks for the comment and great video suggestion.
      Everything that you learn about IDF can be relevant when using Arduino/PlaformIO framework, since Arduino (for ESP) uses IDF behind the scenes :).
      Some libraries for Arduino may generate some low level conflicts sometimes, that only by knowing how IDF works you can fix it.
      I will definitely make a video like you suggested!

    • @jonathanlevin7660
      @jonathanlevin7660 2 ปีที่แล้ว +1

      @@YuriR Great, subscribed and looking forward to it!
      Thanks

    • @paulcardno
      @paulcardno 2 ปีที่แล้ว

      Thanks for video. Im also interested in how to use arduino libraries in idf.

  • @jacquesblom2312
    @jacquesblom2312 ปีที่แล้ว +1

    Thank you for a very informative video. One question that immediately came to mind when I saw the pin connections between the debugger and the ESP is this: What do you do if your project already makes use of some or all of those pins?

  • @markanderson8066
    @markanderson8066 ปีที่แล้ว

    Since JTAG is a well established standard, why wouldn't any 3.3V compatible JTAG board work? What makes any of them "better" than the others? I might have some kicking around that support 3.3V and may give one a try.
    BTW - having used this kind of debugging on various microprocessors, and for non-embedded programming, it's definitely the way to go!! Great video!

  • @dickcummings2401
    @dickcummings2401 ปีที่แล้ว +1

    Just GREAT!

    • @YuriR
      @YuriR  ปีที่แล้ว

      Thank you! I'm glad you liked!

  • @robs2243
    @robs2243 ปีที่แล้ว

    Good God. What the hell is this?! I remember the time (10+ years ago) when one could just plug in an Atmel ICE-Debugger into USB, start the free (!) IDE and just press the 'Upload/Debug'-Buttons. So what happened?
    Your content is excellent, though. Thank you for uploading.

  • @arjayUU
    @arjayUU 2 ปีที่แล้ว +1

    keep up the good work!

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Thank you, will try! :)

  • @anthonywebber1155
    @anthonywebber1155 8 หลายเดือนก่อน

    Hi Yuri. This video is extremely helpful. Could you please advise about the final step, where one completely removes the USB connection to the ESP32 and powers it from the ESP-PROG? Does one have to use the PROG interface on the ESP-PROG or only the JTAG interface?

  • @CaliBeta
    @CaliBeta ปีที่แล้ว

    Excellent video 😍

  • @umutkanl714
    @umutkanl714 3 ปีที่แล้ว +1

    thank you so much. great work!

    • @YuriR
      @YuriR  3 ปีที่แล้ว

      Thank you Umut! Did you manage to solve your problem? I received your previous comment notification but for some reason TH-cam is randomly removing comments and I can't reply to them. Yours had a legit question but it disappeared :(

    • @umutkanl714
      @umutkanl714 3 ปีที่แล้ว +1

      @@YuriR Yes, I solved it Yuri. I probably did a mistake one step. I follow your steps again and now it's working thanks to you :)

  • @edilmedeiros
    @edilmedeiros 5 หลายเดือนก่อน

    Excellent video.

  • @PattysLab
    @PattysLab ปีที่แล้ว +1

    Great video!!

    • @YuriR
      @YuriR  ปีที่แล้ว

      Thank you! I'm glad you enjoyed! :)

  • @czarekcz1097
    @czarekcz1097 2 ปีที่แล้ว +1

    Looks like you were trying Rust language programming on esp32. Can you make vlog about this subject?

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Hi Czarek Cz, I'm not sure where you got the Rust reference? haha I haven't tried it yet, but I will take a look, maybe in the future :)

  • @joeylegaspi3515
    @joeylegaspi3515 2 ปีที่แล้ว +1

    11:15 With the "monitor reset halt" command included, I am unable to get a debug session going and the gdb connection gets dropped. After removing that setup command, I was able to get the debug session going.
    ESP-Prog + ESP32-cam

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Great to hear it worked!

  • @ozkarah
    @ozkarah ปีที่แล้ว

    Thanks for the great work Yuri. There is great amount of effort I can imagine. I have an ESP32 project with Arduino Framework on Visual Studio Code + Platform IO. Is it possible to folllow the same steps?

  • @fullpower8382
    @fullpower8382 ปีที่แล้ว

    Nice Way to go! Thx

  • @nikoladj.314
    @nikoladj.314 3 ปีที่แล้ว +1

    Yuri, thanks a lot for this excellent video.
    Just one question - I'm using a custom WROVER based board with no USB connector on it. However it does have a serial and a JTAG headers, so I'm using ESP-PROG board with a flat ribbon cable that comes with it to flash the code and to get serial (printf) output to the Visual Code monitor. The board installs as two separate serial ports with sequential numbers, both controlled by the same FTDI driver. The question is - is it OK to use ESP-PROG USB to PC connection for both serial and jtag simultaneously and should I change one of the drivers using Zadig the way you explained? The debugging doesn't require Expressif Visual Code extensions, is that right?
    Once again, thank you very much for the great video.

    • @YuriR
      @YuriR  3 ปีที่แล้ว +3

      Hi Nikola Dj. Thank you for the comment and for detailing your question!
      Yes, you can use both serial and JTAG at the same time, and you need to change the driver using Zadig only for the interface 0, as shown in the video (you can see that one serial port remains with the normal driver (interface 1), and the other one with the updated JTAG driver (interface 0)). And yes, debugging doesn't require the Espressif VS Code extension :). So your board should work correctly.
      Thanks again for watching and for the comment!

  • @nicoladellino8124
    @nicoladellino8124 ปีที่แล้ว

    Very nice video, THX.

  • @philipchisholm
    @philipchisholm 2 ปีที่แล้ว +1

    Nice Job!!

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Thank you! Cheers!

  • @alexanderkichenko2277
    @alexanderkichenko2277 ปีที่แล้ว

    Thank you for your video. I have a little problem. "Unable to start debagging. Unable to establish a connection to GBD. Debug output may contain more information." I cheked launch.json it's all correct.

  • @aloysiuspendergast1096
    @aloysiuspendergast1096 หลายเดือนก่อน

    Nice Video. But one open point here as in all debug videos regarding ESP and VSC, what about the peripheral register view? For me this is essential. More than one week I try to get in run. With no success…

  • @evrenkenanoglu
    @evrenkenanoglu 2 ปีที่แล้ว +1

    Thank you so much!

    • @evrenkenanoglu
      @evrenkenanoglu 2 ปีที่แล้ว

      I don't know how many times I've tried to comment but it kinda looks like it doesn't allow me to share github link here. Taking you and another website I've managed to debug in over J-Link with Openocd. Who wants to check the details contact me, please. It will be so useful to check my github account. Thank you so much!

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Hi Evren, thank you for the comment!

  • @МаксимФ-й7н
    @МаксимФ-й7н 11 หลายเดือนก่อน

    Thank you! But, do you know, how to watch peripheral registers of a ESP32

  • @wolfganglienbacher
    @wolfganglienbacher 4 หลายเดือนก่อน

    That's such a nice guide, thank you so much! Unfortunately starting the debugger fails for me with "openocd: unrecognized option `--interpreter=mi'", any idea how I could fix this?

  • @RixtronixLAB
    @RixtronixLAB 2 ปีที่แล้ว +1

    Like it, thanks for sharing :)

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Thank you! :)

  • @MrSnikul
    @MrSnikul ปีที่แล้ว

    Where to buy the nice IDC Ribbon Cable-to-breadboard adapter, 10-pin you use in your projects? Regards

  • @iot_enthusiast
    @iot_enthusiast ปีที่แล้ว

    I have a generic board (top left) like the one you showed at 6:24. Zadig on my windows 10 laptop is seeing it as a single RS232-HS and not a dual one. I re-installed the FTDI driver but that did not help. What am I missing ?

  • @SukhdeepSingh-wi9uv
    @SukhdeepSingh-wi9uv 2 ปีที่แล้ว

    Best Video, Could you Please upload video, To debug using ESP IDF IDE, using esp Prog

  • @HopWorksET
    @HopWorksET ปีที่แล้ว +1

    Thanks!

    • @YuriR
      @YuriR  ปีที่แล้ว

      Wow! Thank you so much Gary! It means a lot to me! Will be making more videos soon!

  • @wnbrook4220
    @wnbrook4220 3 ปีที่แล้ว +1

    Hello Yuri, How can I use j-link Segger probe in vs code? thanks in advance.

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Hi Wn Brook, for the Segger J-LINK is a bit more complicated as it requires a few more configuration steps to get it working with OpenOCD.
      You can follow the tutorial below to get it working with OpenOCD, and the VS Code part should be the same as my video here :)
      dzone.com/articles/eclipse-jtag-debugging-the-esp32-with-a-segger-j-l
      I hope it helps!

  • @joecox9958
    @joecox9958 2 ปีที่แล้ว +1

    Super again! Would you mind to consider run FreeRTOS/Zephyr in your video? and add all your video in any of your video link? thanks!

    • @YuriR
      @YuriR  2 ปีที่แล้ว

      Hi Joe! Thank you! Yes I'm going to cover FreeRTOS in future videos! :)

  • @hassainbasha9195
    @hassainbasha9195 หลายเดือนก่อน

    Awesome ❤

  • @caliper2pc
    @caliper2pc 2 ปีที่แล้ว +1

    Yuri, thank you very much your videos are very useful. I managed to setup all steps described and can debug my code. I wonder if it would be possible to add an additional preRun task (or any other solution), so that the code will be saved and built automatically, each time the debugger is launched. Thank you again for your great videos and looking forward to your next videos.

    • @YuriR
      @YuriR  2 ปีที่แล้ว +2

      Thank you! I'm glad it's useful. For the preRun task, I honestly never tried, as I just do "ctrl+s" before start debugging. But it would be nice indeed! Visual Studio (not VS Code) does that when you start a debugging session, so it would be nice to have on VS Code as well.

  • @YannickRICHARDOT
    @YannickRICHARDOT ปีที่แล้ว

    Thank you for your video, it really helped me !
    I saw that you use a HAL for ESP32 in C++. Could you please share ?
    Best regards,

  • @maximmaxim8347
    @maximmaxim8347 11 หลายเดือนก่อน

    I have some question if I have some circuit based on esp-wrover-e board where esp32 with 2M flash was replaced to to esp32 with 16M flash, I tried to run hello_world from examples on esp-idf 5.1.2, I changed in menu config and it works for rs232, but unfortunately when I'm working with JTAG( I burn the executable also via JTAG) my debugger doesn't see the new flash size, my question is how I can configure it for debugger?

  • @michaelkremer3146
    @michaelkremer3146 2 ปีที่แล้ว

    Hello Yuri, my problem is, if I copy the blink program and save it outside of examples->get-started, debugging doesn't work anymore. Do I have to repeat all the steps in the new program? It does not work when i create a new ESP-IDF project like in your third video.

  • @patis.IA-AI
    @patis.IA-AI ปีที่แล้ว

    Thanks very usefull

  • @joaonewmaker1057
    @joaonewmaker1057 2 ปีที่แล้ว

    Hi @Yuri R, thank you for this support, i have a doubt about uploading. My board is tiny and i have a little space in order to keep the serial programmer and JTAG pins. Is it possible to upload the software through the JTAG not using the serial programmer interface ? There's some problem on uploading throught the JTAG ? Thank you!

    • @YuriR
      @YuriR  2 ปีที่แล้ว +1

      Hi Joao, thank you! Sorry for the delayed response. You probably already made the board, but yes you can upload everything through JTAG with no problems.

  • @SymphonyOnAsphalt
    @SymphonyOnAsphalt ปีที่แล้ว

    Hi, very goo staff!!
    I have a question...openocd command does not work on my esp-idf environment. it should be installed in tools path, right? I can find "bin" folder and "share" folder but cmd can launch it. Thank for supporting

  • @eduardo9626
    @eduardo9626 ปีที่แล้ว

    Example of serial conection and configuration ?

  • @yaswanthpeyyala5849
    @yaswanthpeyyala5849 10 หลายเดือนก่อน

    can you please do a video, to use gdbstub without jtag interface with vscode

  • @nagarajankandasamy581
    @nagarajankandasamy581 2 ปีที่แล้ว +1

    Very detailed information from a Firmware Engineer's perspective. May I know the software used for the animations & editing?

    • @YuriR
      @YuriR  2 ปีที่แล้ว +2

      Hi Nagarajan, the animations are manually made in Adobe After Effects and the video is edited using DaVinci Resolve (free) :)

  • @veeraloganathanvvs5495
    @veeraloganathanvvs5495 ปีที่แล้ว

    very clear explanation thanks a lot yuri.... my doubt is if i want to use 13,14,15,12 pins as gpio means it will work or not?

    • @YuriR
      @YuriR  ปีที่แล้ว +1

      You can use those pins normally, but it could mess with your JTAG. So, my suggestion is to use some #ifdef to protect those pins while you're JTAG debugging. Otherwise, you can just use the IDF terminal for debugging, and it should be all good.