Skip to content

Commit

Permalink
Build instruction moved to WiKi
Browse files Browse the repository at this point in the history
  • Loading branch information
bbogush committed Apr 18, 2021
1 parent 542f908 commit 73f92af
Showing 1 changed file with 1 addition and 63 deletions.
64 changes: 1 addition & 63 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ Application:
- Open KiCad PCB & Schematic
- Open source code
- Read & Write LEDs indication
- Write speed: 512KBytes/s
- Read speed: 640KBytes/s
- Erase speed: 256MBytes/s
- Extendable chip database
- Chip autodetection
- Firmware update
Expand All @@ -47,9 +44,7 @@ See full list of supported chips [qt/nando_spi_chip_db.csv](qt/nando_spi_chip_db

## Release binaries
You can download host application deb package for Ubuntu/Windows installer, firmware binary for
STM32, schematic and gerber files from here:

https://drive.google.com/drive/folders/1d5hP6MKbkEBGQe_xIRl4-A5LPt_-9QIN
STM32, schematic and gerber files from <a href="https://drive.google.com/drive/folders/1d5hP6MKbkEBGQe_xIRl4-A5LPt_-9QIN">Google Driver</a>.


### License
Expand All @@ -61,62 +56,5 @@ firmware/libs/spl/STM32_USB-FS-Device_Driver/ - http://www.st.com/software_licen

firmware/usb_cdc - http://www.st.com/software_license_agreement_liberty_v2

# Build
## Requirements
Linux based OS
## Build firmware
1. Download compiler and documents from Google Drive:
- Go to https://drive.google.com/drive/folders/1zLtebfLW6CxaWMq0rr4EfEPmeXfGk-7n?usp=sharing
- 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
## Burn firmware via SWD (ST-Link)
- sudo apt-get install libusb-1.0-0-dev
- cd ~/dev/
- git clone https://github.com/texane/stlink.git
- cd stlink/
- mkdir -p build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- sudo make install
- sudo cp ../etc/udev/rules.d/* /etc/udev/rules.d/
- sudo udevadm control --reload-rules
- sudo udevadm trigger
- connect ST-Link to board
- cd ~/dev/nand_programmer/nand_programmer/firmware
- st-flash write ./obj/prog.bin 0x8000000
## Build host application
### Linux
- sudo apt-get install libboost-all-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 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
## Schematic and PCB
- Install KiCad 5.0.1
- Open ~/dev/nand_programmer/nand_programmer/kicad/nand_programmator.pro
## Adding new chip
- Go to Settings->Chip database
- Press "+" button and fill out parameters from datasheet.

<img src="img/chip_db_settings.jpeg">

## WiKi
Check [WiKi](https://github.com/bbogush/nand_programmer/wiki) page for more information.

0 comments on commit 73f92af

Please sign in to comment.