... Ozone hangs with timeline open when sample rate is set to Max

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • ... Ozone hangs with timeline open when sample rate is set to Max

      forum.segger.com/index.php/Thr…ample-rate-is-set-to-Max/

      XMC4500 Relax Kit

      C Source Code

      1. #include <stdint.h>
      2. // global struct
      3. typedef struct {
      4. uint32_t dbga1;
      5. uint32_t dbga2;
      6. uint32_t dbga3;
      7. } GD_t;
      8. volatile GD_t D7;
      9. // global variable
      10. volatile uint32_t dbgb1;
      11. volatile uint32_t dbgb2;
      12. volatile uint32_t dbgb3;
      13. // static variable
      14. void foo(void) {
      15. static volatile uint32_t dbgc1;
      16. static volatile uint32_t dbgc2;
      17. static volatile uint32_t dbgc3;
      18. D7.dbga1++;
      19. D7.dbga2++;
      20. D7.dbga3++;
      21. dbgb1++;
      22. dbgb2++;
      23. dbgb3++;
      24. dbgc1++;
      25. dbgc2++;
      26. dbgc3++;
      27. }
      28. int main(void) {
      29. while(1) {
      30. foo();
      31. }
      32. }
      Display All
      Files
    • Hi fraengers,
      thank you. We will try to reproduce and come back to you. This might take a while since all engineers are currently fully booked.
      Best regards
      -- AlexD
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.
    • Hi fraengers,

      We have successfully reproduced the issue. At first glance this seems like it could simply be that a part of the chain is overloaded. This could be some buffer, the connection itself or even the host system.
      We will of course check whether we can improve this, but at this point we cannot make any promises.

      As a workaround lowering the sampling frequency and/or the J-Link connection speed reduces the load, stabilizing the data sampling.

      Best regards,
      SebastianB
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.