Forums

how could I port my multithread programme to the blackfin533

Started by miracleone May 4, 2006
I have to port my programme to the blackfin533, but I just know little
about dsp tech, now I can do some simple simulation on visual dsp4.0, but
I found the multithread(win32 API) code is difficult to ported, because
there are so many lib or define that can not be supported by blackfin,
what shall I do? thank you



miracleone wrote:

> I have to port my programme to the blackfin533, but I just know little > about dsp tech, now I can do some simple simulation on visual dsp4.0, but > I found the multithread(win32 API) code is difficult to ported, because > there are so many lib or define that can not be supported by blackfin, > what shall I do? thank you > > >
Do significant rewriting. If you need to have multiple threads to make the application work then find an OS that will work on the Blackfin. If you need to make the thing work in real time then make it a real time OS, and maybe bone up on embedded systems practices a bit. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Posting from Google? See http://cfaj.freeshell.org/google/
miracleone wrote:

> I have to port my programme to the blackfin533, but I just know little > about dsp tech, now I can do some simple simulation on visual dsp4.0, but > I found the multithread(win32 API) code is difficult to ported, because > there are so many lib or define that can not be supported by blackfin, > what shall I do?
You really do need a miracle. My advice: pay a DSP pro to do the work for you. Regards, Andor
>I have to port my programme to the blackfin533, but I just know little >about dsp tech, now I can do some simple simulation on visual dsp4.0,
but
>I found the multithread(win32 API) code is difficult to ported, because >there are so many lib or define that can not be supported by blackfin, >what shall I do? thank you > > > >
for some reason, I have to do it myself, what should I pay attention to ? I found the multithread examples on VDSP, but that is too simple, my project need some synchronization and STL support, //////////////////////////////////////////////////////////////////////// and I found some weired things ,when I put some functions(with float-point return value) in library, and use them when I need them through .dlb files, I found the return value is always not right, but when I put the functions in the main project, it will work well, what's the reason?
You can use VDK the rtos avaliable with the VDSP for the multithreaded
application, in which the main wrapper will be in C++ and all the
functions can be in C

Take a look at http://blackfin.uclinux.org/ If you need hard-real time,
check on adeos, although I can't vouch for it.