Skip to content

Commit 3d3cccb

Browse files
authored
Added description of programming chip via internal bootloader.
1 parent 901d7f2 commit 3d3cccb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,18 @@ Linux based OS
4848
- git clone https://github.com/bbogush/nand_programmer.git
4949
- cd nand_programmer/firmware
5050
- make
51-
## Burn firmware
51+
## Burn firmware (JTAG)
5252
- connect JTAG (J-Link) to board.
5353
- sudo apt-get install openocd
5454
- cd ~/dev/nand_programmer/nand_programmer/firmware
5555
- make install
56-
- NOTE: first time flash of chip should be burnt via internal bootloader (TODO).
56+
- NOTE: first time flash of chip should be burnt via internal bootloader because JTAG interface is not active.
57+
## Burn firmware (internal bootloader)
58+
- download STM DFU programmer software.
59+
- set BOOT0 switch to 1 to start internal bootloader.
60+
- connect board to PC via USB interface.
61+
- flash firmware.
62+
- set BOOT0 switch to 0 to boot from flash.
5763
## Build host application
5864
- Install Qt5.5.1
5965
- Open ~/dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.

0 commit comments

Comments
 (0)