Search Results

Search results 1-20 of 40.

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

  • Debugging STM32H745

    fraengers - - J-Link/Flasher related

    Post

    ...I missed the logic of the default STM32Cube code. M7 will timeout until I am able to start the second debug session and M4 will end up in stop-mode. After fixing that, now both cores are running, but halting the CPU on either Ozone instance will only stop the M4, the M7 keeps running. How can I halt the M7 or both at once?

  • Debugging STM32H745

    fraengers - - J-Link/Flasher related

    Post

    Hello, I am trying to debug a dual core STM32H745 with Ozone V3.30d. While I can flash and step thought the code on the M7, it does not work on the M4. Flashing works, but I cannot debug. Console output after clicking Resume: Source Code (1 line)Subsequent Resumes result in the same message. Is this essentially possible with Ozone? What am I missing?

  • Quote from SEGGER - AlexD: “22. If you modify an expression at runtime Ozone needs to dump the data already sampled anyway because the data sampled for the previous expression does not fit to the new expression. There is a technical limitation which does not allow Ozone to change parts of the addresses sampled during data sampling - only the whole set of addresses can be changed. Since adding a new expression may change the addresses to be sampled the whole data needs be reset, the new set of ad…

  • 13. expressions again (in watched data): broken operators: forum.segger.com/index.php/Att…a4c6ffd6be8e09d4046c69d96 expressions are not saved/loaded properly. after I close and reopen ozone, it looks like this: forum.segger.com/index.php/Att…a4c6ffd6be8e09d4046c69d96

  • Quote from SEGGER - AlexD: “What's wrong with Y-Axis adapting to values growing into the negative? This is intended. ” Then I don't understand your intentions. Why adapt it with negative growing values but not with positive growing values? Don't change it at all, unless I enable Auto Fit Height or something. Quote from SEGGER - AlexD: “Same goes for the connection between data sampling window and timeline window: This is intended, as you can see in the Ozone user's manual, section 4.6.7. Since y…

  • Is this also the solution for the still not working watched data expressions? Just calculate it on the target ?! This is exactly what I don’t want or can’t do, because it costs time. My time to code and flash it every time I want to change the calculation and the time for the calculation itself needed on the target, which I possibly don’t have, e.g. on a small Cortex M0 w/o FPU. That is what I have a capable debugger for, or at least that is what I thought. Reminder for problems with watched dat…

  • A few comments on the UI: + thumbs up for optional names at cursor, thicker boarder and better default colors. - long expressions are problematic, because the color boxes may end up far away from the shorter names. I suggest moving them to the right next to the checkboxes or something like that. And/or allow me to choose my own names. In this example "Vbat" would be a much better, and shorter(!), description for what I want to plot, instead of the long expression. Would keep the legend smaller t…

  • 19. changing the sampling frequency with power sampling is sometimes useful to reduce the noise 2. to reproduce just try sampling the values from the image, e.g.: (tested with XMC4500, if relevant) Source Code (3 lines)Fit height will result in a scale with numbers ending in 'P' like in the image. I just realized that means peta, so this it probably working. edit: no, only partially, see the following example: forum.segger.com/index.php/Att…a4c6ffd6be8e09d4046c69d96 So fit height works for the g…

  • 2. I already mentioned this 6 month ago. Y-axis behaviour is terrible. I'm not talking about the missing y-axis zoom (e.g. with alt + mouse wheel) but that the scale breaks. Sometimes wrong i.e. very big or very small numbers may appear, probably due to EMI. What should normally only result in spikes, results in unuseability: Y-axis shows a strange scale, auto scale doesn't work, but even a manual y-axis range can't be set. Please fix your timeline. forum.segger.com/index.php/Att…a4c6ffd6be8e09d…

  • Hello, I just calibrated the current measurement of my J-Link Ultra+ while having nothing connected Source Code (6 lines)So far so good. Then same with just a 5V to 3.3V LDO connected, so that its quiescent current will not be part of the measurement. Source Code (6 lines)Numbers are a bit high?, but ok ... after that the current in Ozone was always 0mA (in reality it should be around 1..13mA). With a bit more load, so I get 20..33mA,I can see the measurements again but as 4..17mA so I calibrate…

  • [SOLVED] SWO trace

    fraengers - - Ozone related

    Post

    Hello, I'm trying to figur out tracing. Since I only have a J-Link Ultra+, 4-bit tracing is not possible (also the pins are usally not available on my controller) but SWO is available. Now I found this old thread: [SOLVED] Ozone SWO tracing saying there is no SWO tracing. But in the trace settings I can set the trace source to SWO, but that doesn't seem to do much. So before I waste more time, please tell me: Is the only thing Ozone can do with with the SWO-pin print text to terminal?

  • See also: forum.segger.com/index.php/Thr…nd-possible-improvements/ forum.segger.com/index.php/Thr…-possible-improvements-2/ 1. again: why a start/stop button would be a good idea and add value (i.e. make the sampling feature usable): Here is a gif, so you can see the problem (besides the big inconvenience that this procedure is); the timelines will be out of sync: edit: the bigger issue here is that power and data timelines are not correctly synced. forum.segger.com/index.php/Att…a4c6ffd6be8e09d…

  • 11. I experience it one three different machines (all Win10 and Ozone 3.28c) 13. It seems to be a problem with floats, ints work. Test code for XMC4500 Relax V1: C Source Code (18 lines)In this test it evaluates to 0. Better, because the timeline graph is still usable, but still wrong. forum.segger.com/index.php/Att…a4c6ffd6be8e09d4046c69d96 forum.segger.com/index.php/Att…a4c6ffd6be8e09d4046c69d96

  • 13. Expressions are broken (or working as intended? I'm not sure anymore...) - In Watched Data any expression, that is not just a variable, will only be evaluated when halted, auto referesh does not work. - in Data Sampling something like "(var1 - var2)" works, but "(var1 - var2)*1" will result in values like -2.07691874e+34.

  • 11. I cannot reproduce it consistently, it is happening pretty much all the time (but sometimes it's working correctly or it's less noticeable). I also tested it on a new installation and empty project. It is happinging without data too. It doesn't matter if the time scale is set to continuous or e.g. ms/div. Changing the window size seems to influence this behaviour. I made a short clip, so you can see what I mean. Observe the time origin line jumping when I move the cursor after zooming. Reall…

  • 10. the auto reload of ELF will not work if the "Target Connection Lost" error window (maybe also other message windows) is present. Common scenario for me: Debugger is running to examine errors if needed, I'm testing my setup, an error occurs, I turn off the power supply (=>debugger connection lost) to restart everything, I turn the power on again, I do more tests (debugger not needed at this point), I go the my IDE, make some changes, compile, do other stuff to prepare the next test run, then …

  • The main problem is that I cannot get to the "time to do a single memcopy" speed. Or worded differently: my memcpy is slow. here are some results: Source Code (12 lines)Are you using a special memcpy function? (I'm not a software engineer so I can't confidently tell from the code) - If so, why is it not as fast as in your test? The mepcpy32 function shows that it can be fast. - If not, why is it RTT still faster than calling memcpy manually?

  • 2. (from here) and another additional point for the a-great-idea-but-annoying-to-use feature (data sampling): - checkboxes in the data sampling setup panel, where I can select the expressions I want to sample without having to remove the ones I don't want to sample. 7. But please fix it as in: make it work and not as in: remove it. Even if the sampling rate and resolution is not as good as with the intended probes and with that useless for in-depth profiling, it is still a nice feature to see lo…

  • 2. (from here) additional points: - after zooming in the timeline with 'ctrl + mouse wheel' the zoom works as intended, but when you move the mouse afterwards, the timescale moves, so the waveforms jump right or left - there should be some kind of indication what sampling rate is possible with the current settings (SWD frequency, number of variables to sample etc.) and debug probe.

  • 1. (from here) another vote for the Start/Stop button, so I can start/stop both data and power sampling (also tracing? no experience with that) at the same time without having to change (and remember the current setting) of two frequency settings. 7. Seggers information is really unclear on this. Power profiling is specifically advertised with 200kSa/s for high end models (Pro, Ultra+). But it is also advertised for J-Link Plus as a feature of Ozone (with 1kHz rate limit I would assume). Since E…