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

From razwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 17: Line 17:
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