Skip to content

Commit 901d7f2

Browse files
authored
Added build instruction
1 parent 534ba8f commit 901d7f2

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,35 @@ firmware/libs/spl/CMSIS/License.doc
3131
firmware/libs/spl/STM32_USB-FS-Device_Driver/ - http://www.st.com/software_license_agreement_liberty_v2
3232

3333
firmware/usb_cdc - http://www.st.com/software_license_agreement_liberty_v2
34+
35+
# Build
36+
## Requirements
37+
Linux based OS
38+
## Build firmware
39+
1. Download compiler and documents from Google Drive:
40+
- Go to https://drive.google.com/drive/folders/1zLtebfLW6CxaWMq0rr4EfEPmeXfGk-7n?usp=sharing
41+
- Press "Download All"
42+
- mkdir ~/dev/
43+
- mv ~/Downloads/nand_programmer*.zip ~/dev/
44+
- unzip nand_programmer-*.zip
45+
- cd nand_programmer/compiler/
46+
- tar -xvf gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2
47+
- cd ..
48+
- git clone https://github.com/bbogush/nand_programmer.git
49+
- cd nand_programmer/firmware
50+
- make
51+
## Burn firmware
52+
- connect JTAG (J-Link) to board.
53+
- sudo apt-get install openocd
54+
- cd ~/dev/nand_programmer/nand_programmer/firmware
55+
- make install
56+
- NOTE: first time flash of chip should be burnt via internal bootloader (TODO).
57+
## Build host application
58+
- Install Qt5.5.1
59+
- Open ~/dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.
60+
- Build->Run qmake
61+
- Build->Build All
62+
- Build->Run
63+
## Schematic and PCB
64+
- Install KiCad 5.0.1
65+
- Open ~/dev/nand_programmer/nand_programmer/kicad/nand_programmator.pro

0 commit comments

Comments
 (0)