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.

CCS v4: Getting something to display in the console



I am using CCS v4.0.2 and a EVM C6472 board. I am trying to create a DSP/BIOS project that will have a periodic task running. As a starter, I'd like to see some message repeatedly displayed in the "console" part of CCS. I was able to get messages to display with a printf on the "FPGA LED test" sample project, for example. However, that project is not a DSP/BIOS project.

 

So, after creating a "Hello world" type program in a DSP/BIOS support, I put a printf in "main". The project loaded without errors, but after loading the program on one of the cores, all I got was a message "C64XP_2: RTDX: RTDX program mode is JTAG" in the console. I also put a printf in a function and set it to run with the "periodic function manager" in the TCF file, same result. Seems like I cannot get anything to display with a DSP/BIOS project, although I had no problem with a non-DSP project.

Any suggestions?

  • Andrey said:
    Seems like I cannot get anything to display with a DSP/BIOS project, although I had no problem with a non-DSP project.

    Do you mean to say that you had no problem with a non-DSP/BIOS project, or are you talking about using one of our ARM processors?

    I strongly encourage you to upgrade your CCSv4 to the latest version. I seem to recall some issues, but could not find any references when I did a quick search just now.

    I will also recommend moving this thread to the Code Composer Studio forum since it is really a question about the tools and not the DSP. With your permission I will have your thread moved there.

  • Hi Andrey,

    The prinfts do not turn up on the CCS console if the heap/stack size are no enough. Please go through this link.

    Can you try increasing the heap size in the DSP/BIOS .tcf file?

    Try adding following to the .tcf file:

    bios.enableMemoryHeaps(prog);

    // Create a heap in internal memory
    bios.LL2RAM.createHeap             = true;
    bios.LL2RAM.heapSize             = 0x00030000;
    bios.setMemDataHeapSections(prog, prog.get("LL2RAM"));   

     

    Hope this helps.

    Regards,

    Amit