Replace the vague step about grounding with one that says to connect a USB cable and explain its purpose.
1.1 KiB
1.1 KiB
Flashing firmware
Internal programmer
Use this method for flashing a system already running System76 EC.
This will trigger a watchdog reset causing the system to immediately power off. Save and close all applications before flashing.
make BOARD=<vendor>/<model> flash_internal
External programmer
Use this method for first-time flashing or flashing a bricked controller.
This requires:
- A configured Mega 2560: For programming the EC itself
- A USB cable: For creating a common ground and providing power
- USB-C is recommended, but USB-A will work as well
- A second computer: For building and flashing the firmware
The system must not have any power!
- Turn off the laptop
- Unplug the AC adapter
- Remove the bottom panel
- Disconnect the battery
- Disconnect the keyboard from its port
- Replace the bottom panel and flip the laptop back over
- Connect the USB cable from the laptop to the host machine
- Connect the Mega 2560 to the host machine
- Attach the programmer to the keyboard port
- Flash the firmware
make BOARD=<vendor>/<model> flash_external