Arduino IDE 編譯 AMB82 RTL8735 開發板 出錯


如圖所示,提示arm-none-eabi-gcc: fatal error: ‘-fuse-linker-plugin’, but liblto_plugin-0.dll not found
但是在Arduino安裝目錄下是能搜索到這個文件的,請問是哪裡出問題了呢?

你好 @sam-007-start ,

想瞭解一下, 請問您下載的是哪個Arduino 版本和在哪下載以及您使用的操作系統配置?

你好,已經能編譯下載了,但是燒錄固件後提示找不到攝像頭,開發板用的是amb82,但是arduino1.89上用的例程是amb82-mini的,但是官方說的是支持兩個開發板的,是不是要設置哪個文件?

已經可以燒錄,但是燒錄的攝像頭固件提示攝像頭打開出錯,開發板用的是amb82,但是arduino1.89上用的例程是amb82-mini的,官方上說支持兩種開發板的,是不是要設置哪個文件????

19:16:15.932 -> 
19:16:15.932 -> == Rtl8735b IoT Platform ==
19:16:15.932 -> Chip VID: 0, Ver: 0
19:16:15.932 -> ROM Version: v3.0
19:16:15.932 -> 
19:16:15.932 -> [Normal mode]
19:16:15.932 -> BootFromNORFlash
19:16:15.932 -> [Start Boot ROM...]
19:16:15.932 -> === Load PARTBL ===
19:16:15.932 -> === Load Done ===
19:16:15.932 -> === Load ISP_IQ ===
19:16:15.932 -> [fcs chk pass]
19:16:15.932 -> ISP_IQ @ 0x8401080, 0x52f80, 0x3
19:16:15.932 -> mfcs_data version 0x00010001
19:16:15.932 -> fcs_data version 0x00010101
19:16:15.932 -> === Process ISP_IQ ===
19:16:15.932 -> === Load Done ===
19:16:15.932 -> === Load BL ===
19:16:15.932 -> [Image Start Table @ 0x18200]
19:16:15.932 -> === Load Done ===
19:16:15.932 -> 
19:16:15.932 -> == Boot Loader ==
19:16:15.932 -> Nov 21 2022:18:18:29
19:16:16.017 -> === Load FCS Para ===
19:16:16.017 -> === Load Done ===
19:16:16.017 -> [crc pass]
19:16:16.017 -> === Load ISP_IQ Sensor ===
19:16:16.017 -> ISP_IQ @ 0x8401080, 0x52f80
19:16:16.017 -> === Process ISP_IQ ===
19:16:16.017 -> === Load Done ===
19:16:16.017 -> === Load FW1 ===
19:16:16.017 -> FW_ISP_IQ @ 0x8101080, 0x54f80
19:16:16.017 -> === Process FW_ISP_IQ ===
19:16:16.017 -> DRAM_TYPE is DDR2 128MB.
19:16:16.017 -> ddr_freq = 533
19:16:16.017 -> n_code_t = 10, f_code_t = 665
19:16:16.017 -> VOE flash @ 0x8156080, 0x7bf80
19:16:16.017 -> FCS KM_status 0x00002081 err 0x0000200a
19:16:16.017 -> Wait KM fcs done 0 us
19:16:16.017 -> FCS TM_status 0x00000001 
19:16:16.017 -> store fcs data for ram 
19:16:16.017 -> === Process VOE IMG ===
19:16:16.017 -> [Image Start Table @ 0x20105200]
19:16:16.017 -> RAM Load @ 0x81d2100->0x20105200, 0x5c94
19:16:16.017 -> DDR Load @ 0x81d8080->0x70100328, 0xbff39
19:16:16.053 -> === FW Load Done ===
19:16:16.091 -> 
19:16:16.091 -> Boot Loader <==
19:16:16.091 -> 
19:16:16.091 -> == RAM Start ==
19:16:16.091 -> Build @ 18:30:01, Nov 21 2022
19:16:16.091 -> 
19:16:16.091 -> $8735b>
19:16:16.091 -> [videoInit] VOE heap size is: 20488832
19:16:16.091 -> hal_voe_ready 0x0 0x3 
19:16:16.091 -> IQ:FW size (31126)
19:16:16.091 -> 
sensor:date 2022/11/7 version:RTL8735B_VOE_1.3.4.0
19:16:16.139 -> 
sensor:FW size (1812)
19:16:16.139 -> 
iq timestamp: 2022/11/07 10:39:13
19:16:16.139 -> 
ISP:1 ENC:1 H265:1 NN:1
19:16:16.139 -> 
hal_voe_ready 0x0 0x3 
19:16:16.139 -> voe   :RTL8735B_VOE_1.3.4.0 
19:16:16.139 -> sensor:RTL8735B_VOE_1.3.4.0 
19:16:16.139 -> hal   :RTL8735B_VOE_1.3.4.0 
19:16:16.139 -> load time sensor:90us iq:1496us itcm:0us dtcm:0us ddr:0us ddr2:0us
19:16:16.139 -> Init 90 Queue elements
19:16:16.139 -> 
Init 6 Queue elements
19:16:16.139 -> 
Init 6 Queue elements
19:16:16.139 -> 
Register disk driver to Fatfs.
19:16:16.300 -> 

FATFS Register: disk driver 0
19:16:16.300 -> 

SD_Init 0
19:16:16.601 -> 
part_count = 0
19:16:16.601 -> 
index 0 0 0 0
19:16:16.601 -> 

input countSet H264 def 2
19:16:16.601 -> 

ault HIGH profile
19:16:16.601 -> Error SEI user data size [0], need more then 16
19:16:16.601 -> 
[VOE]md init success
19:16:16.601 -> 

[VOE]pack_v 0x0000 0x0002 cus_v 1 iq_id 0 dn 0 day 0 night 1 other 2 offset 224 length 15064 
19:16:16.601 -> 
[VOE]Fast3A Cnt AE 1 AWB 1 period AE 5 AWB 1 delay 0 0 
19:16:16.685 -> 
[VOE]fps: 1880042148, pclk: 0, hts: 1077805056
19:16:16.685 -> 
[VOE]fps max 30.000000 min 5.000000 
19:16:16.685 -> 
[VOE]exposure_step 29.629629
19:16:16.685 -> 
[VOE]change sensor mode => 1920x1080@30.000000fps - 'linear'[VOE]min_fps 5.000000, max_fps 30.000000, exp_step 29.629629
19:16:16.685 -> 
[VOE]md ver 0x6d640100 
19:16:16.685 -> 
[VOE]ae ver 0x61650200 
19:16:16.685 -> 
[VOE]awb ver 0x77620100 
19:16:16.685 -> 
[VOE]cur_hdr_mode = 0
19:16:16.685 -> 
[VOE]NV12 1920x1080 1/30
19:16:16.685 -> 
[VOE]dynamic set fps 0 -> 30 ok
19:16:16.685 -> 
[VOE]sensor power on
19:16:16.685 -> [VOE]i2c_master_err_callback ERR:8, tx_len: 0, rx_len: 0
19:16:16.768 -> 

[VOE]i2c tx abrt source: 1
19:16:16.768 -> 

[VOE]i2c txflr: 1
19:16:16.768 -> 

[VOE][sensor_start][779]Errsensor_start check sensor id err 
19:16:16.768 -> 

[VOE]sensor power off
19:16:16.768 -> [VOE][sensor_start][835]Errstart sensor fail 65544 
19:16:16.768 -> 

[VOE][isp_mod_execute][306]Errmodule sensor execute 0x80044500 fail 65544 
19:16:16.768 -> 

[VOE][mod_control_start_isp][110]Errfail to start isp pipeline -> 65544
19:16:16.768 -> 

[VOE][isp_mod_do_action][400]Errmodule control do action 0x80024500 fail 65544 
19:16:16.768 -> 

[VOE][rtscam_isp_message_call][530]ErrISP:{rtscam_isp_message_call} message exec failed
19:16:16.768 -> 

[VOE][__rtscam_isp_set_fps][1735]Err__rtscam_isp_set_fps rtscam_isp_message_call -8 
19:16:16.768 -> 

[VOE][rtscam_zoom_enable_stream][425]Errrtscam_zoom_enable_stream zoom->isp->set_fps 30 ret: -8 
19:16:16.768 -> 

[VOE][rts_v4l2_streamon][568]Errv4l2 ioctl STREAMON fail, -47
19:16:16.768 -> 

[VOE]start_stream stream on failed -47 
19:16:16.768 -> 
[VOE]voe_open isp_open_stream ch0 failed -47 
19:16:16.768 -> 
hal_voe_send2voe too long 155388 cmd 0x00000206 p1 0x00000000 p2 0x00000000
19:16:16.768 -> 
VOE command 206 fail
19:16:16.768 -> 
VOE_OPEN_CMD command fail
19:16:16.768 -> hal_video_open fail
19:16:16.768 -> no open video channel 
19:16:16.768 -> hal_video_close fail
19:16:16.768 -> hal_voe_ready 0x0 0x1718 
19:16:16.820 -> IQ:FW size (31126)
19:16:16.820 -> 
sensor:date 2022/11/7 version:RTL8735B_VOE_1.3.4.0
19:16:16.861 -> 
sensor:FW size (1812)
19:16:16.861 -> 
iq timestamp: 2022/11/07 10:39:13
19:16:16.861 -> 
voe:date 2022/10/6 version:RTL8735B_VOE_1.3.4.0
19:16:16.983 -> 
voe:FW size itcm(20360) dtcm(832) ddr(239536) ddr2(243918)
19:16:16.983 -> ISP:1 ENC:1 H265:1 NN:1
19:16:16.983 -> 
hal_voe_ready 0x3 0x3 
19:16:16.983 -> voe   :RTL8735B_VOE_1.3.4.0 
19:16:16.983 -> sensor:RTL8735B_VOE_1.3.4.0 
19:16:16.983 -> hal   :RTL8735B_VOE_1.3.4.0 
19:16:16.983 -> load time sensor:90us iq:1494us itcm:264us dtcm:13us ddr:2981us ddr2:3032us
19:16:16.983 -> Set H264 default HIGH profile
19:16:16.983 -> Error SEI user data size [0], need more then 16
19:16:16.983 -> 
[VOE]md init success
19:16:16.983 -> 

[VOE]pack_v 0x0000 0x0002 cus_v 1 iq_id 0 dn 0 day 0 night 1 other 2 offset 224 length 15064 
19:16:16.983 -> 
[VOE]Fast3A Cnt AE 1 AWB 1 period AE 5 AWB 1 delay 0 0 
19:16:16.983 -> 
[VOE]fps: 1880042148, pclk: 0, hts: 1077805056
19:16:16.983 -> 
[VOE]fps max 30.000000 min 5.000000 
19:16:16.983 -> 
[VOE]exposure_step 29.629629
19:16:16.983 -> 
[VOE]change sensor mode => 1920x1080@30.000000fps - 'linear'[VOE]min_fps 5.000000, max_fps 30.000000, exp_step 29.629629
19:16:16.983 -> 
[VOE]md ver 0x6d640100 
19:16:16.983 -> 
[VOE]ae ver 0x61650200 
19:16:16.983 -> 
[VOE]awb ver 0x77620100 
19:16:16.983 -> 
[VOE]cur_hdr_mode = 0
19:16:16.983 -> 
[VOE]NV12 1920x1080 1/30
19:16:16.983 -> 
[VOE]dynamic set fps 0 -> 30 ok
19:16:16.983 -> 
[VOE]sensor power on
19:16:16.983 -> [VOE]i2c_master_err_callback ERR:8, tx_len: 0, rx_len: 0
19:16:17.080 -> 

[VOE]i2c tx abrt source: 1
19:16:17.080 -> 

[VOE]i2c txflr: 1
19:16:17.080 -> 

[VOE][sensor_start][779]Errsensor_start check sensor id err 
19:16:17.080 -> 

[VOE]sensor power off
19:16:17.080 -> [VOE][sensor_start][835]Errstart sensor fail 65544 
19:16:17.080 -> 

[VOE][isp_mod_execute][306]Errmodule sensor execute 0x80044500 fail 65544 
19:16:17.080 -> 

[VOE][mod_control_start_isp][110]Errfail to start isp pipeline -> 65544
19:16:17.080 -> 

[VOE][isp_mod_do_action][400]Errmodule control do action 0x80024500 fail 65544 
19:16:17.080 -> 

[VOE][rtscam_isp_message_call][530]ErrISP:{rtscam_isp_message_call} message exec failed
19:16:17.080 -> 

[VOE][__rtscam_isp_set_fps][1735]Err__rtscam_isp_set_fps rtscam_isp_message_call -8 
19:16:17.080 -> 

[VOE][rtscam_zoom_enable_stream][425]Errrtscam_zoom_enable_stream zoom->isp->set_fps 30 ret: -8 
19:16:17.080 -> 

[VOE][rts_v4l2_streamon][568]Errv4l2 ioctl STREAMON fail, -47
19:16:17.080 -> 

[VOE]start_stream stream on failed -47 
19:16:17.080 -> 
[VOE]voe_open isp_open_stream ch0 failed -47 
19:16:17.080 -> 
hal_voe_send2voe too long 155256 cmd 0x00000206 p1 0x00000000 p2 0x00000000
19:16:17.080 -> 
VOE command 206 fail
19:16:17.080 -> 
VOE_OPEN_CMD command fail
19:16:17.080 -> hal_video_open fail
19:16:17.080 -> 
19:16:17.080 -> 

[VID Err]Please check sensor id first,the id is 9
19:16:17.080 -> 
Start MP4 recording (1 files)
19:16:17.080 -> 
STORAGE_INIT

19:16:17.158 -> open file (0:/TestRecordingAudioVideo.mp4) len = 30 seconds
19:16:17.158 -> 
STORAGE_INIT -> STORAGE_START

19:16:18.168 -> ------------------------------
19:16:18.168 -> - Summary of Streaming -
19:16:18.168 -> ------------------------------
19:16:18.168 -> Channel: 0
19:16:18.168 -> Encoder type: H264
19:16:18.168 -> Resolution: VIDEO_FHD
19:16:18.168 -> Video width: 1920
19:16:18.168 -> Video height: 1080
19:16:18.168 -> fps: 30
19:16:18.168 -> bps: 2097152
19:16:18.168 -> Snapshot EN/DIS: Disabled
19:16:18.168 -> 
19:16:18.168 -> - Audio Information -
19:16:18.168 -> Mic type: USE_AUDIO_AMIC
19:16:18.168 -> Sample rate: 8000 Hz
19:16:18.168 -> Word length: 16 bit
19:16:18.168 -> Mic gain: 0dB
19:16:18.168 -> dmic left gain: 24dB
19:16:18.168 -> dmic right gain: 24dB
19:16:18.168 -> 
19:16:18.168 -> - AAC Information -
19:16:18.168 -> Sample rate: 8000 Hz
19:16:18.168 -> AAC Bit Length: 16 bit
19:16:18.168 -> MPEG version: MPEG4
19:16:18.168 -> Total AAC memory size: 10240
19:16:18.168 -> Total AAC memory block size: 128
19:16:18.168 -> Total AAC memory frame size: 1024
19:16:18.168 -> 
19:16:18.168 -> - MP4 Recording Information -
19:16:18.168 -> Recording file name: TestRecordingAudioVideo
19:16:18.168 -> Recording duration: 30 seconds
19:16:18.168 -> File count: 1
19:16:18.168 -> 
19:17:07.877 -> [In]

19:17:07.877 -> psdioh->card_exist_b.sd_exist = 1
19:17:07.918 -> 
19:17:16.331 -> 

[AUDIO  Wrn]audio:1498 drop:5 audio_total:1498 drop_total:5
19:17:16.331 -> 
[In]

19:17:42.896 -> psdioh->card_exist_b.sd_exist = 1
19:17:42.896 -> 
19:18:16.421 -> 

[AUDIO  Wrn]audio:1503 drop:0 audio_total:3001 drop_total:5
19:18:16.421 -> 

可以幫忙分析下嗎?

分析了一下 log, 裏面顯示了 “[VID Err]Please check sensor id first,the id is 9”。 這指的是攝像頭的 sensor 用錯了。我們的 Arduino SDK 是針對 AMB82-mini 來做開發。想跟你確認·一下,您是在用圖片裏的 AMB82 嗎? 因爲它們使用的sensor 不同。

是的用的是圖上這款,請問應該修改哪個文件????

目前Arduino SDK 針對的是AMB82-mini,只支持 JXF37 這顆 sensor。 如果用的是其他的sensor而不是JXF37 (sensor name 可以在camera 上找到), 就不能在 Arduino 上跑 video相關的 examples. 如果想要瞭解,可到 sensor.h 文件看看。但目前只支持 JXF37。

您好,可以提供下amb82-mini的原理圖嗎?官網下載的註冊鏈接失效,沒辦法下載!!!

你可以試著在這個網站 (Registration – Realtek IoT/Wi-Fi MCU Solutions ) 注冊。如果還是不行,請讓我知道。 謝謝。

註冊一直在提示錯誤!

你好,關於此問題 我已經私信你了。:slight_smile: