@@ -49,7 +49,7 @@ The board configuration supports the following hardware features:
4949
5050
5151The default configurations can be found in the Kconfig
52- :zephyr_file: `boards/bouffalolab/bl6 /bl604e_iot_dvk/bl604e_iot_dvk_defconfig `.
52+ :zephyr_file: `boards/bouffalolab/bl60x /bl604e_iot_dvk/bl604e_iot_dvk_defconfig `.
5353
5454System Clock
5555============
@@ -66,53 +66,6 @@ USB Serial converter and port is used for both program and console.
6666Programming and Debugging
6767*************************
6868
69- BL Flash tool
70- =============
71-
72- The BL-60x have a ROM bootloader that allows user flash device by serial port.
73- There are some tools available at internet and this will describe one of them.
74- The below guide was created based on RISC-V BL602 Book, chapter 3
75- `Flashing Firmware to BL602 `_.
76-
77- #. `Install Rustup `_
78-
79- #. Install cargo
80-
81- .. code-block :: console
82-
83- $ sudo apt-get install cargo
84-
85- #. Clone blflash rust version
86-
87- .. code-block :: console
88-
89- $ git clone --recursive https://github.com/spacemeowx2/blflash
90-
91- #. Build blflash
92-
93- .. code-block :: console
94-
95- $ cd blflash
96- $ cargo build --release
97-
98- #. Install blflash. The recommended use is copy to home folder
99-
100- .. code-block :: console
101-
102- $ cp target/release/blflash ~/bin/
103-
104- #. Test
105-
106- .. code-block :: console
107-
108- $ blflash -V
109-
110- It will print blflash version
111-
112- .. code-block :: console
113-
114- $ blflash 0.3.5
115-
11669Samples
11770=======
11871
@@ -125,7 +78,7 @@ application:
12578 :goals: build
12679 :compact:
12780
128- #. To flash an image using blflash runner:
81+ #. To flash an image using bflb_mcu_tool runner:
12982
13083 #. Press BOOT button
13184
@@ -135,7 +88,7 @@ application:
13588
13689 .. code-block :: console
13790
138- west flash -r blflash
91+ west flash
13992
14093 #. Run your favorite terminal program to listen for output. Under Linux the
14194 terminal should be :code: `/dev/ttyACM0 `. For example:
@@ -159,6 +112,9 @@ application:
159112 *** Booting Zephyr OS build v3.7.0-3255-g6e0fa5c1c77a ***
160113 Hello World! bl604e_iot_dvk/bl604e20q2i
161114
115+
116+ To debug the board you can use ``west debug `` command with OpenOCD.
117+
162118Congratulations, you have ``bl604e_iot_dvk `` configured and running Zephyr.
163119
164120
@@ -171,9 +127,6 @@ Congratulations, you have ``bl604e_iot_dvk`` configured and running Zephyr.
171127.. _Bouffalo Lab Development Zone :
172128 https://dev.bouffalolab.com/home?id=guest
173129
174- .. _Install Rustup :
175- https://rustup.rs/
176-
177130.. _The RISC-V BL602 Book :
178131 https://lupyuen.github.io/articles/book
179132
0 commit comments