Mastering RTOS Debugging Techniques

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 18

  • @MaxxG94
    @MaxxG94 3 роки тому +2

    The structure of this video really helped retain they major points.
    thank you for organizing the information.

  • @bennguyen1313
    @bennguyen1313 Рік тому

    My debugger only has JTAG, i.e. no real-time tracing via Arm's ITM SWV (SWD+SWO) or J-Link RTT.
    How can Tracealyzer be used, either streaming via uart (USB CDC), or versus placing in ram for later analysis?
    Would love to see a typical debug session using Eclipse+Tracealyzer and an STM32.

  • @isaacdaniel2015
    @isaacdaniel2015 2 роки тому +1

    Very nicely done

  • @antonfernando8409
    @antonfernando8409 3 роки тому

    Would be nice to know how to debug like this in a Linux embedded box, thanks.

    • @beningoembedded
      @beningoembedded  2 роки тому

      Noted. Perhaps something to look at in the future.

  • @rk1genius
    @rk1genius 6 років тому

    I am using FreeRTOS on STM32 with Keil uvision . Can we use tracelyzer for stack analysis in this case as explained in the video ?

    • @beningoembedded
      @beningoembedded  6 років тому

      Yes you can still use Tracealyzer to retrieve event information. You may need to setup your own custom user channel for trace data in order to transmit the value of the watermark for the stack.

  • @shanmugapriya7702
    @shanmugapriya7702 7 років тому

    can we debug the RTOS using IAR IDE through Tracealyzer?If it so how can we do that?

    • @beningoembedded
      @beningoembedded  7 років тому +1

      It is possible to use IAR. I've seen it done on the Renesas Synergy platform but it involved creating some special macros that I don't quite recall. I would recommend jumping over to Percepio's contact page and ask them how it would be done. The link is
      percepio.com/contact/
      I know they'll be able to get you the right setup. Thanks for the question!

    • @beningoembedded
      @beningoembedded  6 років тому +1

      You can use Tracealyzer with any IDE. If I was using FreeRTOS within IAR, the process would be the same for streaming trace.

  • @debajyotichatterjee5863
    @debajyotichatterjee5863 5 років тому

    57:40 -- I see here and also in some books from another RTOS Vendor that it is not recommended to use a "Binary Semaphore" for acquiring an exclusive lock over a resource. Is that mandatory? Wouldn't a binary Semaphore give me the same results?

    • @beningoembedded
      @beningoembedded  5 років тому +4

      Yes and no. You can use a binary semaphore to lock a resource but a mutex is a better tool for this. Mutexes have a feature called priority inheritance which are not available on semaphores that can help alleviate and avoid priority inversions. Use a mutex for locking access to a resource.

  • @simsonlory1459
    @simsonlory1459 6 років тому

    Would you give some tutorials on openocd debug?

    • @beningoembedded
      @beningoembedded  6 років тому +3

      Thanks for the comment. I will give this some thought.

  • @HackeandoTecnologia
    @HackeandoTecnologia 7 років тому

    Whats is the IDE?

    • @beningoembedded
      @beningoembedded  7 років тому

      Integrated Development Environment. In these examples, Keil MDK

    • @beningoembedded
      @beningoembedded  6 років тому

      The Integrated development environment.