2008-08-07 02:28:25     how can i make a project runnig on bf561 core b with visual dsp 4.5

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-08-07 02:28:25     how can i make a project runnig on bf561 core b with visual dsp 4.5

Leslie Li (CHINA)

Message: 60067   

 

Hi all

 

I create a project with visual dsp 4.5, it bases on bf561 core b.

 

the code is followed.

 

main()

{

    int a = 10, b;

    b = 2*a;

}

 

The link file is auto generated by visual dsp.

 

when I  build the project,  Build was unsuccessful. The error message is:

 

[Warning] This LDF was generated by the Startup Code/LDF wizard.  Any changes made to the LDF may be lost the next time the LDF is re-generated by the Startup Code/LDF Wizard.

.\NewProject_basiccrt.s

.\NewProject_heaptab.c

Linking...

[Warning pp0018] "NewProject.ldf":247 'OTHERCORE has not been defined. Shared symbols might not get resolved.'

 

[Warning pp0018] "NewProject.ldf":248 'Please consult Chapter 5 of the VisualDSP++ C/C++ Compiler and Libraries Manual.'

 

Preprocessor finished with 0 error(s) 2 warning(s)

 

 

[Warning li2060]  The following input section(s) that contain program code

        and/or data have not been placed into the executable for processor 'p1'

        as there are no relevant commands specified in the LDF:

 

        libio561y.dlb[primio_atomic_lock_data.doj](primio_atomic_lock)

        libio561y.dlb[primio_atomic_lock_data.doj](program)

        libc561y.dlb[mc_wa_06000047.doj](primio_atomic_lock)

 

 

[Error li1060]  The following symbols are referenced, but not mapped:

        '_primIOaccess' referenced from libio561y.dlb[xprim_close.doj](program)

        '_primIOaccess' referenced from libio561y.dlb[xprim_open.doj](program)

        '_primIOaccess' referenced from libio561y.dlb[xprim_read.doj](program)

        '_primIOaccess' referenced from libio561y.dlb[xprim_seek.doj](program)

        '_primIOaccess' referenced from libio561y.dlb[xprim_write2.doj](program)

        '___var_wa_06000047' referenced from libio561y.dlb[xprim_close.doj](program)

        '___var_wa_06000047' referenced from libio561y.dlb[xprim_open.doj](program)

        '___var_wa_06000047' referenced from libio561y.dlb[xprim_read.doj](program)

        '___var_wa_06000047' referenced from libio561y.dlb[xprim_seek.doj](program)

        '___var_wa_06000047' referenced from libio561y.dlb[xprim_write2.doj](program)

 

Linker finished with 1 error and 1 warning

cc3089: fatal error: Link failed

Tool failed with exit/exception code: 1.

Build was unsuccessful.

 

when I change core b to core a or core a/b, build is successful.

 

what wrong with it ?

 

thank you very much

 

 

TranslateQuoteReplyEditDelete

 

 

2008-08-07 02:49:51     Re: how can i make a project runnig on bf561 core b with visual dsp 4.5

Yi Li (CHINA)

Message: 60068   

 

Sorry, VDSP is not supported on this forum.

QuoteReplyEditDelete

 

 

2008-08-07 14:01:13     Re: how can i make a project runnig on bf561 core b with visual dsp 4.5

Robin Getz (UNITED STATES)

Message: 60114   

 

Leslie:

 

Just to be clear - please refer to:

 

https://docs.blackfin.uclinux.org/doku.php?id=visualdsp:faq#can_i_run_linux_on_core_a_and_a_vdsp_object_on_core_b_of_a_bf561

 

As Yi stated - what you are trying to do is not recommended, nor supported. You are 100% on your own if you want to try this.

 

Our advice - use gcc.

 

-Robin

Attachments

    Outcomes