发帖
0 0 0

【安信可小安派BW21-CBV-Kit开发板】开箱 + mac 环境搭建

wenfengand
中级会员

4

主题

2

回帖

310

积分

中级会员

积分
310
小安派·BW21-CBV-KIt 28 0 昨天 10:32
[i=s] 本帖最后由 wenfengand 于 2025-3-9 10:32 编辑 [/i]

一、开箱

盒子还是一如既往的好看,后续正好可以用来做外壳。

将所有配件组装一起,如下是开发板的正面,摄像头很是亮眼。

下面是开发板的反面,主控模块占面积很大。

二、环境搭建

2.1 安装 Arduino

Arduino 的安装地址:https://www.arduino.cc/en/software

参考教程添加 ameba 开发板

搜索 ameba 并下载

现在开发板那里选择 AMB82-MINI,然后才能看到更多例程

2.2 下载 vlc 播放器

下载地址在 https://www.videolan.org/vlc/

三、rtsp demo 测试

本次选择了 rtsp 同时传输视频和声音,在 File -> Examples -> AmebaMultimedia -> StreamRTSP 中选择 SingleVideoWithAudio 即可。

可以先不连接开发板,看 Port 那里有几个串口;连接后再找多出来的那个串口,选择即可。

设置摄像头型号为 GC2053

先按 Boot 键不松开,再按 EN 键,此时串口会输出 download 的提示,松开 Boot 键。再按 arduino 的上传,即可开始上传。上传成功的提示如下:

上传完成后没有自动启动,再按一下 EN 键。启动日志如下:


== Rtl8735b IoT Platform ==


[Normal mode]
BootFromNORFlash
[Start Boot ROM...]
=== Load PARTBL ===
=== Load Done ===
=== Load ISP_IQ ===
[fcs chk pass]
ISP_IQ @ 0x8461080, 0x29f80, 0x0
mfcs_data version 0x00010001
fcs_data version 0x00010101

=== Process ISP_IQ ===
=== Load Done ===
=== Load BL ===
[Image Start Table @ 0x18200]
=== Load Done ===

== Boot Loader ==
Jan 31 2025:15:19:16
=== Load FCS Para ===
=== Load Done ===
[crc pass]

=== Load ISP_IQ Sensor ===
ISP_IQ @ 0x8461080, 0x29f80
=== Process ISP_IQ ===
=== Load Done ===
=== Load FW1 ===
FW_ISP_IQ @ 0x8061080, 0x2bf80
=== Process FW_ISP_IQ ===
DRAM_TYPE is DDR2 128MB.
ddr_freq = 533
VOE flash @ 0x808d080, 0x80f80
FCS KM_status 0x00002081 err 0x0000200a
Wait KM fcs done 0 us
FCS TM_status 0x003f0000 
store fcs data for application 
It don't do the sensor initial process
RAM TM_STATUS 0x00bf1208 err 0x00001208
 read fcs_status 0x000000bf
 read fcs_status 0x000000bf
=== Process VOE IMG ===
[Image Start Table @ 0x20106200]
RAM Load @ 0x810e100->0x20106200, 0x62e4

DDR Load @ 0x8115080->0x70100000, 0x1e2a29
=== FW Load Done ===

Boot Loader <==

== RAM Start ==
Build @ 17:00:44, Feb  5 2025
set ASP print off


$8735b>set ASP print off

Attempting to connect to WPA SSID: chrome
interface 0 is initialized

interface 1 is initialized

cfg_size_lib = 40, cfg_size_user = 40




Initializing WIFI ...[Driver]: [HALMAC]

 11692M HALMAC_MAJOR_VER = 1

 HALMAC_PROTOTYPE_VER = 4

 HALMAC_MINOR_VER = 20

 HALMAC_PATCH_VER = 


[Driver]: The driver include MP


[Driver]: Ver = libwlan:2025.02.05.17.23_b9.6_e86d757fc4dd2da7c141b57a5e73ac990a687a2d


RFE type = 0


start_addr=(0x4000), end_addr=(0x8000), buffer_size=(0x4000), smp_number_max=(2048)



WIFI initialized



[Driver]: set ssid [chrome] 

[Driver]: rtw_joinbss_cmd MGMT_FRAME_PROTECTION_OPTIONAL no pmf.


[Driver]: OnBeacon rtw_get_sec_ie (ielen: 378, rsn_len: 0, wpa_len: 0), channel: 5




[Driver]: start auth to 68:7d:00:0b:68:ae




[Driver]: auth success, start assoc

[Driver]: listen_interval: 10, bcn_interval: 100





[Driver]: association success(res=1)




[Driver]: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4)



[Driver]: set group key to hw: alg:2(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2

(0) Scan: 1, Auth: 1, Assoc: 1, 4way: 1, connect: 1, reason: 0





Interface 0 IP address : 192.168.10.160

[Driver]: TSFValue = 128880435560, tsf = 0, shift_set= 0x8000, bcn int = 100




[video_voe_presetting] fps:30  w:1920  h:1080   

fwin(1),enc_en(0),IQ_OFFSET = 0x17940

 fwin(1),enc_en(0),SENSOR_OFFSET = 0x2a260

sensor id 1 iq_data 17940 sensor_data 2a260

ctx->enc_info.frameLength * 2 = 2048



RTSP[0] port: 554


connect successful sta mode




rtsp stream enabledhal_voe_ready 0x0 0xbf1208 

 read fcs_status 0x000000bf

[video_init] uvcd iq is null, use default.

[video_init] uvcd SNR is null, use default.

IQ:FW size (76042)

sensor:date 2024/9/12 version:RTL8735B_VOE_1.5.7.0

sensor:FW size (3996)

sensor timestamp: 2024/09/12

iq timestamp: 0000/00/00 00:00:00

voe_heap malloc 0x70538e60, size 21994496

ISP:1 ENC:1 H265:1 NN:1

hal_voe_ready 0x0 0xbf1208 

voe   :RTL8735B_VOE_1.5.9.0 

sensor:RTL8735B_VOE_1.5.7.0 

hal   :RTL8735B_VOE_1.5.9.0 

load time sensor:356us iq:6763us itcm:0us dtcm:0us ddr:0us ddr2:0us

Set H264 default HIGH profile
[video_pre_init_procedure] START

hal_voe_send2voe too long 53285 cmd 0x00000206 p1 0x00000000 p2 0x00000000

------------------------------
- Summary of Streaming -
------------------------------


[INFO] Channel: 0



[INFO] Encoder type: H264



[INFO] Resolution: VIDEO_FHD



[INFO] Video width: 1920



[INFO] Video height: 1080



[INFO] fps: 30



[INFO] bps: 4194304

- RTSP -
rtsp://192.168.10.160:

[INFO] 554

- Audio -


[INFO] Mic type: USE_AUDIO_AMIC



[INFO] Sample rate: 8000 Hz



[INFO] Word length: 16 bit




[Local] Connected by 192.168.10.44


[Local] Enter rtsp request_loop


check_rtsp_url

No config

rtsp_cmd_options

check_rtsp_url

No config

rtsp_cmd_describe

[Local] REQUEST_PLAY




rtp started (UDP)





ch = 0 sf:1737 df:0 l:0%


ch = 1 sf:453 df:0 l:0%





ch = 0 sf:3470 df:0 l:0%


ch = 1 sf:906 df:0 l:0%


[Local] REQUEST_TEARDOWN




ch = 0 sf:4564 df:0 l:0%


ch = 1 sf:1189 df:2 l:0%


[Local] Socket closed





rtp stopped (UDP)


打开 vlc,选择 File -> Open Network 后,填入基本信息,其他不动:

Demo 效果截屏:

──── 0人觉得很赞 ────

使用道具 举报

您需要登录后才可以回帖 立即登录
高级模式
返回
统计信息
  • 会员数: 28043 个
  • 话题数: 39540 篇