Collecting Energy Results with the Automated Test Framework

From MAGEEC
Revision as of 13:58, 6 August 2013 by AWhetter (talk | contribs) (Created with draft text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ARM (stm32vl):

1. git clone the energy monitor https://github.com/jpallister/stm32f4-energy-monitor, test framework https://github.com/mageec/benchmark-framework, and benchmarks https://github.com/mageec/lowpower-benchmarks

2. cd into the energy monitor folder, compile it with 'make'. Start stlink on a port other than 4242 and flash the energy monitor onto the F4 board. target extended :<port>; file energy_monitor; monitor reset halt; load; (Press the black reset button on the board then) continue

3. Plug in the VL board and connect stlink to it with 'stlink -v1'

4. cd into the benchmarks folder and run the framework (python2 ../benchmark-framework/compare.py)