How to use framework ectool from their repo: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "clone: https://github.com/FrameworkComputer/EmbeddedController Install dependencies sudo apt install libftdi-dev sudo apt install libusb-1.0-0-dev Build make utils But...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
But it doesn't work:
But it doesn't work:


EmbeddedController $ sudo ./build/bds/util/ectool led power g
EmbeddedController $ sudo ./build/bds/util/ectool led power green
reen
Missing Chromium EC memory map.
Missing Chromium EC memory map.
Cannot find I2C adapter
Cannot find I2C adapter
Unable to establish host communication
Unable to establish host communication
Couldn't find EC
Couldn't find EC

Strangely adding a print didn't show in the build didn't work:

vim util/comm-lpc.c +286

Latest revision as of 14:12, 6 February 2022

clone: https://github.com/FrameworkComputer/EmbeddedController

Install dependencies

sudo apt install libftdi-dev
sudo apt install libusb-1.0-0-dev

Build

make utils

But it doesn't work:

EmbeddedController $ sudo ./build/bds/util/ectool led power green
Missing Chromium EC memory map.
Cannot find I2C adapter
Unable to establish host communication
Couldn't find EC

Strangely adding a print didn't show in the build didn't work:

vim util/comm-lpc.c +286