[RVB2601 Creative Application Development] A record of the development board repair process
[Copy link]
When I was learning WiFi networking routines before, I was unable to connect to the Internet. Specifically, when I used ch2601_webplayer_demo as a template for development, I was unable to connect to the network when using netmgr_config_wifi to configure the network. I submitted a work order and consulted customer service. After several twists and turns, I was finally able to connect to the network. The following is the record
Problem phenomenon: Network connection failed, the serial port prints as follows
[ 22.520]<E>w800_api dis handle: 0
[ 44.530]<E>w800_api dis handle: 2
[ 68.550]<E>w800_api dis handle: 2
Visual analysis shows that the connection failed.
Consult customer service to solve the problem: Here are the basic steps
1. Download the new [ch2601_webplayer_demo] project, compile it, and execute [chip erase] to erase it before burning it.
2. Download the burning software from this link [https://occ.t-head.cn/community/download?id=4014051462874206208], the software name is [CSKY-FlashProgrammer-windows-V1.0.14-20211206-1817.zip].
3. Follow the link [https://occ.t-head.cn/community/post/detail?spm=a2cl5.26076654.0.0.336e1f9c0Mk3VH&id=3920199873081257984] to perform the burning operation . Pay special attention to :
(1) Install in Section 2.2. Do not use the link in the document. Use the Flash Programmer downloaded from the link in step 2.
(2) Section 3.1 User Config Select: default. As shown below
(3) Finally, you need to configure the algorithm file to be burned. Here you need to select the corresponding one, as shown in the figure below.
Algorithm file
w800_flash.elf
(21.16 KB, downloads: 0)
4. Use the [FlashProgrammer] tool to burn the firmware into the development board.
Burn firmware
total_image.hex
(1.82 MB, downloads: 0)
Note that you need to connect jtag to w800 when burning, otherwise the "flash command time out" problem will occur
will be displayed after success
5. Now connect the serial port to W8TX/RX, so that the information of the w800 serial port can be printed
Enter the command to configure the network for the development board.
kv set wifi_ssid xxxx
kvset wifi_psk xxxxss
6. Restart the development board and wait for a few seconds. When you see 2601 output [netmgr IP: 192.**.**.***], use the serial port [ping occ.t-head.cn] to test whether the network configuration is successful.
Welcome to CLI...
> [ 0.082852][D][app ]
main, 139
[ 0.193334][D][bt_hci_h4]bt_w800_register
[ 0.197534][D][bt_hci_h4]h4_hal_init
[ 0.211057][I][app_net ]Start wifi network
[ 0.215294][D][app_net ]SSID=symic PASS=cxmin3894392
rf init########
app_at_server_init, 53
[ 0.358426][I][netmgr ]start wifi
[ 0.364343][I][netmgr_wifi]ssid{xxxx}, psk{xxxxss}
[ 0.382563][D][app ]PWM led off.
[ 2.999822][D][WIFI ]wifi connected
[ 3.004817][I][netmgr ]start dhcp
[ 3.564761][I][netmgr ]IP: 192.168.1.109
ping occ.t-head.cn
ping occ.t-head.cn(203.119.214.112)
[ 24.730695][D][Ping_V4 ] from 203.119.214.112: icmp_seq=1 time=14 ms
Problem solved, record it first.
|