-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Time Scaling on PPK2 #141
Comments
Thank you for reporting! Is this happening all the time, also for shorter events? You should see it quite immediately, since this is really a long way off! Also, try and zoom in on the chart and see if there are any data points that seem missing. Also, please post your system specs. Thank you. |
Below DUT is a Nordic nRF52 DK w/ nRF Connect Bluetooth Low Energy Firmware as pictured. Requested Test Below w/logs (power on/off every 2 seconds) 2021-01-06T09_04_47.147Z-log.txt My Windows 10 region is set to Australia AU in case its a date/time formatting issue. |
Thank you. For the feature, please enable the timestamps from the sidebar as well so we can see it along the x-axis:) I see that your zoomed in window measures exactly as expected. Every sample is 10µs, and you mark 12 samples = 120µs. This rules out any date/time formatting issue. I also see that you didn't zoom in on the plot where you power toggle, so I need you to do that, maybe look around a little to see if there are any gaps in the data set. Also, just start sampling and stop some seconds later, so we can correlate the whole range of timestamps along the x-axis with the log. |
Short Sample (10s) |
@joshbohmer , the "Short sample (10s)" screenshot does not show the 10s sample in the chart, please navigate the chart to the relevant 10s area. Please note the state of the LIVE VIEW toggle (which is off on the screenshot). If you toggle that on, the chart would be aligned to the latest data. I suggest to first click on the [10s] button, toggle LIVE VIEW on. So far I can't positively judge if there is anything wrong with the app. |
Do you observe the incoming data as one to one with the DUT connection (like unplugging, turning it on and off)? Just to know if it is just the time axis that is wrong, but also the timing of the incoming samples. |
I see. Could you please press Ctrl+Alt+Shift+L, so the Export button changes to Save/Export, then click on it and choose Save. Please share the saved PPK file. Note: this functionality is hidden intentionally, because we expect it will break in the future. |
@wlgrd The data shown on the graph is correct & 1:1 with what's expected. It's just the time scale which shows incorrect & (i think) makes the power usage numbers incorrect. the nRF52 DK should not be using ~10mA @bencefr Attached |
Video Attached, hopefully it helps 2021-01-06.22-16-11.mp4 |
There is a massive data loss from the PPK2 to the app somewhere. We have experienced data loss, but not to this nature. Do you have anything unusual in your setup? If you can, please connect the PPK2 to an other, preferably USB3 port. Avoid using HUBs and try changing the cable. Don't use virtual machine environments. |
It plugs directly into a USB3 motherboard port. No hubs. Nothing unusual I can think of. |
For data loss its VERY consistent. I would expect different results every time if it were data loss. This is always the same. ~6s (Real) = ~1s (Chart) |
Can you try in a USB 2.0 port? |
Also, if possible, please try with a different computer altogether. This is really interesting, and I guess more people will experience a similar issue if this is some hardware compatibility issue. Your findings are appreciated |
Thank you for your reports. We will work to reproduce this locally and get back to you. |
Can you share information about your chipset? |
@joshbohmer Just bumping to get some information about your chipset. Also, please check if 3.1 solves this issue for you. |
I have similar issue (v3.1.0) nRFConnect System Report - 2021-03-03T12-46-14.367Z
|
@kareszv13 did you get to update your chipset after AMD released fixes for their USB issues? We have verified that this is primarily an AMD issue, and see a lot of customers getting rid of this issue after updating the chipset . |
I'm having the same problem with a PPK (old one) attached on top of a nrf52840-DK. I have already tested with different versions for nRF connect (3.9.3, 3.71 and 3.6.1) and Power Profiler app, and flashed different firmwares on the PPK nrf52832 using those versions. Also tested on Ubuntu 21.10, 20.10 (it has already worked on 20.10 before) and on a different notebook with Windows 10. I'm kind of skeptical, but due the age of both boards, could this problem be caused by hardware damage? @wlgrd |
So you have incorrect time scaling as well? That's an issue we haven't seen with the PPK, only the PPK2. The time scale should definitely not be affected by the age of the hardware. |
New PPK2 working fine on same PC and settings (had just to update udev rules). It seems that both our old ppk and nrf DK was not working as expected. I would blame sea air corrosion... |
Strange indeed. Can you give me the label information of both the working and failing PPK2's that you have? |
The failing one is a PPK1, not PPK2, mounted on top of a DK. |
Ah, of course. Sorry for that. It should definitely not be caused by aging hardware at least. For the PPK1 case, there are aspects of it that we cannot control due to using the debugger firmware from SEGGER to provide the transport of the data. Will keep an eye out for more cases, so thank you for reporting it. |
Since OP hasn't responded in some time and others reporting PPK2 working fine now, I will close this. Please open another issue if this occurs again. |
Time Scaling is incorrect. See attached
Each event shown here is ~40s duration & ~5minute between starts. Power Profiler says 6.34s & 48.8s
The text was updated successfully, but these errors were encountered: