On 28/05/13 00:06, the mail apparently from Robert Brehm included:
> Just tried with the config example (but also had tried that earlier already) 
> - however, no success.
>   
> It also still doesn't complain if I just run it without the AEP or I unplug 
> the AEP while arm-probe is running - there is no difference to the output.

No it won't complain just wait until it has seen all the AEPs mentioned
in the config file before starting.

Using exactly what's pushed to git ---->

$ arm-probe
# configuration: ./config
# config_name: PandaBoardES-B1-ANDY
# trigger: 0.400000V (hyst 0.200000V) 0.000000W (hyst 0.200000W) 400us
Configuration: PandaBoardES-B1-ANDY
# date: Tue, 28 May 2013 08:05:36 +0800
# host: kaiji
#
+ /dev/serial/by-id/usb-NXP_SEMICOND_ARM_Energy_Probe_S_NO00000000-if00
Starting...
sending start to 0
# VDD_VCORE1    SoCVCORE1/MPU   VBAT    #ff0000 SoC
# VDD_VCORE2    SoCVCORE2/IVA\\_AUDIO   VBAT    #c00000 SoC
# VDD_VCORE3    SoCVCORE3/CORE  VBAT    #a00000 SoC
# VBAT  VBAT    DC_IN   #555555 virtual
#
#
time  SoCVCORE1/MPU(V) SoCVCORE1/MPU(A) SoCVCORE1/MPU(W)
SoCVCORE2/IVA\\_AUDIO(V) SoCVCORE2/IVA\\_AUDIO(A)
SoCVCORE2/IVA\\_AUDIO(W) SoCVCORE3/CORE(V) SoCVCORE3/CORE(A)
SoCVCORE3/CORE(W)
ARMED  0.17 0.0000 0.00000 0.16 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.15 0.0036 0.00053 0.17 0.0000 0.00000 0.17 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.17 0.0000 0.00000 0.16 0.0024 0.00037
ARMED  0.16 0.0036 0.00057 0.17 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.17 0.0000 0.00000 0.15 0.0015 0.00023 0.16 0.0000 0.00000
ARMED  0.17 0.0000 0.00000 0.16 0.0000 0.00000 0.17 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.16 0.0022 0.00035 0.17 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.16 0.0000 0.00000 0.15 0.0007 0.00011
ARMED  0.18 0.0000 0.00000 0.15 0.0000 0.00000 0.15 0.0018 0.00027
ARMED  0.17 0.0000 0.00000 0.15 0.0015 0.00023 0.17 0.0000 0.00000
ARMED  0.17 0.0000 0.00000 0.16 0.0000 0.00000 0.15 0.0030 0.00047
ARMED  0.17 0.0000 0.00000 0.16 0.0000 0.00000 0.16 0.0028 0.00045
ARMED  0.17 0.0000 0.00000 0.15 0.0000 0.00000 0.16 0.0024 0.00037
ARMED  0.17 0.0013 0.00022 0.17 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.17 0.0000 0.00000 0.16 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.18 0.0000 0.00000 0.16 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.16 0.0004 0.00006 0.17 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.18 0.0000 0.00000 0.17 0.0000 0.00000 0.14 0.0003 0.00004
ARMED  0.16 0.0063 0.00102 0.17 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.16 0.0036 0.00056 0.16 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.17 0.0000 0.00000 0.16 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.18 0.0000 0.00000 0.16 0.0000 0.00000 0.15 0.0018 0.00027
ARMED  0.15 0.0000 0.00000 0.17 0.0000 0.00000 0.16 0.0001 0.00001
ARMED  0.17 0.0049 0.00082 0.17 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.16 0.0063 0.00102 0.17 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.14 0.0028 0.00040 0.17 0.0000 0.00000
ARMED  0.17 0.0027 0.00044 0.17 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.17 0.0036 0.00060 0.17 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.16 0.0059 0.00092 0.17 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.16 0.0028 0.00043 0.17 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.15 0.0015 0.00023 0.16 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.17 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.16 0.0015 0.00023 0.16 0.0000 0.00000
ARMED  0.16 0.0036 0.00057 0.17 0.0000 0.00000 0.16 0.0000 0.00000
ARMED  0.18 0.0013 0.00023 0.16 0.0000 0.00000 0.15 0.0000 0.00000
ARMED  0.16 0.0000 0.00000 0.16 0.0000 0.00000 0.15 0.0028 0.00043
ARMED  0.17 0.0000 0.00000 0.17 0.0000 0.00000 0.16 0.0020 0.00031
ARMED  0.17 0.0000 0.00000 0.15 0.0000 0.00000 0.15 0.0030 0.00046
ARMED  0.16 0.0000 0.00000 0.17 0.0011 0.00018 0.17 0.0000 0.00000
^C

  VDD_VCORE1:  0.14V < 0.165Vavg < 0.20V, 0.0000A < 0.00091Aavg <
0.0063A,  0.000000W <  0.000146Wavg <  0.001208W
  VDD_VCORE2:  0.13V < 0.162Vavg < 0.19V, 0.0000A < 0.00037Aavg <
0.0032A,  0.000000W <  0.000058Wavg <  0.000512W
  VDD_VCORE3:  0.13V < 0.159Vavg < 0.19V, 0.0000A < 0.00043Aavg <
0.0030A,  0.000000W <  0.000067Wavg <  0.000544W
exited


I noticed that on this laptop with USB3 ports, AEP won't work plugged in
direct (LMP, using a similar NXP chip are the same).  They need to be
connected via a USB2 hub in order to work.  Maybe that's something to do
with it.

-Andy

> ________________________________________
> From: Andy Green [andy.gr...@linaro.org]
> Sent: 27 May 2013 14:14
> To: Robert Brehm
> Cc: linaro-dev@lists.linaro.org
> Subject: Re: arm-probe (with ARM Energy probe)
> 
> On 27/05/13 16:53, the mail apparently from Robert Brehm included:
>> Hi,
>>
>> I have downloaded and compiled/installed (on Ubuntu 12.04  the arm-probe
>> from: https://git.linaro.org/gitweb?p=tools/arm-probe.git;a=tree
>>
>> Now I am facing some issues using the tool. My Arm Energy Probe shows up
>> as virtual serial port as /dev/ttyACM0 and I am able to open that port via “
>>
>> # sudo screen /dev/ttyACM0
>>
>> and when I “ctrl-c” in screen I get a response from the energy probe
>> saying “ARM Energy Probe”. So the probe should be working fine.
>>
>> If I however run
>>
>> # arm-probe –c ch1
>>
>> All it just shows is the blelow, there are no data streamed out at all:
>>
>> # configuration: ./config
>> # config_name: K70-SOM
>> # trigger: 0.400000V (hyst 0.200000V) 0.000000W (hyst 0.200000W) 400us
>> Configuration: K70-SOM
>> # date: Fri, 24 May 2013 15:45:57 +0200
>> # host: rb
>> #
>>
>> This is the content of my configuration file:
>>
>> # arm-probe configuration file
>> #
>> # setup name
>> K70-SOM
>> /dev/ttyACM0
>>    ch1 0.470 1 -0.000253 0 VCORE1/MPU
>>    ch2 0.470 2 -0.000253 0 VCORE1/MPU
>>    ch3 0.470 3 -0.000253 0 VCORE1/MPU
> 
> Have you tried using the config file here?
> 
> https://git.linaro.org/gitweb?p=tools/arm-probe.git;a=blob;f=config;h=2daed868003999ec3da619a4b0ebc9b4c11b6b6f;hb=HEAD
> 
> It changed recently to use /dev/serial/by-id/... and instead of polling
> for AEPs just collect all the ones mentioned.
> 
> -Andy
> 
> --
> Andy Green | Fujitsu Landing Team Leader
> Linaro.org │ Open source software for ARM SoCs | Follow Linaro
> http://facebook.com/pages/Linaro/155974581091106  -
> http://twitter.com/#!/linaroorg - http://linaro.org/linaro-blog
> 


-- 
Andy Green | Fujitsu Landing Team Leader
Linaro.org │ Open source software for ARM SoCs | Follow Linaro
http://facebook.com/pages/Linaro/155974581091106  -
http://twitter.com/#!/linaroorg - http://linaro.org/linaro-blog

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to