Page 1 of 1

test_camera example

Posted: Tue Jun 15, 2021 7:42 am
by Donghong
Hi.
I am working on Ai_deck1.1 with the test camera example but the process stops at:
Entering main controller
Testing normal camera capture
Opening Himax camera
Different from issue viewtopic.php?f=21&t=4847, my programmer (olimex-arm-USB-tiny-h) red light doesn't flicker. And also, the wifi streamer example doesn't work. it stops at: Allocated Memory for Image.

Some may help to know more about my problems.
ubuntu18.04 in the virtual machine(VM)
the SDK version 3.8.1.
the command I input: make clean all run platform=board

Thank you!
Zeng

Re: test_camera example

Posted: Tue Jun 15, 2021 8:11 am
by Donghong
sorry, my programmer (olimex-arm-USB-tiny-h) red light also flickers. I mistook it for the LED on AI_deck.

Re: test_camera example

Posted: Tue Jun 15, 2021 9:18 am
by tobias
Do you still have an issue or you managed to solve it?

Re: test_camera example

Posted: Tue Jun 15, 2021 12:13 pm
by Donghong
tobias wrote: Tue Jun 15, 2021 9:18 am Do you still have an issue or you managed to solve it?
I still have the issue.

Re: test_camera example

Posted: Wed Jun 16, 2021 6:53 am
by tobias
It looks like the problem is camera related. Did you test to remove the JTAG while power cycling the CF2.1 as described in this post?

Re: test_camera example

Posted: Thu Jun 17, 2021 1:50 am
by Donghong
tobias wrote: Wed Jun 16, 2021 6:53 am It looks like the problem is camera related. Did you test to remove the JTAG while power cycling the CF2.1 as described in this post?
Thank you for your reply~
I power on CF2.1 and remove JTAG, then reconnect JTAG and run the test_camera example.
It still stops at:opening Himax camera .
did I mistake " power cycling the CF2.1"?

Re: test_camera example

Posted: Thu Jun 17, 2021 9:19 am
by tobias
You should remove JTAG. Power off then on the CF2.1 and then connect the JTAG to make sure the camera is not "phantom" powered though the JTAG.

Re: test_camera example

Posted: Fri Jun 18, 2021 7:18 am
by Donghong
tobias wrote: Thu Jun 17, 2021 9:19 am You should remove JTAG. Power off then on the CF2.1 and then connect the JTAG to make sure the camera is not "phantom" powered though the JTAG.
Thank you very much! I can run the example successfully.

Just in case someone else has the same problem, I will write down the detailed process.
1. Connect the programer(USB) to the computer, but do not connect (JTAG) to the CF2.0.
2. Power on CF2.0 with battery instead of USB power supply.
3. Connect the programer(JTAG) to the CF2.0, then run the example.

Re: test_camera example

Posted: Fri Jun 18, 2021 12:42 pm
by tobias
I'm glad it works now and thanks for the step by step guide!