Forum Discussion
Problem using TRDB-D5M Camera with SOPC Builder
I'm trying to use the TRDB-D5M camera connected to a DE2-115 with the UP video design examples. However I can't achieve what the example design file contained in following folder is supposed to do:
IP_Core_Demos\Video_Demos_using_SOPC_Builder\DE2-115\Example_4_Video_In The main modifications that I made in SOPC builder is to change the input of the 'Video-In Decoder' core to THDB_D5M camera, add 'Bayer Pattern Resampler', use 'Scaler' and 'Clipper' components to match VGA 640 x 480 specifications. The system was generated successfully. Then I added the following lines to the main example_4_video_in.v file to be able to read from the camera: .PIXEL_CLK_to_the_Video_In_Decoder(PIXEL_CLK), .FRAME_VALID_to_the_Video_In_Decoder(FRAME_VALID), .LINE_VALID_to_the_Video_In_Decoder(LINE_VALID), .PIXEL_DATA_to_the_Video_In_Decoder (PIXEL_DATA), This compiled without errors too. But when I download the .sof to the board, I don't get any display on the VGA output. Am I missing something there? I can see that the 'Video-In Decoder' component has option THDB_D5M but the camera is called TRDB_D5m. Could that be a reason? The camera system CD has an example file which works fine, but it does not make use of SOPC. I would like the video source to be an SOPC component. Has anybody used this camera in this way?25 Replies
- Altera_Forum
Honored Contributor
hello everyone,
I am also trying to use the demo extras_video-in_D5M camers from UP demos. But that doesn't work for me. I am using DE2-115 cyclone IV E board and my quartas edition is 11.0 . do I need to make any changes to the verilog file. I don't see any software for the demo.. Do I need to write one.. - Altera_Forum
Honored Contributor
hi ,
i am graduate student at mtsu.. i am going to start doing a video processing project can any one tell me how to begin i have DE2 board in university please heap me - Altera_Forum
Honored Contributor
Evired
i try to downlod your mrdk_de0.qar file and open it but it is giving following error Error: Block Design File C:\Documents and Settings\vis174.FSA\My Documents\Downloads\mrdk_de0_restored\mrdk_de0.bdf has an unsupported version number 1.4 i am using Quartus ii can you please help me - Altera_Forum
Honored Contributor
Thiruparan,
You might want to have a TRDB-D5M CMOS camera module from Terasic to plug it into your DE2 board and use the sample code they provide. I did just this and its been a good start. I am trying to carry out some basic Image processing too.. currently trying to manipulate pixel values (using the VGA controller module) like colour inversion, tint creation etc. Alternatively, you could have the R,G and B 10 bit values go to a NIOS and do some interesting stuffs there. Hope this helps. - Altera_Forum
Honored Contributor
Thank you very much for your response........
ya i can buy TRDB-D5M .. ... i have only quartus ii web edtion which i downloded from altera website for free ...is that tool is enough to carry out the image /video processing .. what are the tools and boards you are using ........ - Altera_Forum
Honored Contributor
Yes Thirupan. The camera can be interfaced to the DE2 (through the GPIO pins) and the FPGA programmed with the sample code provided by Terasic. Quartus II will be fine, and the web edition (free license) version works.
I use the DE2 with TRDB-D5M. Currently trying to add an SOPC featuring NIOS to prossibly have the processing done. Meanwhile I would be interested to know about your progress... Rgds, Balu - Altera_Forum
Honored Contributor
hi ,
really Thank you very much for your response , i have design a processor using DE2 board which is a very basic processor i did that for my microprocessor design class i did that using block diagrams . only thats is the experince i have in FPGA ... to do image processing i am just started .. my target is devoleping a fpga which can detect objects i have only the quartus ii web edtion and DE2 board , i am going to by cam ... what you have done so far http://freevideolectures.com/course/2316/digital-image-processing-iit-kharagpur its online lecture on image processing it may help you please share what you have done so far Thank you - Altera_Forum
Honored Contributor
I want to buy d5m module. can anyone send me the snapshot of the sample picture of this d5m camera
- Altera_Forum
Honored Contributor
Hi,
Are you talking about a pic of the cam itself? It can be found on the terasic website.. Link below: http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&no=281 - Altera_Forum
Honored Contributor
Thanks for the reply. I am talking about sample picture taken using the Terasic d5m camera module because I did not find yet any sample picture taken from this camera on the Terasic Website. I want to check the quality of the camera, which is essential in my project.
Please help me