06-08-2009 08:30 AM
Hi all,
Not sure if this is the right forum, but maybe someone can offer suggestions. We want to communicate with a Blackfin processor through USB and we do NOT have the embedded module. Can you offer places to start such as tutorials, manuals, etc.? Or maybe even LabVIEW, LabWindows, or C code? Thanks.
06-09-2009 02:12 PM
Hey Redseal94,
Are you wanting to program/download code to the flash of the Blackfin or communicate with code that is already running on the Blackfin?
06-09-2009 02:20 PM
Not sure if this answers your question, but I want to do tasks such as:
- Switch the output of a line from high to low. I can do this using VDSP++ using something like
adi_flag_Set(CS_DA);
- Control the SPI lines. For instance, we have an AD5628 12 bit DAC interfaced to the SPI_MOSI line. How could I output the max analog voltage to say Channel F?
06-09-2009 06:13 PM
Hi Redseal,
In order to do this from LabVIEW you will need to get the LabVIEW Embedded Module. Please let me know if you would like me to have someone contact you about getting this Module.
06-10-2009 07:46 AM
06-10-2009 09:48 AM
06-10-2009 11:10 AM
Hey,
Check out the LabVIEW Embedded Module for Blackfin Processors 2.5 Help. This might be a good starting point.
Also, if you want to let me know the exact errors you are getting I can look into why they might be happening.
06-10-2009 03:31 PM - edited 06-10-2009 03:32 PM
Here is the error I get when I try to use any USB open.
*** compiler output ***
C:\WINDOWS>"C:\Program Files\Analog Devices\VisualDSP 5.0\ccblkfn.exe" -g -c -proc ADSP-BF527 -threads -labview -implicit-pointers -I. @.\prjHeaders.lst -DCHeadless -D__vdk -D__USE_FFT_REL45__ -Wsuppress 0001,1661 "Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application\BF_USB_Bulk_Open.c" @.\prjOptions.lst
'\\aries\users\rdresher\My Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
problem opening file `.\prjHeaders.lst'
problem opening file `.\prjOptions.lst'
"Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application\BF_USB_Bulk_Open.c", line 18: cc0005: fatal error:
could not open source file "LVCGenIncludes.h"
#include "LVCGenIncludes.h"
^
1 catastrophic error detected in the compilation of "Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application\BF_USB_Bulk_Open.c".
Compilation terminated.
cc3089: fatal error: Compilation failed
*** linker output ***
06-10-2009 03:59 PM
Hey,
What hardware do you have? Do you have the BF 527 EZ Kit? If so, please try running one of the BF 527 example vis.
We do have some USB VIs for BlackFin, but I am not sure if they are supported for the BF527. We are currently investigating this.
06-10-2009 09:01 PM