Skip to content
bbogush edited this page Jun 18, 2022 · 2 revisions

Software build

Requirements

Linux x32/x64, Windows x64.

Firmware

Linux

  • Go to Google Driver.
  • Press "Download All".
  • mkdir ~/dev/
  • cd ~/dev/
  • mv ~/Downloads/nand_programmer*.zip ./
  • unzip nand_programmer-*.zip
  • cd nand_programmer/compiler/
  • tar -xvf gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2
  • cd ..
  • git clone https://github.com/bbogush/nand_programmer.git
  • cd nand_programmer/firmware
  • make

Windows

  • Go to Google Driver.
  • Download and install compiler (gcc-arm-none-eabi-10-2020-q4-major-win32.exe) and make (make-3.81.exe).
  • Add path to installed binaries (arm-none-eabi-gcc.exe, make.exe) to PATH environment variable.
  • git clone https://github.com/bbogush/nand_programmer.git
  • cd nand_programmer/firmware
  • make

Host application

Linux

  • sudo apt-get install libboost-all-dev mesa-common-dev libglu1-mesa-dev
  • Install Qt5.x
  • Open ~/dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.
  • Go to Projects->Build->Build Steps->Add Build Step->Make. Add "install" to "Make arguments".
  • Build->Run qmake.
  • Build->Build All.
  • Build->Run.

Windows

  • Install boost library (boost.zip) from GoogleDriver archive under C:/boost/ or compile.
  • Install Qt5.x.
  • Open ~/dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.
  • Go to Projects->Build->Build Steps->Add Build Step->Make. Add "install" to "Make arguments".
  • Build->Run qmake.
  • Build->Build All.
  • Build->Run.
Clone this wiki locally