
9
CHAPTER
FOUR
RUN THE FIRMWARE
4.1 Download the
fi
rmwares
Using below commands to download the
firmwares
into TypeABR module.
4.2 Run the FreeRTOS demo project
Press the RST button to reset the device and start booting the application. Some logs will output on
UART0
.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export
DEBUG_INTERFACE
=
jlink
./vendors/marvell/WMSDK/mw320/sdk/tools/OpenOCD/flashprog.py -l ./vendors/marvell/
C
→
WMSDK/mw320/sdk/tools/OpenOCD/mw300/layout.txt --boot2 ./vendors/marvell/WMSDK/
C
→
mw320/boot2/bin/boot2.bin
./vendors/marvell/WMSDK/mw320/sdk/tools/OpenOCD/flashprog.py --wififw ./vendors/
C
→
marvell/WMSDK/mw320/wifi-firmware/mw30x/mw30x_uapsta_W14.88.36.p135.bin
./vendors/marvell/WMSDK/mw320/sdk/tools/OpenOCD/flashprog.py --mcufw ./build/
C
→
marvell/mw320/aws_demos.bin -r
FreeRTOS Started
Application Daemon Startup
Will attempt to start wlan
Wi-Fi module initialized. Connecting to AP...
Registered seed_handler
0 21045 [IP-task] vDHCPProcess: offer c0a8328cip
1
30045 [IP-task] vDHCPProcess: offer c0a8328cip
Network connection successful.
Wi-Fi Connected to AP. Creating tasks which use network...
2
30107 [Startup Hook] Write certificate...
3 30113 [iot_thread] [INFO ][DEMO][30113] ---------STARTING DEMO---------
4
30113 [iot_thread] [INFO ][INIT][30113] SDK successfully initialized.
5
38303 [IP-task] vDHCPProcess: offer c0a8328cip
6
38313 [IP-task] vDHCPProcess: offer c0a8328cip
Network connection successful.
...........
163
42458 [iot_thread] [INFO ][DEMO][42458] Demo completed successfully.
164
42508 [iot_thread] [INFO ][INIT][42508] SDK cleanup done.
165 42508 [iot_thread] [INFO ][DEMO][42508] -------DEMO FINISHED-------