File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,7 @@ Linux based OS
57
57
- git clone https://github.com/bbogush/nand_programmer.git
58
58
- cd nand_programmer/firmware
59
59
- make
60
- ## Burn firmware
61
- ### JTAG (J-Link)
62
- - connect JTAG (J-Link) to board.
63
- - sudo apt-get install openocd
64
- - cd ~ /dev/nand_programmer/nand_programmer/firmware
65
- - chmod +x ../extra/program.sh
66
- - make program
67
- - NOTE: first time flash of chip should be burnt via internal bootloader (DFU )because JTAG interface is not active.
68
- ### SWD (ST-Link)
60
+ ## Burn firmware via SWD (ST-Link)
69
61
- sudo apt-get install libusb-1.0-0-dev
70
62
- cd ~ /dev/
71
63
- git clone https://github.com/texane/stlink.git
@@ -79,12 +71,6 @@ Linux based OS
79
71
- connect ST-Link to board
80
72
- cd ~ /dev/nand_programmer/nand_programmer/firmware
81
73
- st-flash write ./obj/prog.bin 0x8000000
82
- ## Burn firmware (internal bootloader)
83
- - download STM DFU programmer software.
84
- - set BOOT0 switch to 1 to start internal bootloader.
85
- - connect board to PC via USB interface.
86
- - flash firmware.
87
- - set BOOT0 switch to 0 to boot from flash.
88
74
## Build host application
89
75
- Install Qt5.5.1
90
76
- Open ~ /dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.
You can’t perform that action at this time.
0 commit comments