本帖最后由 lustao 于 2021-11-24 10:49 编辑
感谢 发烧友学院以及平头哥 半导体芯片开放社区 为我提供此产品W800(CB6201)无线开发板 。收到了W800(CB6201)无线开发板 。
顺风速运
包含开发板
看下资源,使用此 W800(CB6201)无线开发板 得准备操作系统(win10),开发软件(剑池CDK开发工具),与此 W800(CB6201)无线开发板 下传的 u***连接件一根,厂家提供的软件包(剑池 CDK开发工具下载)。
准备操作系统(win10)
开发板软件
CH340 USB转串口驱动
运行CDK,在首页点击新建工程:
在搜索框内输入w800并按回车,在第一个搜索结果右边点击创建工程:
后CDK会创建工程并自动下载工程所需(包括厂家提供的软件包)依赖
右击项目名称,选择Build开始编译。(或者F7
)
- Build target ' lu BuildSet '
- "----------Building project:[ lu - BuildSet ]----------"
- csky-elfabiv2-gcc -c ../__workspace_pack__/aos/v7.4.3/src/adapter/rhino/aos_rhino.c -DUSE_AOS -DUSE_AT -DUSE_BLE_HOST -DUSE_BREEZE -DUSE_LWIP -DUSE_MBEDTLS -DUSE_SMARTLIVING -DUSE_WIFI_PROVISIONING DCLI_CONFIG_MAX_ONCECMD_NUM=4 -DCLI_CONFIG_OUTBUF_SIZE=512 -DCLI_CONFIG_TASK_PRIORITY=60 -DCONFIG_ARCH_INTERRUPTSTACK=4096 -DCONFIG_BLE_MESH_PROV=1 -DCONFIG_BT=1 -DCONFIG_BT_CENTRAL=1 -DCONFIG_BT_DEBUG_LOG=1 -DCONFIG_BT_HCI_CMD_COUNT=6 -DCONFIG_BT_L2CAP_RX_MTU=247 -DCONFIG_BT_L2CAP_TX_BUF_COUNT=8 -DCONFIG_BT_L2CAP_TX_MTU=247 -DCONFIG_BT_PERIPHERAL=1 -DCONFIG_BT_RX_BUF_COUNT=4 -DCONFIG_BT_RX_BUF_LEN=512 -DCONFIG_BT_RX_STACK_SIZE=4096 -DCONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE=1 -DCONFIG_CJSON_WITHOUT_DOUBLE=y -DCONFIG_CLI=1 -DCONFIG_CSI="csi1" -DCONFIG_CSI_V1=1 -DCONFIG_DEBUG=1 -DCONFIG_DYN_TASK_STACK_SIZE=256 -DCONFIG_IDLE_TASK_STACK_SIZE=256 -DCONFIG_INIT_TASK_STACK_SIZE=4096 -DCONFIG_KERNEL_RHINO=1 -DCONFIG_KERNEL_tiMER_STACK_SIZE=1024 -DCONFIG_KERNEL_WORKQUEUE=1 -DCONFIG_KV_SMART=1 -DCONFIG_NET_BUF=1 -DCONFIG_TCPIP=1 -DCONFIG_UART_RECV_BUF_SIZE=1024 -DCONFIG_USING_TLS=1 -DCONFIG_WIFI_PROV_BLE=1 -DEN_COMBO_NET=1 -DEN_LONG_MTU=1 -DMBEDTLS_SSL_MAX_CONTENT_LEN=12500 -DOTA_ENABLED=1 -mcpu=ck804ef -mhard-float -O2 -g -MMD -MP -MTObj/BuildSet/Packages/aos/v7.4.3/src_except.o -MFObj/BuildSet/Packages/aos/v7.4.3/src_except.d -o Obj/BuildSet/Packages/aos/v7.4.3/src_except.o -I../__workspace_pack__/aos/v7.4.3/include -I../__workspace_pack__/aos/v7.4.3/include/devices -I../__workspace_pack__/aos/v7.4.3/src/adapter/rhino/debug/include -I../__workspace_pack__/at/v7.4.3/include -I../__workspace_pack__/ble_host/v7.4.3/include -I../__workspace_pack__/ble_host/v7.4.3/bt_host -I../__workspace_pack__/ble_host/v7.4.3/bt_host/port/include -I../__workspace_pack__/ble_host/v7.4.3/bt_host/include -I../__workspace_pack__/ble_host/v7.4.3/ble_profiles/include -I../__workspace_pack__/ble_host/v7.4.3/bt_crypto/tinycrypt/include -I../__workspace_pack__/ble_host/v7.4.3/bt_crypto/include -I../__workspace_pack__/breeze/v7.4.3/api -I../__workspace_pack__/breeze/v7.4.3/hal/include -I../__workspace_pack__/breeze/v7.4.3/include -I../__workspace_pack__/lwip/v7.4.3/include -I../__workspace_pack__/mbedtls/v7.4.3/include -I../__workspace_pack__/mbedtls/v7.4.3/platform/yoc/include -I../__workspace_pack__/smartliving/v7.4.3/include -I../__workspace_pack__/wifi_provisioning/v7.4.3/include -I../__workspace_pack__/wifi_provisioning/v7.4.3/softap -I../__workspace_pack__/button/v7.4.3/include -I../__workspace_pack__/cjson/v7.4.3/include -I../__workspace_pack__/ers/v7.4.3/at/at_socket -I../__workspace_pack__/ers/v7.4.3/at -I../__workspace_pack__/ers/v7.4.3/at/at_ble -I../__workspace_pack__/ers/v7.4.3/at/at_mesh -I../__workspace_pack__/netmgr/v7.4.3/include -I../__workspace_pack__/ntp/v7.4.3/include -I../__workspace_pack__/aos_hal/v7.4.3/include -I../__workspace_pack__/chip_w800/v7.4.3/include -I../__workspace_pack__/chip_w800/v7.4.3/wmsdk/include -I../__workspace_pack__/chip_w800/v7.4.3/wmsdk/include/app -I../__workspace_pack__/chip_w800/v7.4.3/wmsdk/include/arch/xt804 -csky-elfabiv2-gcc -o Obj/lu.elf -Wl,-ckmap="yoc.map" -Wl,-zmax-page-size=1024 @lu.txt -mhard-float -nostartfiles -Wl,--gc-sections -T../__workspace_pack__/w800_evb/v7.4.3/configs/gcc_eflash.ld -mcpu=ck804ef -LObj -L../__workspace_pack__/aos/v7.4.3/lib -L../__workspace_pack__/at/v7.4.3/lib -L../__workspace_pack__/ble_host/v7.4.3/lib -L../__workspace_pack__/breeze/v7.4.3/lib -L../__workspace_pack__/lwip/v7.4.3/lib -L../__workspace_pack__/mbedtls/v7.4.3/lib -L../__workspace_pack__/smartliving/v7.4.3/lib -L../__workspace_pack__/wifi_provisioning/v7.4.3/lib -L../__workspace_pack__/button/v7.4.3/lib -L../__workspace_pack__/cjson/v7.4.3/lib -L../__workspace_pack__/ers/v7.4.3/lib -L../__workspace_pack__/netmgr/v7.4.3/lib -L../__workspace_pack__/ntp/v7.4.3/lib -L../__workspace_pack__/aos_hal/v7.4.3/lib -L../__workspace_pack__/chip_w800/v7.4.3/lib -L../__workspace_pack__/cli/v7.4.3/lib -L../__workspace_pack__/csi/v7.4.3/lib -L../__workspace_pack__/drivers/v7.4.3/lib -L../__workspace_pack__/drv_bt_w800/v7.4.3/lib -L../__workspace_pack__/drv_bt_w800/v7.4.3/lib -L../__workspace_pack__/drv_wifi_w800/v7.4.3/lib -L../__workspace_pack__/drv_wifi_w800/v7.4.3/lib -L../__workspace_pack__/hal_csi/v7.4.3/lib -L../__workspace_pack__/kv/v7.4.3/lib -L../__workspace_pack__/minilibc/v7.4.3/lib -L../__workspace_pack__/partition/v7.4.3/lib -L../__workspace_pack__/rhino_arch/v7.4.3/lib -L../__workspace_pack__/rhino_pwrmgmt/v7.4.3/lib -L../__workspace_pack__/rhino/v7.4.3/lib -L../__workspace_pack__/sdk_chip_w800/v7.4.3/lib -L../__workspace_pack__/sec_crypto/v7.4.3/lib -L../__workspace_pack__/ulog/v7.4.3/lib -L../__workspace_pack__/uservice/v7.4.3/lib -L../__workspace_pack__/w800_evb/v7.4.3/lib -Wl,--whole-archive -laos -lat -lble_host -lbreeze -llwip -lmbedtls -lsmartliving -lwifi_provisioning -lbutton -lcjson -lers -lnetmgr -lntp -laos_hal -lchip_w800 -lcli -lcsi -ldrivers -lwmbt -ldrv_bt_w800 -lwmwlan -ldrv_wifi_w800 -lhal_csi -lkv -lminilibc -lpartition -lrhino_arch -lrhino_pwrmgmt -lrhino -lsec_crypto -lulog -luservice -lw800_evb -Wl,--no-whole-archive -lm
复制代码
- csky-elfabiv2-objcopy -O ihex .//Obj/lu.elf .//Obj/lu.ihex
- csky-elfabiv2-objdump -S .//Obj/lu.elf > .//Lst/lu.asm
- size of target:
- text data bss dec hex filename
- 698772 5264 191980 896016 dac10 ./Obj/lu.elf
- checksum value of target:0x0042A72D (4,323,240)
- Obj/lu.elf is modified at: 2021/11/24/ÖÜÈý 10:11:15
- Executing Post Build commands ...
- [INFO] Generated output files ...
- ----------------------------------------------------------------
- boot, 0, 0, 0x08002400, 0x0000dc00, 0x08010000, boot
- misc, 0, 0, 0x08010000, 0x000c0000, 0x080d0000
- prim, 1, 2, 0x080d0400, 0x000efc00, 0x081c0000, prim
- imtb, 0, 0, 0x081c0000, 0x00001000, 0x081c1000, imtb
- kv, 0, 0, 0x081c1000, 0x00008000, 0x081c9000
- boot, 43088 bytes
- prim, 704036 bytes
- imtb, 4096 bytes
- ----------------------------------------------------------------
- Create wm bin files
- generate normal image completed.
- generate normal image completed.
- compress binary completed.
- generate compressed image completed.
- generate normal image completed.
- Done
- ====0 error(s), 36 warning(s), total time : 3m45s319ms====
复制代码
准备 串口工具(如SecureCRT)
在传输选择Xmodem方式
选择C:C-Skylu1lu的yoc_total.fls文件烧录到开发板
按rst后
[ 0.000] INIT Build:Nov 17 2021,13:24:28
[ 0.310]INIT find 5 partitions
[ 0.570]bt_hci_h4 bt_w800_register
[ 0.590]bt_hci_h4 h4_hal_init
[ 0.610]app
[ 0.810get_free_info_id]<, D26>, ch app_net0
,tart net configget_free_info_id
_wifi_pair_thread36, , idx 3212
[ 0.930]SL_PROV call ble config start
[ 1.000]app PWM led off.
[ 1.020]combo missing ProductKey/ProductSecret/DeviceName/DeviceSecret/PID!
[ 77.610]keyusr button(nothing)
板正常
达到预期状态。
开箱+环境搭建 结束
0
|
|
|
|