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.

TMS320C6745 DSPBIOS problem

Other Parts Discussed in Thread: TMS320C6745

Hi,

I used OMAPL137EVM with CCS4 and DSPBIOS. Now I try to launch my own board based on TMS320C6745BPT.

I have communication via XDS100v2 with CCS4. My board doesn`t have external memory. I run easy program that

blinks LED`s via GPIO in main();. In doc. SPRS377D rev. 082010 I found that GPIO start address differ from C6747-

 0x01E25000 and 0x01E26000. Is it truth? I use evmomapl137.h and GPIO work properly (0x01E26000).

Next I tryed to run DSPBIOS using evm6747 platform template. I deleted SDRAM and L3_CBA_RAM, created

CLK0 (Timer1) and TSK0 driven by PRD. My program hung up, cant start TSK0 and CLK0. What do I wrong?

Best regards.

Adam

  • Hi Adam,

    Which version of BIOS are you using?  Are you using the PSP drivers? (if yes, which version of PSP drivers?)

    Adam10676 said:

    In doc. SPRS377D rev. 082010 I found that GPIO start address differ from C6747-

     0x01E25000 and 0x01E26000. Is it truth? I use evmomapl137.h and GPIO work properly (0x01E26000).

    based on that document, this looks correct.  However, I'll ask the PSP drivers team to confirm this.

     

    Adam10676 said:

    Next I tryed to run DSPBIOS using evm6747 platform template. I deleted SDRAM and L3_CBA_RAM, created

    CLK0 (Timer1) and TSK0 driven by PRD. My program hung up, cant start TSK0 and CLK0. What do I wrong?

    Can you clarify on this?  Do you mean that you are running on the evm6747 hardware, or are you trying to get your app for your custom "TMS320C6745BPT" based hardware built using a modified evm6747 platform that has external memory removed?

    Steve

  • Hi Steve,

     

    1. I am using DSPBIOS 5.33.05.

    2. I don`t use the PSP drivers.

    3. I am not running on the evm6747 hardware. I designed PCB with TMS320C6745BPT no external SDRAM and I am trying to launch my device. I have experience with EVM OMAPL-137 and now I am trying to transfer my programs from EVM (only DSP 6747) to my PCB with TMS320C6745BPT.

    4. I cant find TMS320C6745 in the DSPBIOS Configuration Tool, that why I am using ti.platforms.evmOMAPL137 or ti.platforms.evm6747 with my modification (SDRAM deleted)

    Adam

  • Adam,

    You are definitely on the right track here.  I think the evm6747 is the platform you should use.

    You will want to have utils.loadPlatform("ti.platforms.evm6747"); in your *.tcf file.

    Then you can use the graphical configuration tool (from within CCS) to delete external memory segments (which you already did) and add/modify the internal memory segments to match those of the 6745.

    You also need to make sure the clock speed is correct for the 6745 too.

    Have you seen the "DSP/BIOS 5.30 Textual Configuration
    (Tconf) User’s Guide" (spru007h.pdf)?

    The chapter "4.2 Creating Custom Platform Files" may be of help to you, too.  But, I'm hoping you can just do the above steps to get it working for you.

  • Hi Steven,

    Next week I try create custom platform files may be it help..

    Adam

  • Hi Adam,

    I heard from the PSP drivers team regarding the GPIO:

    "The GPIO base address for C6747 is 0x01E26000. [this is being used in the PSP 1.30.01]

     

    The GPIO base address fro C6745 is 0x01E25000 [As per the document, http://www.ti.com/lit/ds/symlink/tms320c6745.pdf]

     

    Regards,

    Sandeep K"

     

    Steve

  • Hi Steve,

    My program running on C6745 hungs up with GPIO base address 0x01E25000. I thing C6745 and C6747 have got same GPIO addresses - 0x01E26000 is correct.

    Regards, 

  • Hi Steve,

    Success, tasks and clk objects are running with DSPBIOS and C6745. But I have another problem. My GPIOs work two times slowlier then on C6747 with 24Mhz clock.

    With C6747 GPIOs changing from HI to LOW takes 250ns, but with C6745 500ns. I use CCS4 in release mode and drive GPIOs inside TSk  and CLK objects. What is wrong?

    Adam  

  • What rate is the clock on the 6745 running?

  • Hi Steven,

    External colck rate is 24Mhz, and 6745 PLL is running default, I don`t set up PLL registers. I don`t use GEL file - I`m not sure how it check in CCS4.

    Adam, 

  • Steven,

    I found solution, I copy PLL_Setup() from GEL file to my program. I have GPIOs swiching time better then on 6747 - less then 100ns. Now my 6745 is running at 375Mhz. I thing 6747 and 6745 have got different PLL registers default set up. 

    Adam.