test_camera example

Discussions about the AI-deck
Post Reply
Donghong
Beginner
Posts: 5
Joined: Tue Jun 15, 2021 7:26 am

test_camera example

Post 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
Donghong
Beginner
Posts: 5
Joined: Tue Jun 15, 2021 7:26 am

Re: test_camera example

Post by Donghong »

sorry, my programmer (olimex-arm-USB-tiny-h) red light also flickers. I mistook it for the LED on AI_deck.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: test_camera example

Post by tobias »

Do you still have an issue or you managed to solve it?
Donghong
Beginner
Posts: 5
Joined: Tue Jun 15, 2021 7:26 am

Re: test_camera example

Post 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.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: test_camera example

Post 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?
Donghong
Beginner
Posts: 5
Joined: Tue Jun 15, 2021 7:26 am

Re: test_camera example

Post 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"?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: test_camera example

Post 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.
Donghong
Beginner
Posts: 5
Joined: Tue Jun 15, 2021 7:26 am

Re: test_camera example

Post 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.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: test_camera example

Post by tobias »

I'm glad it works now and thanks for the step by step guide!
Post Reply