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.

EZdsp Connected Audio Framework use.

Hello,

I'm trying to compile the project "CSL_USB_IsoFullSpeedExample_ezdsp_Out" for my EZDSP5535 board with memory model "huge"
The problem is that the ASRC lib seem to be compiled with different memory model so it can't link.
Can we get source file of ASRC or the ".lib" for huge memory model?

Secondly i have another question: i successfully run the project (with large memory model) but i cannot find where the character
for the LCD are. In "lcd_osd.c" we find this:

#pragma DATA_SECTION(CharGen_6x8, ".charrom")
Uint16 CharGen_6x8[256*3];

So the char must be set in CharGen_6*8 but it seem that's it is never initialized...
Where in the project are those character? 

Thank you very much for your help.

Max 

  • CharGen_6*8 does not have to be initialized because it is called by printchar; printchar is called by printstring. A known character string, for example, ti, is passed to printstring.

    Please trace through the program.

    Regards.

  • Hello,

    I already trace through the program! Yes "printchar" is called by "printstring" with a known string.
    For example if i want to print "TI" it call "printchar" twice: one for "T" and one for "I".
    But then in order to display each letter on the LED display, "printchar" call "OSD9616_send" which
    send data which must represent the character. Those data normally was in "CharGen_6*8" but it's not the case.
    If i generate my own "CharGen_6*8" table of char, it works but normally in the original demo it must works otherwise
    each people must generate his own table of char???

    I think that i missed something and that "#pragma DATA_SECTION(CharGen_6x8, ".charrom")" say that character are in the
    "charrom" section. But i cannot find this section of mermory or something which initialize this section.


    Thank you for your help

    Max

  • Hi,

    It is from C5535 ROM. CharROM is linked in the UsbAcFullSpeed.cmd file.

    MEMORY
    {
    CROM (RX) : origin = 0xfe0000, length = 0x000600 /* 1536B */
    }

    SECTIONS
    {
    .text : > SARAM
    .switch : > DARAM
    .cinit : > DARAM
    .pinit : > DARAM
    .printf : > SARAM
    .const : > SARAM
    .data : > SARAM
    .cio : > DARAM

    .bss : > SARAM
    .ping_pong_i2sTxLeftBuf : block(0x10000) {} > SARAM
    .pbAsrcInFifo : > DARAM
    .recAsrcInFifo : > DARAM
    .pbAsrcHbCircBuf : > DARAM
    .recAsrcHbCircBuf : > DARAM

    .charrom : > CROM
    }

    Regards,

    Hyun

  • Hello,

    I cannot find this ".cmd" file. I just have "VC5505_CSL_BIOS_cfg.cmd" in "Debug" directory of my project.
    So my ".cmd" file is generated by ".tcf" file and in this file i haven't got the ROM memory section:

    When i try to generate another ".tcf" file for DSP/BIOS and EZDSP5535 Template i have only one choice:

    In the original project i cannot see any separate "cmd file" which can define the CROM memory.
    Can I try to add it manually in a separate user ".cmd" file?

    Can you post your ".cmd" file file please?

    Thank you,

    Max

     

  • Hello,

    I take your code of ".cmd" file and put it in my project in a ".cmd" file,
    in the ".TCF" file in "MEM" Properties at tab "Compiler Sections" i check the option "User .cmd File For Compiler Sections".
    Now i have my LCD which works!

    Thank you very much.

    Max