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.

problem in using Bios in CCS v4.1.2

Other Parts Discussed in Thread: TMS320C6742Hi everybody: I try to use CCSv4.1.2 instead of CCS v3.3 in TI DSP TMS320C6742. Now, I have finished the test code to realize the control of the C6742 in CCS v4.1.2 without DSP/BIOS, However, our project need to use the DSP/BIOS. My problem is that: when i create a new project with DSP/BIOS in CCS V4.1.2, and add the files (expect for *.cmd)which are created in ccs V4.1.2 project without DSP/BIOS, i find the code can run but the answer is error. Even the simplest code "printf("hello world\n")" can not been executed correctly. The "hello world" does not been printed. As a result, i hope get the help to find where is the error, if i need further configuration to DSP/BIOS,Thanks.
  • Hi Yu,

    Do the DSP/BIOS examples that are shipped with CCS work for your device?

    Once you start using DSP/BIOS, you need to handling preemption issues which the non-DSP/BIOS project isn't aware of. For example, I'd use LOG_printf instead of printf. The LOG_printf is faster and re-entrant safe to be used with tasks; however, it stores the print statements in a trace buffer when needs to be read by the host while the core has been halted.

    Note that interrupts are also handled differently using HWI and SWI objects. Have you gone over the DSP/BIOS user guide (SPRU423H)?

    I would start with a working DSP/BIOS example and then incrementally add your portions of code to see where things start to fail. The DSP/BIOS User guide has a Instrumentation chapter with tools that can help you debug problems in general. And if you run your code from within one task, then it your application should behave similar to your non-DSP/BIOS project.