Unable to ap1302 firmware on default image for FRDM im93 board when trying to use RPI_CAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to ap1302 firmware on default image for FRDM im93 board when trying to use RPI_CAM

Jump to solution
2,019 Views
Aditya_Vashista
Contributor II

I am trying to run the demos on NXP Go point which comes pre-installed in the FRDM imx-93 development board. For that i have downloaded the ap1302 firmware from ONSEMI github repo 9as mentioned in Board User Manual Rev. 1.0. I have renamed and placed the firmware file in /lib/firmware/imx/camera/ path as well.  When connecting RPI-CAM-MIPI, i am not able to interface with the camera and getting no feed when trying to run GoPoint demos for video test or object classification.

I have tried using all 3 firmwares, available on ONSEMI github link in UM, but getting the same results. 

Output of $dmesg | grep ap1302, is attached as image.

Labels (2)
Tags (3)
0 Kudos
Reply
1 Solution
2,000 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @Aditya_Vashista!

Thank you for contacting NXP Support!

 

You should download the "ap1302_60fps_ar0144_27M_2Lane_awb_tuning.bin" file from the ON Semiconductor github page, rename the file to "ap1302.fw" and save the file in  "/lib/firmware/imx/camera/"

 

After that you have to reboot your board and corroborate that the camera is working with the next command:

 

$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw,format=YUY2,width=1280,height=800" ! queue ! waylandsink

 

I have tried those steps by my side and is working  without problems.

 

Best Regards!

Chavira

 

View solution in original post

3 Replies
1,921 Views
Abisha
Contributor I

Hi @Aditya_Vashista 

Have you resolved this issue? I am also working on the same board and facing the same problem.

0 Kudos
Reply
1,917 Views
Aditya_Vashista
Contributor II

Hi @Abisha,

Yes, the solution provided resolved the issue.

 

 

0 Kudos
Reply
2,001 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @Aditya_Vashista!

Thank you for contacting NXP Support!

 

You should download the "ap1302_60fps_ar0144_27M_2Lane_awb_tuning.bin" file from the ON Semiconductor github page, rename the file to "ap1302.fw" and save the file in  "/lib/firmware/imx/camera/"

 

After that you have to reboot your board and corroborate that the camera is working with the next command:

 

$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw,format=YUY2,width=1280,height=800" ! queue ! waylandsink

 

I have tried those steps by my side and is working  without problems.

 

Best Regards!

Chavira

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2056303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUnable%20to%20ap1302%20firmware%20on%20default%20image%20for%20FRDM%20im93%20board%20when%20trying%20to%20use%20RPI_CAM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20trying%20to%20run%20the%20demos%20on%20NXP%20Go%20point%20which%20comes%20pre-installed%20in%20the%20FRDM%20imx-93%20development%20board.%20For%20that%20i%20have%20downloaded%20the%20ap1302%20firmware%20from%20ONSEMI%20github%20repo%209as%20mentioned%20in%20Board%20User%20Manual%20Rev.%201.0.%20I%20have%20renamed%20and%20placed%20the%20firmware%20file%20in%26nbsp%3B%2Flib%2Ffirmware%2Fimx%2Fcamera%2F%20path%20as%20well.%26nbsp%3B%20When%20connecting%20RPI-CAM-MIPI%2C%20i%20am%20not%20able%20to%20interface%20with%20the%20camera%20and%20getting%20no%20feed%20when%20trying%20to%20run%20GoPoint%20demos%20for%20video%20test%20or%20object%20classification.%3C%2FP%3E%3CP%3EI%20have%20tried%20using%20all%203%20firmwares%2C%20available%20on%26nbsp%3BONSEMI%20github%20link%20in%20UM%2C%20but%20getting%20the%20same%20results.%26nbsp%3B%3C%2FP%3E%3CP%3EOutput%20of%20%24dmesg%20%7C%20grep%20ap1302%2C%20is%20attached%20as%20image.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2056303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EFRDM-Training%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHands-On%20Training%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2061917%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20ap1302%20firmware%20on%20default%20image%20for%20FRDM%20im93%20board%20when%20trying%20to%20use%20RPI_CAM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2061917%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F245863%22%20target%3D%22_blank%22%3E%40Abisha%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EYes%2C%20the%20solution%20provided%20resolved%20the%20issue.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2061869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20ap1302%20firmware%20on%20default%20image%20for%20FRDM%20im93%20board%20when%20trying%20to%20use%20RPI_CAM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2061869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247633%22%20target%3D%22_blank%22%3E%40Aditya_Vashista%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EHave%20you%20resolved%20this%20issue%3F%20I%20am%20also%20working%20on%20the%20same%20board%20and%20facing%20the%20same%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2056383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20ap1302%20firmware%20on%20default%20image%20for%20FRDM%20im93%20board%20when%20trying%20to%20use%20RPI_CAM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247633%22%20target%3D%22_blank%22%3E%40Aditya_Vashista%3C%2FA%3E!%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20contacting%20NXP%20Support!%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYou%20should%20download%20the%20%22ap1302_60fps_ar0144_27M_2Lane_awb_tuning.bin%22%20file%20from%20the%20%3CA%20class%3D%22xref%22%20href%3D%22https%3A%2F%2Fgithub.com%2FONSemiconductor%2Fap1302_binaries%2Ftree%2Fmain%2FNXP_i.MX93%22%20target%3D%22_blank%22%20rel%3D%22external%20noopener%20nofollow%20noreferrer%22%3EON%20Semiconductor%20github%20page%3C%2FA%3E%2C%20rename%20the%20file%20to%20%22ap1302.fw%22%20and%20save%20the%20file%20in%26nbsp%3B%20%22%2Flib%2Ffirmware%2Fimx%2Fcamera%2F%22%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAfter%20that%20you%20have%20to%20reboot%20your%20board%20and%20corroborate%20that%20the%20camera%20is%20working%20with%20the%20next%20command%3A%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CPRE%20class%3D%22pre%20codeblock%20%20language-java%22%20tabindex%3D%220%22%3E%3CCODE%3E%24%20gst-launch-1.0%20-v%20v4l2src%20device%3D%2Fdev%2Fvideo0%20!%20%22video%2Fx-raw%2Cformat%3DYUY2%2Cwidth%3D1280%2Cheight%3D800%22%20!%20queue%20!%20waylandsink%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20have%20tried%20those%20steps%20by%20my%20side%20and%20is%20working%26nbsp%3B%20without%20problems.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards!%3C%2FP%3E%0A%3CP%3EChavira%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E