Need latest VOE and Sensor drivers source code

Hi,

I downloaded camera sensor driver source code from Camera Module Bring Up Guide – Realtek IoT/Wi-Fi MCU Solutions and compiled voe.bin and sensor_f37.bin using pdf guide. I copied both files to folder ameba-rtos-pro2/component/soc/8735b/fwlib/rtl8735b/lib/source/ram/video/voe_bin and then build the main application. Now the sensor failed to initialize and beolow is the output log.

[video_init] uvcd iq is null, use default.                                                          
[video_init] uvcd SNR is null, use default.                                                         
IQ:FW size (98342)                                                                                  
sensor:date 2026/2/23 version:RTL8735B_VOE_1.6.1.0                                                  
sensor:FW size (5480)                                                                               
sensor timestamp: 2026/02/23                                                                        
iq timestamp: 2023/05/15 14:48:54                                                                   
voe_heap malloc 0x70eb6020, size 38562560                                                           
ISP:1 ENC:1 H265:1 NN:1                                                                             
hal_voe_ready 0x0 0xbf1208                                                                          
voe   :RTL8735B_VOE_1.6.1.0                                                                         
sensor:RTL8735B_VOE_1.6.1.0                                                                         
hal   :RTL8735B_VOE_1.6.8.0                                                                         
VOE FCS run open isp timeout 1000004                                                                
hal_video_init fail                                                                                 
                                                                                                    
[VID Err]video_init fail                                                                            
[video_set_rc] ch0 rc_info not init                                                                 
[video_set_rc] ch0 rc_info not init                                                                 
hal_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 (98342)                                                                                  
sensor:date 2026/2/23 version:RTL8735B_VOE_1.6.1.0                                                  
sensor:FW size (5480)                                                                               
sensor timestamp: 2026/02/23                                                                        
iq timestamp: 2023/05/15 14:48:54                                                                   
[MISC Err]Pin 0[5] is conflicted                                                                    
[MISC Err]It's configured as GPIO now.                                                              
[MISC Err]It's using by peripheral F0000000                                                         
[MISC Err]Pin 4[0] is conflicted                                                                    
[MISC Err]It's configured as GPIO now.                                                              
[MISC Err]It's using by peripheral F0000000                                                         
[MISC Err]Pin 3[11] is conflicted                                                                   
[MISC Err]It's configured as GPIO now.                                                              
[MISC Err]It's using by peripheral F0000000                                                         
[MISC Err]Pin 3[13] is conflicted                                                                   
[MISC Err]It's configured as Primary now.                                                           
[MISC Err]It's using by peripheral 0000000C                                                         
[MISC Err]Pin 3[12] is conflicted                                                                   
[MISC Err]It's configured as Primary now.                                                           
[MISC Err]It's using by peripheral 0000000E                                                         
[MISC Err]Pin 3[10] is conflicted                                                                   
[MISC Err]It's configured as Primary now.                                                           
[MISC Err]It's using by peripheral 0000000E                                                         
ISP:1 ENC:1 H265:1 NN:1

I found that VOE and Sensor drivers are old compared to HAL, Is this the reason for failure? And also I can see some MISC Err with pin configuration, is this the reason failure?

@Pammy I can’t add new sensor if the provided source code has issues with latest SDK, please provide the latest VOE and sensor driver source code if the version is problem or provide a solution to fix the MISC Err pin configuration.

Thanks,

Yugandhar

Hi @yugandhar ,

Would you mind checking if you have initialized the sensor twice? Next, you may also want to make sure that you have performed a clean build after replacing the binary files. You should be able to initialize the sensor using bin files built from the default source code. Thank you.

Hi @KevinKL ,

I am testing the sensor with mmfv2 examples only, so there is no chance of sensor initialization twice.

My build script removes build folder everytime before running cmake commands, so it will be always clean build only.

I just replaced the compiled voe and sensor bin files and then issue voe init fail started. To confirm the issue, I used old bin files and tested again, no issue found with old files. The issue is due to the RTL8735B_VOE_1.6.1.0 compiled bin files only.

Why the SDK VOE/Sensor lib/bin version and Driver Source version are not matching?

Can you share the latest RTL8735B_VOE_1.6.8.0 driver source code, so that I can compile and check the issue existed or not.

Thanks,

Yugandhar

Hi @yugandhar ,

Normally, the difference in VOE, sensor and HAL versions would not cause initialization failure. I tried to replicate your issue on my end, but I am able to initialize F37 using the binary files built from the online source code.

Here are the steps that I have followed,

  1. Compile voe.bin using make image in rtl8735_driver_code_voe1610/source
  2. Compile sensor_f37.bin using make sensor=f37 image in rtl8735_driver_code_voe1610/source/sensor
  3. Copy and replace the 2 binary files into ameba-rtos-pro2/component/soc/8735b/fwlib/rtl8735b/lib/source/ram/video/voe_bin
  4. Modify sensor.h to include SENSOR_F37
  5. Compile mmf2_video_example_v1_init() example in ameba-rtos-pro2 SDK (35cab42)
  6. Run the example

Here is my log:

Would you mind to share the binary files that you have built so that we could replicate your issue?

Thank you.

Hi @KevinKL ,

I took latest code again and followed the same procedure you did. Now the issue [MISC Err]Pin 3[11] is conflicted got fixed and voe init got success.

But, the debug messsages I added in sensor driver file are not printing, Why? How to confirm the driver changes I made are in action without seeing any debug messages?

Can you check and provide me a solution to enable printf statements in sensor driver.

And also, please update the camera sensor driver source code to the latest.

Thanks,

Yugandhar

Hi @yugandhar ,

You may add the debug messages printing lines to static int jxf37_check(uint32_t isp_id) function and enable VOE log by defining APP_VOE_LOG_EN flag to 1 in video_api.h

The camera sensor driver source code release version will be updated to version 1690 soon, kindly stay tuned.

Thank you.

Hi @yugandhar ,

To facilitate your debug process, you may choose to load sensor & iq driver binary files from SD card. In this way, you do not need to re-compile your FW upon sensor driver update. Kindly refer to the steps provided in this document Quick Guide for Sensor Driver Debug, or you may download it from our official website’s Ameba Pro2 Camera Module Bring Up page.

Thank you.