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
5757- git clone https://github.com/bbogush/nand_programmer.git
5858- cd nand_programmer/firmware
5959- 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)
6961- sudo apt-get install libusb-1.0-0-dev
7062- cd ~ /dev/
7163- git clone https://github.com/texane/stlink.git
@@ -79,12 +71,6 @@ Linux based OS
7971- connect ST-Link to board
8072- cd ~ /dev/nand_programmer/nand_programmer/firmware
8173- 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.
8874## Build host application
8975- Install Qt5.5.1
9076- Open ~ /dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.
You can’t perform that action at this time.
0 commit comments