Blackfin and Realtime WS

Hi,
I've tried to generate VisualDSP++ code (only, without simulation or execution), using Target Preference Block (custom board block).
When i run "Generate Code" it returns this error:
The call to vdsplink_ert_make_rtw_hook, during the entry hook generated the following error:
Error using ==> feval
Error using ==> LinkVDSP at 23
LinkVDSP: Could not connect to the board specified in Target Preferences block.
The build process will terminate as a result.
and the Command Window stops with the message:
##Connecting to VisualDSP++....
Is it because it is not physically connected to the board (pc-board)? There is the way to generate code simply as .c file ?
PS: I've used this guide:

Answers (2)

Kaustubha Govind
Kaustubha Govind on 6 Jun 2011

0 votes

Have you tried checking the "Generate code only" box in the Real-Time Workshop or Code Generation pane in the Configuration Parameters Window? This will prevent the build and download process from executing.

5 Comments

Yes. But the process must be compile by VisualDSP++ syntax that is a little different than C (is a targetted C for Blackfin)
Alessandro: I thought what you wanted was just the generated C files, without it being compiled?
I need to compile the simulink model directly in the DSP like explained in the webinar "Targeting Analog Devices Blackfin and SHARC processors from MATLAB".
I haven't looked at the webinar, but I presume you want to generate a CCS project and build it, but do not want to download it to the target? In that case, you can open your model's Configuration Parameters window and browse to the Real-Time Workshop > IDE Link pane. Under "Build Action", you probably have "Build_and_execute" selected. Change this to "Build".
I've done what you suggest, but it retuns the same error and stops to "Connecting to VisualDSP++". I wonder if it's a problem of VisualDSP++ version (i've installed 4.0 and 4.5, maybe it needs 1.0(???)) or conflict between these two versions. Yes, I don't want to download block diagram model into DSP, but I want make it write C-code using Target Library (like when you program by VisualDSP++ environment).

Sign in to comment.

djilali
djilali on 8 Jun 2011

0 votes

Because you have experience in this fild Can you please, give same links or presentations (dimo) or documentations ...for converter programs from Sumilink-MATLAB into visualDSP (for ADSP-BF). Thank you

1 Comment

In Webinars Section of Matlab Central there is a demo-video.
http://www.mathworks.com/company/events/webinars/wbnr38544.html?id=38544&p1=628336988&p2=628336994
If you understand how it works, can you explain me it better please ?

Sign in to comment.

Asked:

on 5 Jun 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!