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:

Respuestas (2)

Kaustubha Govind
Kaustubha Govind el 6 de Jun. de 2011

0 votos

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 comentarios

cyberdyne
cyberdyne el 15 de Jun. de 2011
Yes. But the process must be compile by VisualDSP++ syntax that is a little different than C (is a targetted C for Blackfin)
Kaustubha Govind
Kaustubha Govind el 16 de Jun. de 2011
Alessandro: I thought what you wanted was just the generated C files, without it being compiled?
cyberdyne
cyberdyne el 16 de Jun. de 2011
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".
Kaustubha Govind
Kaustubha Govind el 16 de Jun. de 2011
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".
cyberdyne
cyberdyne el 11 de Jul. de 2011
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).

Iniciar sesión para comentar.

djilali
djilali el 8 de Jun. de 2011

0 votos

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 comentario

cyberdyne
cyberdyne el 15 de Jun. de 2011
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 ?

Iniciar sesión para comentar.

Preguntada:

el 5 de Jun. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by