From be8841a6239f2d951885d8d4a885e28cab01f45a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 10 Sep 2019 08:31:36 +0200 Subject: Improve --threshold-peakcount documentation, add DEPENDENCIES --- COPYING | 2 +- bin/msp430-etv | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/COPYING b/COPYING index 859ee60..f2389e5 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Copyright (C) 2018 Daniel Friesel +Copyright (C) 2018-2019 Daniel Friesel Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/bin/msp430-etv b/bin/msp430-etv index 075426a..ee47fe4 100755 --- a/bin/msp430-etv +++ b/bin/msp430-etv @@ -58,12 +58,22 @@ OPTIONS If the threshold is set to "mean", the mean power of all measurements will be used --threshold-peakcount - Automatically determine threshold so that there are exactly peaks. - A peaks is a group of consecutive measurements with mean power >= threshold + Automatically determine a threshold so that there are exactly peaks. + A peaks is a group of consecutive measurements with mean power >= threshold. + WARNING: In general, there is more than one threshold value leading to + exactly peaks. If the difference between baseline and peak + power is sufficiently high, this option should do what you mean[tm] --plot - Show power/time plot + Draw power/time plot --stat - Show mean voltage, current, and power as well as total energy consumption. + Print mean voltage, current, and power as well as total energy consumption. + +DEPENDENCIES + +For data measurements (i.e., any invocation not using --load), +energytrace-util +must be available in $PATH and libmsp430.so must be located in the +LD library search path (e.g. LD_LIBRARY_PATH=../MSP430Flasher). ''') def peak_search(data, lower, upper, direction_function): -- cgit v1.2.3