I have to display a video or .bmp image frame on VGA HPv185e monitor from Blackfin ADSP BF609 EZ kit..
What is the procedure and what are all the accessories needed to do this?
My apologies - I should have given the path to the utility as it may not be immediately obvious. If in doubt, though, you can search the Help. This utility is documented at:Help > CrossCore® Embedded Studio 1.1.0 > Integrated Development Environment > Debugging Executable Files > Working with Images > Image Viewer
The Image Viewer can be found via 'Window: Show View: Other: Debug: Image Viewer'.
This depends on your exact requirement. If you just want to be able to examine a frame, the CrossCore Embedded Studio tools include an "Image Viewer" utility that can be used to display a region of memory in a variety of image formats (greyscale, RGB, YUV, etc).
If you actually need a live output to a monitor, we have a "Video Encoder Extender Board" available for the BF609 that can output over a variety of interfaces. More details are available on the product page, which can be found through the Blackfin EZ-KIT Lite page.
I was unable to find the 'Image viewer' utility in Crosscore Embedded Studio 1.0.3. Can you tell me the path..?
Do I need to apply the patch to get that on CCES..?
Thanks a lot for your reply.
Actually the main intention for the question is.
I have ported an Image Processing Algorithm which was developed on Visual Studio to the Blackfin via CrossCore Embedded Studio.
Now I have stored .bmp images on my Disk which, I want to convert to grayscale Image and then want to feed those raw pixel to my Algorithm running on the Blackfin.
I have gone through the Image Viewer window as per your suggestions, but could'nt understand How can I feed those bmp images in form of raw pixels to the Algorithm?
Can it be done via Image Viewer?
Indeed it can be done. When you are configuring the Image Viewer there are four sections: Image Source, Memory Info, Image Info and Options. If you are using a File as the source, you can then configure the Memory Info section for the buffer you would like that image to reside in. Then, simply enable the "Write to memory" option to copy the Image contents into memory.
Thanks for your input.
I have tried to write an .bmp to Blackfin Memory and it is done correctly.
But our requirement is something like this.
1. We have set of 30 images stored in the hard disk. So each time our algorithm is called, a buffer of raw pixels converted from the .bmp image has to be feed into it.
No, unfortunately this cannot be achieved with the image viewer - the processor must be halted for the image viewer to write a new image to memory, and doing so is a manual process (i.e. you cannot automate it to halt, load the next image, and run again without any user input).
You will need to feed your data to the target some other way. One solution, for example, may be to use the Image Viewer to load each of your BMP images, then use the Memory Browser window to dump the converted/raw contents from the memory buffer. Do this for each of your files, then program those files to Flash memory. In your application, read the next image from flash memory into the internal buffer, as required.
Thanks for the information..
I have an another doubt..
The ADSP EZ kit has 32 Mb SPI flash, Parallel flash and 32Mb burst flash..
Among these memories, Which one we can use..?
You could use either for the storage of your data, however I would suspect the Parallel (Burst) flash on SMC0 on the EZ-KIT Lite would be a better solution than the SPI flash, as the parallel flash is memory-mapped, and directly accessible by the core. The SPI device, by comparison, must be accessed indirectly (e.g. to read you have to send a read command to the device, then read the response for the value contained therein).
Thanks for the information.
Another thing i want to know..
Actually i need to use the OpenCV functions like cvCreateImage, cvRectangle, cvLine, cvSaveImage in the algorithm which will be run on CCES.
Can I have the OpenCV libraries on my CCES..? or Is there any other alternative libraries to achieve the same functionality..?
I am aware of customers having ported OpenCV to run on their Blackfin targets, however we do not provide a port of this library.
We do, however, have an Image Processing Toolbox software module which covers a number of OpenCV-like API. More information is available here:
I installed ImageProcessingToolbox-BF-Rel2.3.0 and tried to run an example program on my target board.
Am getting error if i build the program. The error is as shown below.
[Error li1021] The following symbols referenced in processor 'CORE_0' could not be resolved:
'ADI_USBD_DEV_BF_MUSBMHDRC_API [_ADI_USBD_DEV_BF_MUSBMHDRC_API]' referenced from '..\..\..\..\Support-Modules\usbio-cces\bf609\lib\libucusbd.dlb[usbd_drv_adi.doj]'
Linker finished with 1 error
cc3089: fatal error: Link failed (code:1)
make: *** [bayer_bf609.dxe] Error 1
If i run the given pre-built .dxe (without build the program),
I got the debug messages as shown below and it is stopped after this.
Core clock: 500000000 Hz
System clock: 250000000 Hz
Core 0 system clock: 125000000 Hz
Core 1 system clock: 125000000 Hz
I have gone through the readme file in the example program.
There it is mentioned that,
Hardware/Tools Used: USB_ICE
P1 : Not Connected (Default)
ZP1: Not Connected (Default)
But, am using Debug agent which is mounted on P1 and ZP1.
I tried it for other programs also. But getting same problem.
Please help me to solve this.
If you have any questions relating to the use of the Software Modules, I recommend posting them in the Software Modules community:
Software Modules and SDKs
I also recommend using separate threads for separate issues - this thread has already been marked as answered, and any additional issues you post here will be less visible the engineers that are best positioned to answer your questions.
Ok.. Thank you very much Craig..
Retrieving data ...