Argon project consists of two parts:
- hardware: Argon board based on FT2232H microcontroller
- software included in this repo.
This driver can be used both with Argon board or any FTDI-based board with SPI flash attached.
Tested with N25Q, S25FL512S and Winbond W25Q flashes.
Remember: different flashes can have various command addresses. If a command does not work on your flash device, there can be two reasons: it can have different address on this particular flash or your flash doesn't support this particular command at all. When in doubt, look into datasheets.
First, download FTDI drivers from their website and make sure your Argon or another FTDI-based flash reader is properly visible in the Device Manager.
There are two execs included in releases section:
argon.exe
- manual command line interface (handy on flash debugging)argon_cli.exe
- CLI for automation (runargon_cli.exe --help
for usage hints). Example usage:argon_cli.exe list
,argon_cli.exe --serial FT613ZHMA read_id
Argon executables were tested on Windows 10 and 7. For other systems, you would have to build it by yourself.
- MinGW/MS Visual C++
- Optionally: FTDI drivers (if not provided, will be downloaded automatically)
- Optionally:
local-example.cmake
- filled with proper FTDI drivers path and copied to folder.local
with a namelocal.cmake
- in build directory:
- when using
local.cmake
:cmake.exe -DCMAKE_BUILD_TYPE=Debug -DLOCAL_CFG=[project path]/.local/local.cmake [project path]
- without
local.cmake
:cmake.exe -DCMAKE_BUILD_TYPE=Debug [project path]
- when using
- in build directory:
cmake --build .
Read JEDEC ID
Read REMS
Read SFDP
Read status registers
(all 4)Read status flag
Address write
Memory read
Chip erase
Commands:
Erase range
Erase sector
Write from file
Custom command
No known issues. If you find any - PRs are welcomed :)