3.1.13. J-Flash

The tool is located in tools/waf-tools.

3.1.13.1. Tool Documentation

Implements a waf tool to flash binaries to the foxBMS MCU

f_j_flash.check_j_flash_version(ctx)

Check if J-Flash has the correct minimum version for the features that we use.

If not successful, J-Flash is discarded from the found programs

f_j_flash.configure(ctx)

configuration step of the flash waf tool:

  • Find J-Flash

  • Check that version matches the minimum version

class f_j_flash.inst(*args: Any, **kwargs: Any)

Bases: waflib.Task.Task

Installer class

init_files()

Initialize files used by the task.

run()

run J-Flash

run_now()

implementation of waf run_now method

runnable_status()

runnable status of the flash tool