Atmel Studio Programming and Debugging

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 22

  • @natecottrell2588
    @natecottrell2588 Před rokem +2

    Finally, a clear and thorough explanation of how to run a debugging session, thank you!

  • @SimeonFrank
    @SimeonFrank Před 3 lety +1

    Best video on this so far!

  • @konturgestalter
    @konturgestalter Před 7 lety +1

    Continue these great series please!

  • @keitholiver3981
    @keitholiver3981 Před 5 lety

    That was a good debugging tutorial, thanks

  • @ahmedejaz1125
    @ahmedejaz1125 Před 2 lety +1

    Can you debug using jtag too? and what is the difference?

    • @IlyaMikhelson
      @IlyaMikhelson  Před 2 lety +1

      Good question! You can use JTAG as well, but I have never tried it with this chip. In general, SWD requires fewer pins, but JTAG is more widely supported beyond ARM architectures. I use SWD where possible for the lower pin count.

    • @ahmedejaz1125
      @ahmedejaz1125 Před 2 lety

      Thanks

  • @bennguyen1313
    @bennguyen1313 Před 5 lety

    Is the ATSAM4S breakout board available for purchase?
    I understand VisualGDB is a plug-in for VS Studio.. but is Atmel Studio also based on Visual Studio (ex. VS Community)? Other than VS Code, which is based on the open source IDE, atom-Electron, anything Java/Visual Studio brings my computer to a crawl!
    Any thoughts on setting up emIDE, Eclipse or VSCode with GCC/LLVM and either the Atmel-ICE debugger or the J-Link Pro? I've had issues getting OpenOCD to do SWO/SWD, and ETM Trace functions.
    The Keil uVision IDE/compiler works great with Atmel-ICE (CMSIS-DAP) and the J-Link debugger, but it has a 32KB limit... could the GCC or LVMM compiler/makefile be used in the uVision?

  • @electronicsunleashed4112

    I would like to know one thing.
    When debugging AVR chips using Atmel ICE,I noticed that whenever a delay occurs & I try to stepping over the delay,the debug session enters into the delay and the debug session gets hanged and I have to manually reset the session.
    But in your case,I can see that stepping over a delay is not causing the session to freeze/entering into the delay.
    How you managed to do that???Please reply!

    • @IlyaMikhelson
      @IlyaMikhelson  Před 6 lety

      Because of the way debugging works, things like delays will take a very long time. You will notice the same thing with for loops. I have not used the Atmel ICE for AVR, so I don't know this, but it may be even more pronounced than for ARM. However, one thing that has worked for me in the past is to place a break point immediately after the line that freezes, and hit "Continue". This usually skips the delay.

    • @electronicsunleashed4112
      @electronicsunleashed4112 Před 6 lety

      I was using the break point/continue method as an alternative!!.Although,thanks for the reply....

  • @vt.y7668
    @vt.y7668 Před 6 lety

    Great Job! Will Arduino Leonardo work with the Atmel-ICE programmer also?

    • @electronicsunleashed4112
      @electronicsunleashed4112 Před 6 lety

      It will work!But you have to program/debug it from Atmel studio environment....Atmel ice can't debug from arduino environment!

    • @vt.y7668
      @vt.y7668 Před 6 lety

      Yes, thanks a lot. It works on my machine. I am using Atmel studio7

  • @user-xp1hp6ie6v
    @user-xp1hp6ie6v Před 2 lety

    Why flash verify failed

    • @IlyaMikhelson
      @IlyaMikhelson  Před 2 lety

      Can you please elaborate? In the video, the flash verification did not fail, as otherwise I would not be able to step through the code.

  • @InventionTherapy
    @InventionTherapy Před 7 lety

    Was this hard to learn?

    • @IlyaMikhelson
      @IlyaMikhelson  Před 7 lety

      This was honestly a bit hard to learn. However, once you get the hang of it, it's not so bad. Let me know what you plan to use this for, and I'd be happy to offer advice!

  • @avr_stm_pro2955
    @avr_stm_pro2955 Před 3 lety +1

    klass