This is an alternative firmware update tool for the Anne Pro 2. It allows you to flash custom firmware onto the Anne Pro 2. Currently only the main MCU has been tested to work.
Please put the keyboard into IAP mode by holding down esc
while
plugging it in to the computer before running this tool.
To build
cargo build --release
To flash file called a.bin you can invoke
./target/release/annepro2_tools a.bin
By default, the flasher will look for 04d9:8008 (Default Anne Pro 2 IAP) and flash binary starting at 0x4000.
for developer
run nix-shell
to start a rust development shell
run nix shell
to start new shell for building and testing annepro2_tools
with nix flake, you can run annepro2_tools
directly too.
nix run github:OpenAnnePro/AnnePro2-Tools annepro2_tools -- --help
nix run github:OpenAnnePro/AnnePro2-Tools/master annepro2_tools -- --help
nix run github:OpenAnnePro/AnnePro2-Tools/0.1.0 annepro2_tools -- --help
nix run github:OpenAnnePro/AnnePro2-Tools annepro2_tools --boot fw.bin