This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

libhwa2.dll

Other Parts Discussed in Thread: TMS320C5505, TMS320C5515, TMS320VC5505


Good morning,

This is follow-up on my recent post:
macros_hwa_remap.inc
http://e2e.ti.com/support/dsp/c5000/f/109/t/289912.aspx


Based on recommendation in sprabb6b.pdf
FFT Implementation on the TMS320VC5505, TMS320C5505, and TMS320C5515 DSPs
http://www.ti.com/lit/an/sprabb6b/sprabb6b.pdf

and using:
3441.lpva200.inc
2055.macros_hwa_remap.inc

I was able to build a project around hwafft.asm, and execute hwafft_16pts().

When executed, I am getting (console) message:
Could not find libhwa2.dll

multiple times, then hwafft_16pts() terminates with return value:
out_sel = OUT_SEL_DATA

But the content of the output buffer does not look as expected (I first tested the same input with rfft() from 55xdspx_r3.lib from c55_dsplib_03.00.00.03 to get "reference" FFT output)
Also, I followed instructions to properly align all buffers:
abs. value/
byte addr   word addr   name
---------   ---------   ----
            00011000    _data_buf
            00011800    _scratch_buf
            00012000    _data_br_buf


            
            
Please advice, how to obtain this libhwa2.dll ?



thanks & regards,
Dubravko


  • Dubravko,

    I've never heard of a build problem due to a .dll file... Can you paste the console output?

    I found one file named libhwa2.dll on my PC under a drivers directory that appears to be related to CCS (but not in the CCS dir). Attaching it here anyway... The function of this file is a question better asked on the CCS forum.

    http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/109/2260.libhwa2.dll

    I would study the attached source code to compare syntax... You can import the CCS3.3 project into CCS5 with a little effort.

    7043.hwafft.zip

    Hope this helps,
    Mark


  • Mark good morning,

    thanks for the files, and such a prompt response.

    I placed "libhwa2.dll" under:
    C:\Texas Instruments\ccsv4\common\bin

    and the previous error/message "Could not find libhwa2.dll" is gone, and there are no further error/system messages.

    I printf()-ed content of the buffer that should contain FFT result, but it is all -1, i.e. each Int32 location (complex pair of 16-bit Re + 16-bit Im) contains:
    0xFFFFFFFF

    I will now look into hwafft.zip (looks more structured/organized than sprabb6b.zip), and try build/test from there. I will keep this thread open for now, hope I can get results by EOD today, then I will update.

    thanks & regards,
    Dubravko