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.

【开发例程共享】Keystone II DSP软件开发包

Other Parts Discussed in Thread: 66AK2H12

附件是KeystoneII DSP软件开发例程,请大家根据其中doc文件夹的说明使用相关例程。

K2_STK_DSP_v1.1.zip
  • Hi,Andy:

        硬件:66AK2H12

        软件:CCS6.1

        DSP系统:BIOS

         ARM系统:SMP-LINUX

        TI针对他们的DSP程序优化,可以做线性汇编优化或并行汇编优化,CCS中可以设置一些参数,比如产生.asm文件来帮助开发者更好的设计汇编代码,从而达到算法的深度优化。

        我想请教你的问题就是:

        在66AK2H12的ARM端开发中,假如我想做算法的汇编优化

        Q1:CCS有没有提供类似的一些机制来帮助开发者完成ARM汇编的深度优化?

        Q2:TI有没有提供ARM汇编优化的参考代码?比如H264的ARM编解码汇编代码


        谢谢!!!

      

          Best Regards

               Gavin

  • 不错啊,多谢分享

    Best Regards

    William.dong@enea.com

  • 提供的例子里面 找不到 GEL 文件  我DEBUG的时候会出现 错误 

  • 对于初学者,要学习keyStone2,是否需要EVM板?或如何学习keyStone2? 请各位给些建议,谢谢!

  • K-II的论坛,怎么没人解答呢?

  • 您好,谢谢您分享的例程。我的开发板买了很久都不知道怎么学,我用您的例程跑了第一个程序Timer,在此,有几个问题想问您:

    我用的是EVMK2E开发板,芯片是c66ak2e05.

    1、我的程序运行之后和文档里的结果不一致,具体如下,请问是我哪出问题了,为什么所有的counter都是0 ?

    [C66xx_0] Initialize DSP main clock = 122.88MHz/4x39 = 1198MHz

    Enable Exception handling...
    a pulse will be generated on TIMO0...
    a pulse was generated on TIMO0
    clocks will be generated on TIMO0...
    clocks were generated on TIMO0
    start watch-dog timer...
    service watch-dog 1 times, at time counter = 0
    service watch-dog 2 times, at time counter = 0
    service watch-dog 3 times, at time counter = 0
    service watch-dog 4 times, at time counter = 0
    service watch-dog 5 times, at time counter = 0
    service watch-dog 6 times, at time counter = 0
    service watch-dog 7 times, at time counter = 0
    service watch-dog 8 times, at time counter = 0
    service watch-dog 9 times, at time counter = 0
    service watch-dog 10 times, at time counter = 0
    service watch-dog 11 times, at time counter = 0
    service watch-dog 12 times, at time counter = 0
    service watch-dog 13 times, at time counter = 0
    service watch-dog 14 times, at time counter = 0
    service watch-dog 15 times, at time counter = 0
    service watch-dog 16 times, at time counter = 0
    service watch-dog 17 times, at time counter = 0
    service watch-dog 18 times, at time counter = 0
    service watch-dog 19 times, at time counter = 0
    service watch-dog 20 times, at time counter = 0
    service watch-dog 21 times, at time counter = 0
    service watch-dog 22 times, at time counter = 0
    service watch-dog 23 times, at time counter = 0
    service watch-dog 24 times, at time counter = 0
    service watch-dog 25 times, at time counter = 0
    service watch-dog 26 times, at time counter = 0
    service watch-dog 27 times, at time counter = 0
    service watch-dog 28 times, at time counter = 0
    service watch-dog 29 times, at time counter = 0
    service watch-dog 30 times, at time counter = 0
    stop servicing watch-dog, it will timeout and trigger NMI...

    2、还有,就是我load .out 文件后,提示发生异常,是怎么回事呢?

    Initialize DSP main clock = 122.88MHz/4x39 = 1198MHz

    External exception happened. MEXPFLAG[3]=0x20000000.
      Event 125: UMC_DMPA DMA memory protection fault for L2
      memory protection exception caused by master with ID 0 at 0x880000
      Supervisor Read violation
    NRP=0xc001968, NTSR=0x1000d, IRP=0xc0090a6, ITSR=0xd, TSCH= 0x1, TSCL= 0xd03b6b2c
     B3=0xc009204, A4=0x20110, B4= 0x1800000, B14= 0x802228, B15= 0x8011f0
    External exception happened. MEXPFLAG[3]=0x20000000.
      Event 125: UMC_DMPA DMA memory protection fault for L2
      memory protection exception caused by master with ID 0 at 0x888000
      Supervisor Read violation
    NRP=0xc001968, NTSR=0x1000d, IRP=0xc0090a6, ITSR=0xd, TSCH= 0x1, TSCL= 0xd03c50b7
     B3=0xc009204, A4=0x20110, B4= 0x1800000, B14= 0x802228, B15= 0x8011f0
    External exception happened. MEXPFLAG[3]=0x20000000.
      Event 125: UMC_DMPA DMA memory protection fault for L2
      memory protection exception caused by master with ID 0 at 0x890000
      Supervisor Read violation
    NRP=0xc001970, NTSR=0x1800d, IRP=0xc0090a6, ITSR=0xd, TSCH= 0x1, TSCL= 0xd03d33b0
     B3=0xc009204, A4=0x20110, B4= 0x1800000, B14= 0x802228, B15= 0x8011f0
    Exception happened at a place can not safely return!
    3、我是个菜鸟,如果方便的话,可不可以加您的qq或者邮箱,方便沟通问题。